/v1/list
All constants (paginated)
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/constants-api/v1/list" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/constants-api/v1/list", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/constants-api/v1/list");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/constants-api/v1/list",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"count": 50,
"limit": 50,
"total": 355,
"offset": 0,
"results": [
{
"name": "alpha particle-electron mass ratio",
"slug": "alpha-particle-electron-mass-ratio",
"unit": null,
"exact": false,
"value": 7294.29954171,
"value_str": "7294.299 541 71",
"uncertainty": 1.7e-7
},
{
"name": "alpha particle mass",
"slug": "alpha-particle-mass",
"unit": "kg",
"exact": false,
"value": 6.644657345e-27,
"value_str": "6.644 657 3450 e-27",
"uncertainty": 2.1e-36
},
{
"name": "alpha particle mass energy equivalent",
"slug": "alpha-particle-mass-energy-equivalent",
"unit": "J",
"exact": false,
"value": 5.9719201997e-10,
"value_str": "5.971 920 1997 e-10",
"uncertainty": 1.9e-19
},
{
"name": "alpha particle mass energy equivalent in MeV",
"slug": "alpha-particle-mass-energy-equivalent-in-mev",
"unit": "MeV",
"exact": false,
"value": 3727.3794118,
"value_str": "3727.379 4118",
"uncertainty": 1.2e-6
},
{
"name": "alpha particle mass in u",
"slug": "alpha-particle-mass-in-u",
"unit": "u",
"exact": false,
"value": 4.001506179129,
"value_str": "4.001 506 179 129",
"uncertainty": 6.2e-11
},
{
"name": "alpha particle molar mass",
"slug": "alpha-particle-molar-mass",
"unit": "kg mol^-1",
"exact": false,
"value": 0.0040015061833,
"value_str": "4.001 506 1833 e-3",
"uncertainty": 1.2e-12
},
{
"name": "alpha particle-proton mass ratio",
"slug": "alpha-particle-proton-mass-ratio",
"unit": null,
"exact": false,
"value": 3.972599690252,
"value_str": "3.972 599 690 252",
"uncertainty": 7.0e-11
},
{
"name": "alpha particle relative atomic mass",
"slug": "alpha-particle-relative-atomic-mass",
"unit": null,
"exact": false,
"value": 4.001506179129,
"value_str": "4.001 506 179 129",
"uncertainty": 6.2e-11
},
{
"name": "alpha particle rms charge radius",
"slug": "alpha-particle-rms-charge-radius",
"unit":
…