0% found this document useful (0 votes)
18 views

Chemistry API Docs

This document summarizes a public JSON API that provides information about chemical elements. The API has two endpoints - one that returns information on all elements, and another that returns details on a specific element by name. Sample requests and responses are shown for each endpoint.

Uploaded by

test2324
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Chemistry API Docs

This document summarizes a public JSON API that provides information about chemical elements. The API has two endpoints - one that returns information on all elements, and another that returns details on a specific element by name. Sample requests and responses are shown for each endpoint.

Uploaded by

test2324
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Chemistry API Docs:

This is a public JSON based API,which provides information about chemical


elements.Ideal to use in any of your Chemistry related projects.It works fine with
java,python and Javascript.
Base URL: https://chemistrydata.herokuapp.com/

Sl Endpoints Sample Response


n
o

1. /elements

This endpoint,returns information


about all the elements at one time.

URL:
https://
chemistrydata.herokuapp.com/
elements

2. /elements/:element {
"appearance": "colorless gas",
This endpoint,returns JSON "atomic_mass": 1.008,
information about a specific "boil": 20.271,
elements.Just search the element "category": "diatomic nonmetal",
you want to search. "color": null,
"density": 0.08988,
Sample URL: "discovered_by": "Henry
https:// Cavendish",
chemistrydata.herokuapp.com/ "melt": 13.99,
elements/Hydrogen "molar_heat": 28.836,
"named_by": "Antoine Lavoisier",
"number": 1,
"period": 1,
"phase": "Gas",
"source":
"https://en.wikipedia.org/wiki/Hydr
ogen",
"spectral_img":
"https://en.wikipedia.org/wiki/File:H
ydrogen_Spectra.jpg",
"summary": "Hydrogen is a
chemical element with chemical
symbol H and atomic number 1.
With an atomic weight of 1.00794 u,
hydrogen is the lightest element on
the periodic table. Its monatomic
form (H) is the most abundant
chemical substance in the Universe,
constituting roughly 75% of all
baryonic mass.",
"symbol": "H",
"xpos": 1,
"ypos": 1,
"shells": [
1
],
"electron_configuration": "1s1",
"electron_affinity": 72.769,
"electronegativity_pauling": 2.2,
"ionization_energies": [
1312
]
}

You might also like