490+ economic indicators for 218 countries. Free data, free API.
Statistics of the World (SOTW) is a free, open platform for exploring global economic data. We aggregate data from IMF, World Bank, FRED, Yahoo Finance, ECB, and Alpha Vantage into a single, searchable interface with a free REST API.
- 490+ indicators across 27 categories: GDP, inflation, trade, population, labor, debt, and more
- 218 countries with 20+ years of historical data
- Live market data: stocks, commodities, crypto, currencies, indices (real-time quotes)
- Economic calendar: upcoming releases with AI-powered actuals
- Interactive visualizations: heatmaps, scatter plots, world maps, rankings, country comparisons
- Credit ratings: sovereign ratings from all major agencies
- Trade data: bilateral trade flows between countries
- Forecasts: IMF/World Bank projections
- Prediction markets: Polymarket integration
- AI chat: Ask questions about any country's economy
# Get GDP for all countries
curl https://statisticsoftheworld.com/api/v2/indicators/NY.GDP.MKTP.CD
# Get all indicators for Canada
curl https://statisticsoftheworld.com/api/v2/countries/CAN
# Get live stock quotes
curl https://statisticsoftheworld.com/api/v2/markets/quotes
# Search indicators
curl https://statisticsoftheworld.com/api/v2/search?q=inflationAPI tiers:
| Tier | Rate Limit | Cost |
|---|---|---|
| Free | 100 req/day | $0 |
| Developer | 1,000 req/day | $9/mo |
| Pro | 10,000 req/day | $49/mo |
| Business | 100,000 req/day | $500/mo |
Get your API key: statisticsoftheworld.com/pricing
| Source | Data |
|---|---|
| IMF | World Economic Outlook, IFS, DOTS |
| World Bank | World Development Indicators |
| FRED | US economic data |
| Yahoo Finance | Stock quotes, commodities, crypto |
| ECB | Exchange rates |
| Alpha Vantage | Market data |
- Frontend: Next.js 16, React 19, Tailwind CSS
- Database: Supabase (PostgreSQL)
- Hosting: Coolify on Hetzner VPS
- ETL: Python cron jobs (49 scheduled tasks)
- API: Next.js API routes with rate limiting
SOTW provides an MCP (Model Context Protocol) endpoint for AI agents:
https://statisticsoftheworld.com/api/mcp
- Website: statisticsoftheworld.com
- API Docs: statisticsoftheworld.com/ai
- Twitter/X: @sotwdata
- Bluesky: @sotwdata.bsky.social
- Contact: statisticsoftheworld.com/contact
All data is sourced from publicly available datasets. The platform and API are free to use.