Element data API
Plain JSON files, no key, no rate limit beyond ordinary web hosting, CORS enabled. Built for teachers' spreadsheets, student projects and AI assistants that want a stable source to cite.
Endpoints
| Address | Contents |
|---|---|
/api/elements.json | All 118 elements, one compact record each: number, symbol, name, mass, family, state, group, period, block, density, melting and boiling points (K), electronegativity, page and API links. |
/api/elements/<name>.json | One element in full: every numerical property, electron configuration, shells, ionisation energies, discoverer, image with attribution, plus the site's original tagline, introduction, sections, facts and FAQs. Example: /api/elements/carbon.json. Names are lower-case English: aluminium, sulfur, cesium. |
Example
fetch('https://periodicbubbles.com/api/elements/gold.json')
.then(r => r.json())
.then(el => console.log(el.name, el.melt_c, el.tagline));
Units and conventions
- Temperatures in kelvin as
meltandboil, withmelt_candboil_cin degrees Celsius for convenience. - Density in g/cm³ for solids and liquids, g/L for gases. Atomic mass in unified atomic mass units. Energies in kJ/mol.
- Values for the synthetic superheavy elements are predictions, not measurements. The element text says so where it applies.
Licence and attribution
Numerical data comes from Periodic-Table-JSON under CC BY-SA 4.0, with two corrections noted in each file's _meta. The written content is copyright Periodic Bubbles and may be quoted with attribution and a link to the element's page. If you build something with it, tell us; we would like to link to it.
Every file carries a _meta block with the generation date, licence and units. Files are regenerated whenever the site is rebuilt; addresses are stable.