Physics Constants API
Free static API for 355 CODATA 2022 fundamental physical constants — values, uncertainties, units. No auth, no rate limit, no cost.
Try it
Request:
curl https://constants.oriz.in/constants/speed-of-light-in-vacuum.json Response:
{
"slug": "speed-of-light-in-vacuum",
"name": "speed of light in vacuum",
"value": 299792458,
"value_string": "299 792 458",
"uncertainty": null,
"uncertainty_string": "exact",
"unit": "m s^-1",
"exact": true,
"category": "universal",
"source": "CODATA 2022 (NIST)",
"source_url": "https://physics.nist.gov/cuu/Constants/"
} How to use
via constants.oriz.in
Cloudflare Pages, custom domain, free TLS. Recommended for browser apps.
https://constants.oriz.in/constants/speed-of-light-in-vacuum.json via jsDelivr
Pinned to a git ref. Recommended for production code that wants reproducibility.
https://cdn.jsdelivr.net/gh/oriz-org/constants-api@main/constants/speed-of-light-in-vacuum.json Stats
355 constants · CODATA 2022 · NIST
Why use this
- · Static JSON — no API key, no rate limit, no quota.
- · Served from Cloudflare Pages and jsDelivr edge caches.
- · Open data — fork it, audit it, send a PR.