Chemical Elements API
EducationMAINTAINED1 token / call

Chemical Elements API

All 118 chemical elements with NIST properties: mass, configuration, electronegativity, melting points and more

The periodic table as an API, from NIST data via PubChem (public domain). All 118 elements with the properties that matter: atomic mass, electron configuration, electronegativity (Pauling), van der Waals radius, ionization energy, electron affinity, oxidation states, standard state, melting and boiling points (Kelvin), density, CPK display color, discovery year, group block (alkali metal, noble gas, lanthanide...) — plus the derived period (1-7) and IUPAC group number (1-18, correctly NULL for lanthanides and actinides). Look elements up by atomic number, symbol or name (Au, gold and 79 all resolve — 196.96657 u, melts at 1337.33 K, flanked by its neighbors platinum and mercury). Slice the table any way a chemistry app needs: group=18 returns exactly the seven noble gases, period=2 returns Li through Ne, state=Liquid returns exactly bromine and mercury, group_block=Alkali metal returns the six alkalis. Every response carries an explicit units object so nobody guesses Kelvin vs Celsius. Education platforms, chemistry homework tools, quiz games, lab software, science content — the reference dataset at one token per call.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 1 token per call, so the free plan covers about 500 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "ok": true,
  "units": {
    "atomic_mass": "u",
    "atomic_radius": "pm (van der Waals)",
    "ionization_energy": "eV",
    "electron_affinity": "eV",
    "melting_point": "K",
    "boiling_point": "K",
    "density": "g/cm3",
    "electronegativity": "Pauling scale"
  },
  "element": {
    "atomic_number": 79,
    "symbol": "Au",
    "name": "Gold",
    "atomic_mass": 196.96657,
    "cpk_color": "#FFD123",
    "electron_configuration": "[Xe]6s1 4f14 5d10",
    "electronegativity": 2.54,
    "atomic_radius": 166,
    "ionization_energy": 9.226,
    "electron_affinity": 2.309,
    "oxidation_states": "+3, +1",
    "standard_state": "Solid",
    "melting_point": 1337.33,
    "boiling_point": 3129,
    "density": 19.282,
    "group_block": "Transition metal",
    "year_discovered": "Ancient",
    "period": 6,
    "group_number": 11
  },
  "neighbors": [
    {
      "atomic_number": 78,
      "symbol": "Pt",
      "name": "Platinum"
    },
    {
      "atomic_number": 80,
      "symbol": "Hg",
      "name": "Mercury"
    }
  ]
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Chemical Elements API

  • Build an interactive periodic table for a classroom or chemistry app.

  • Look up atomic mass, oxidation states and electron configuration in a calculation tool.

  • Colour and group elements by block, period and IUPAC group number.

  • Generate quiz questions from a random element.

Chemical Elements API endpoints

Every endpoint with its parameters and a real example response.

GETData Sources

https://api-elements.dataandapis.com/v1/sources

This endpoint takes no parameters.

Example request

curl "https://api-elements.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "sources": [
    {
      "slug": "pubchem",
      "name": "PubChem periodic table",
      "publisher": "NCBI/NIST",
      "licence": "US government work (public domain)",
      "source_url": "https://pubchem.ncbi.nlm.nih.gov/periodic-table/",
      "file_url": "https://pubchem.ncbi.nlm.nih.gov/rest/pug/periodictable/JSON",
      "cadence": "static (new elements are rare events)",
      "record_count": 118,
      "retrieved_at": "2026-09-06"
    }
  ]
}

GETElement Lookup

https://api-elements.dataandapis.com/v1/elements/{key}

Path parameters

ParameterExample
keyAuRequired

Example request

curl "https://api-elements.dataandapis.com/v1/elements/Au" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "units": {
    "atomic_mass": "u",
    "atomic_radius": "pm (van der Waals)",
    "ionization_energy": "eV",
    "electron_affinity": "eV",
    "melting_point": "K",
    "boiling_point": "K",
    "density": "g/cm3",
    "electronegativity": "Pauling scale"
  },
  "element": {
    "atomic_number": 79,
    "symbol": "Au",
    "name": "Gold",
    "atomic_mass": 196.96657,
    "cpk_color": "#FFD123",
    "electron_configuration": "[Xe]6s1 4f14 5d10",
    "electronegativity": 2.54,
    "atomic_radius": 166,
    "ionization_energy": 9.226,
    "electron_affinity": 2.309,
    "oxidation_states": "+3, +1",
    "standard_state": "Solid",
    "melting_point": 1337.33,
    "boiling_point": 3129,
    "density": 19.282,
…
Show full response
{
  "ok": true,
  "units": {
    "atomic_mass": "u",
    "atomic_radius": "pm (van der Waals)",
    "ionization_energy": "eV",
    "electron_affinity": "eV",
    "melting_point": "K",
    "boiling_point": "K",
    "density": "g/cm3",
    "electronegativity": "Pauling scale"
  },
  "element": {
    "atomic_number": 79,
    "symbol": "Au",
    "name": "Gold",
    "atomic_mass": 196.96657,
    "cpk_color": "#FFD123",
    "electron_configuration": "[Xe]6s1 4f14 5d10",
    "electronegativity": 2.54,
    "atomic_radius": 166,
    "ionization_energy": 9.226,
    "electron_affinity": 2.309,
    "oxidation_states": "+3, +1",
    "standard_state": "Solid",
    "melting_point": 1337.33,
    "boiling_point": 3129,
    "density": 19.282,
    "group_block": "Transition metal",
    "year_discovered": "Ancient",
    "period": 6,
    "group_number": 11
  },
  "neighbors": [
    {
      "atomic_number": 78,
      "symbol": "Pt",
      "name": "Platinum"
    },
    {
      "atomic_number": 80,
      "symbol": "Hg",
      "name": "Mercury"
    }
  ]
}

GETList Elements

https://api-elements.dataandapis.com/v1/elements

Query parameters

ParameterExample
groupOptional
group_blockOptional
periodOptional
qgoldOptional
stateOptional

Example request

curl "https://api-elements.dataandapis.com/v1/elements?q=gold" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "total": 1,
  "units": {
    "atomic_mass": "u",
    "atomic_radius": "pm (van der Waals)",
    "ionization_energy": "eV",
    "electron_affinity": "eV",
    "melting_point": "K",
    "boiling_point": "K",
    "density": "g/cm3",
    "electronegativity": "Pauling scale"
  },
  "elements": [
    {
      "atomic_number": 79,
      "symbol": "Au",
      "name": "Gold",
      "atomic_mass": 196.96657,
      "cpk_color": "#FFD123",
      "electron_configuration": "[Xe]6s1 4f14 5d10",
      "electronegativity": 2.54,
      "atomic_radius": 166,
      "ionization_energy": 9.226,
      "electron_affinity": 2.309,
      "oxidation_states": "+3, +1",
      "standard_state": "Solid",
      "melting_point": 1337.33,
…
Show full response
{
  "ok": true,
  "total": 1,
  "units": {
    "atomic_mass": "u",
    "atomic_radius": "pm (van der Waals)",
    "ionization_energy": "eV",
    "electron_affinity": "eV",
    "melting_point": "K",
    "boiling_point": "K",
    "density": "g/cm3",
    "electronegativity": "Pauling scale"
  },
  "elements": [
    {
      "atomic_number": 79,
      "symbol": "Au",
      "name": "Gold",
      "atomic_mass": 196.96657,
      "cpk_color": "#FFD123",
      "electron_configuration": "[Xe]6s1 4f14 5d10",
      "electronegativity": 2.54,
      "atomic_radius": 166,
      "ionization_energy": 9.226,
      "electron_affinity": 2.309,
      "oxidation_states": "+3, +1",
      "standard_state": "Solid",
      "melting_point": 1337.33,
      "boiling_point": 3129,
      "density": 19.282,
      "group_block": "Transition metal",
      "year_discovered": "Ancient",
      "period": 6,
      "group_number": 11
    }
  ]
}

GETRandom Element

https://api-elements.dataandapis.com/v1/elements/random

This endpoint takes no parameters.

Example request

curl "https://api-elements.dataandapis.com/v1/elements/random" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "units": {
    "atomic_mass": "u",
    "atomic_radius": "pm (van der Waals)",
    "ionization_energy": "eV",
    "electron_affinity": "eV",
    "melting_point": "K",
    "boiling_point": "K",
    "density": "g/cm3",
    "electronegativity": "Pauling scale"
  },
  "element": {
    "atomic_number": 61,
    "symbol": "Pm",
    "name": "Promethium",
    "atomic_mass": 144.91276,
    "cpk_color": "#A3FFC7",
    "electron_configuration": "[Xe]6s2 4f5",
    "electronegativity": null,
    "atomic_radius": 236,
    "ionization_energy": 5.55,
    "electron_affinity": null,
    "oxidation_states": "+3",
    "standard_state": "Solid",
    "melting_point": 1315,
    "boiling_point": 3273,
    "density": 7.26,
…
Show full response
{
  "ok": true,
  "units": {
    "atomic_mass": "u",
    "atomic_radius": "pm (van der Waals)",
    "ionization_energy": "eV",
    "electron_affinity": "eV",
    "melting_point": "K",
    "boiling_point": "K",
    "density": "g/cm3",
    "electronegativity": "Pauling scale"
  },
  "element": {
    "atomic_number": 61,
    "symbol": "Pm",
    "name": "Promethium",
    "atomic_mass": 144.91276,
    "cpk_color": "#A3FFC7",
    "electron_configuration": "[Xe]6s2 4f5",
    "electronegativity": null,
    "atomic_radius": 236,
    "ionization_energy": 5.55,
    "electron_affinity": null,
    "oxidation_states": "+3",
    "standard_state": "Solid",
    "melting_point": 1315,
    "boiling_point": 3273,
    "density": 7.26,
    "group_block": "Lanthanide",
    "year_discovered": "1945",
    "period": 6,
    "group_number": null
  }
}

Where the data comes from

Source
PubChem periodic table data from NIST (public domain).
Freshness
Static reference data; updated when NIST revises values.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
4endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-elements.dataandapis.com/v1/sources',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Chemical Elements API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key
import axios from 'axios';

const url = 'https://api-elements.dataandapis.com/v1/sources';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Chemical Elements API

Ship Chemical Elements API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.