Data API
Every dataset on this site as plain JSON. Free to use with attribution to the original source named in each file and on the page that uses it. Cross-origin requests are allowed, so you can call these from your own pages and notebooks.
| Endpoint | What it holds |
|---|---|
| /api/markets/indices.json | NSE index closes (28 indices) and Nifty 50 P/E, P/B, dividend yield, daily |
| /api/markets/stocks.json | Nifty 50 constituents: close, change, market cap; NSE breadth |
| /api/markets/fred.json | US Treasury yields, fed funds, breakeven inflation, broad dollar index, EIA oil and gas spot prices (FRED) |
| /api/markets/fx.json | 15 currencies per US dollar, ECB reference rates, daily |
| /api/markets/worldbank.json | 35 commodity prices, monthly, World Bank Pink Sheet |
| /api/markets/crypto.json | Bitcoin and ether, daily USD, CoinGecko |
| /api/markets/world.json | IMF World Economic Outlook and World Bank indicators for India and 13 peers, annual |
| /api/tape.json | India macro tape: CPI, repo, rupee, 10-year yield, Brent, Nifty, with sources |
| /api/ledger.json | Policy Ledger items and stages |
| /api/budget.json | Union Budget 2026-27: estimates and April–September actuals |
| /api/states.json | State indicators: income, growth, inflation, debt, interest burden |
| /api/exposure.json | Import exposure: crude suppliers, DAP, China shares |
| /api/twocharts.json | Two-Chart Test data |
| /api/forecasts.json | Forecast Book calls |
| /api/catalog.json | Catalogue of 290 series; each is at /api/series/{id}.json |
Example
fetch('https://kakistocrat.pages.dev/api/markets/indices.json')
.then(r => r.json())
.then(d => console.log(d.dates.at(-1), d.series['Nifty 50'].at(-1)));
import pandas as pd, requests
d = requests.get('https://kakistocrat.pages.dev/api/markets/fx.json').json()
inr = pd.Series(d['rates']['INR'], index=pd.to_datetime(d['dates']))