US economic & energy data
Official US economic & energy data, one key
CPI inflation since 1913. The national debt back to 1790. Plus thirteen US energy APIs on official EIA data — oil, natural gas, fuels, forecasts. Clean JSON, one key covers all 15.
Free plan: 500 req/mo at $0 · PRO from $7.99/mo · no credit card, no overage
Real JSON from the production API — no key, no signup for this demo (5 req/min).
curl https://api.synergicapis.com/demo/inflation/latest
These demo endpoints are keyless — paste and run. Full history needs a key. Get a key
The APIs
Two centuries of macro. The whole US energy market.
US Inflation API
Since 1913Monthly CPI, year-over-year and month-over-month inflation for every period the Bureau of Labor Statistics has ever published — 11 categories, plus famous average prices: eggs, gasoline, milk.
GET/inflation/latest
Docs & live demo US egg prices chartUS National Debt API
Since 1790Total public debt from the first federal borrowing in 1790 to the latest Treasury figure — daily to the penny since 1993, annual since 1790, 237 years in one endpoint.
GET/debt/history
Docs & live demo US debt clockUS Energy Data
13 APIs · EIAOil and gas spot prices, pump prices, inventories, storage, trade, production, imports, demand, refinery runs, nuclear outages and the official STEO forecasts — same key, same JSON.
GET/oil/latest
Browse all APIs US gasoline chartPricing
Hard limits, no overage — ever
Every plan includes every API on the platform — macro and energy — with a single key and full history.
Hit your cap and requests return 429 until the next cycle — never a surprise charge.
Free
500requests/mo10req/min rate limit- All APIs, full history
- No credit card
Pro
50,000requests/mo60req/min rate limit- All APIs, full history
- Cancel anytime
Ultra
500,000requests/mo120req/min rate limit- All APIs, full history
- Cancel anytime
Business
5,000,000requests/mo240req/min rate limit- All APIs, full history
- Cancel anytime
What happens when you pay
X-Api-Key header.Also listed on RapidAPI at $9.99 / $29.99 — buying direct is cheaper, same data, same infrastructure. Full plan comparison →
Quickstart
First response in under a minute
Authenticate with a single header: X-Api-Key. No OAuth, no SDK required.
# Latest headline + core + 9 more categories, one call curl -H "X-Api-Key: sk_live_YOUR_KEY" \ https://api.synergicapis.com/inflation/latest
import requests
r = requests.get(
"https://api.synergicapis.com/inflation/latest",
headers={"X-Api-Key": "sk_live_YOUR_KEY"},
)
r.raise_for_status()
for point in r.json()["data"]:
print(point["category"], point["period"], point["yoy_pct"])
const res = await fetch("https://api.synergicapis.com/inflation/latest", { headers: { "X-Api-Key": "sk_live_YOUR_KEY" }, }); const { data } = await res.json(); console.log(data.find((p) => p.category === "all-items").yoy_pct);
// claude_desktop_config.json / ~/.cursor/mcp.json { "mcpServers": { "synergic-apis": { "command": "npx", "args": ["-y", "@synergic-apis/mcp"], "env": { "SYNERGIC_API_KEY": "YOUR_API_KEY" } } } }
Free datasets
Take the data with you
Static CSV exports of the core series, refreshed on each release. Free to download, no account needed.
US national debt, annual
One row per fiscal year: total public debt outstanding, exact to the cent.
CPI, monthly
The CPI-U index for every month the Bureau of Labor Statistics has published since 1913.
Egg prices, monthly
Average US city price, grade A large, per dozen — the series everyone asks about.
Gasoline prices, monthly
Average US city price of unleaded regular, per gallon — official BLS series since 1976.
Why buy direct
Lower price, same API
No marketplace commission means the direct plans cost less than the identical tiers on RapidAPI.
Honest limits
Hard caps with standard RateLimit-* headers and a /v1/usage endpoint. When you run out you get a clear 429 — never a surprise bill.
Built for caching
Every successful response ships ETag and Cache-Control. Conditional requests return 304 and save you time and quota.
Talk to the builders
One developer runs this platform end to end. Questions and bug reports land in the inbox of the person who wrote the code.
FAQ
Data & usage
Where does the data come from?
Straight from the official sources: the U.S. Bureau of Labor Statistics (CPI and average prices) and U.S. Treasury Fiscal Data (debt and interest rates). Both are public-domain US government datasets. We ingest each official release automatically, verify it, and serve it as stable JSON — each API page lists the exact series and dataset IDs. This product is not endorsed by or affiliated with the BLS or the Treasury.
How fresh is the data?
Inflation refreshes on each monthly CPI release (8:30 AM ET, days 10–18 of the following month). Debt refreshes every business day after the Treasury publishes (around 3:00 PM ET, T+1). Missing months in the official record (e.g. October 2025, never published due to the federal shutdown) are served as null — never invented.
Can I use the data commercially?
Yes — on every plan, including Free. The underlying government data is public domain; your subscription covers the API service — cleaning, computation, uptime and history. Attribution to the original source (BLS / U.S. Treasury) is appreciated and is included in every response's meta.
Can you add a series or an endpoint I need?
Very often, yes. The BLS and the Treasury publish far more series than we currently expose, and I run this platform end to end — so requests reach the person who ships. Email support@synergicapis.com with the series you need and how you'd use it.
What is the SLA?
Best-effort. The platform runs on serverless infrastructure with health checks and freshness monitoring, but we do not currently offer a contractual SLA. If you need one, contact us about the Business plan.
Account & billing
Do I need a credit card for the free tier?
No. The free key is issued instantly with just an email: 500 requests per month, 10 per minute, every endpoint of every API with the full history, commercial use included.
What happens when I hit my quota?
Requests over the monthly cap return HTTP 429 with a clear error body and reset timing in the headers. Nothing is billed on top — there is no overage, ever. Upgrade or wait for the 1st of the month (UTC).
Can I cancel anytime?
Yes. Subscriptions are managed by Stripe and can be cancelled at any moment; your key keeps working until the end of the paid period. The free tier needs no card at all.