DEV Community

firstdata
firstdata

Posted on

5 Free Data APIs Every AI Developer Should Bookmark in 2026

Building AI agents that need real-world data? Here are 5 authoritative, free APIs you should know about — plus a bonus tool that helps you discover them all.

1. 🌍 World Bank Open Data API

What: GDP, population, poverty, education indicators for 200+ countries
API: https://api.worldbank.org/v2/
Format: JSON/XML
Rate limit: None (public)

# Get China GDP (current USD)
curl "https://api.worldbank.org/v2/country/CN/indicator/NY.GDP.MKTP.CD?format=json&date=2020:2024"
Enter fullscreen mode Exit fullscreen mode

Perfect for: economic analysis, country comparisons, development research.


2. 📊 IMF Data API

What: World Economic Outlook, Balance of Payments, financial statistics
API: https://dataservices.imf.org/REST/SDMX_JSON.svc/
Format: JSON (SDMX)
Rate limit: Reasonable

# Get available datasets
curl "https://dataservices.imf.org/REST/SDMX_JSON.svc/Dataflow"
Enter fullscreen mode Exit fullscreen mode

Perfect for: macroeconomic forecasting, financial modeling, policy analysis.


3. 🏥 WHO Global Health Observatory API

What: Health indicators, disease statistics, mortality data for 190+ countries
API: https://ghoapi.azureedge.net/api/
Format: JSON (OData)
Rate limit: None

# List all indicators
curl "https://ghoapi.azureedge.net/api/Indicator"
Enter fullscreen mode Exit fullscreen mode

Perfect for: health research, epidemic tracking, public health AI agents.


4. 🌡️ Open-Meteo Weather API

What: Weather forecasts, historical weather, climate data globally
API: https://api.open-meteo.com/v1/forecast
Format: JSON
Rate limit: 10,000 requests/day (free tier)

# Get Beijing 7-day forecast
curl "https://api.open-meteo.com/v1/forecast?latitude=39.9&longitude=116.4&daily=temperature_2m_max"
Enter fullscreen mode Exit fullscreen mode

Perfect for: weather-aware agents, agriculture, logistics optimization.


5. 📈 FRED (Federal Reserve Economic Data) API

What: 800,000+ US & international economic time series
API: https://api.stlouisfed.org/fred/
Format: JSON/XML
Rate limit: 120 requests/minute

# Get US unemployment rate (need free API key)
curl "https://api.stlouisfed.org/fred/series/observations?series_id=UNRATE&api_key=YOUR_KEY&file_type=json"
Enter fullscreen mode Exit fullscreen mode

Perfect for: financial analysis, economic indicators, market research.


🎁 Bonus: Find All of These (and 155 More) with One MCP Tool

Remembering all these APIs is hard. What if your AI agent could search a curated directory of 160+ authoritative data sources?

FirstData is an open-source knowledge base that catalogs verified data sources from governments, international organizations, and research institutions — with MCP integration.

{
  "mcpServers": {
    "firstdata": {
      "url": "https://firstdata.deepminer.com.cn/mcp"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Your AI agent can then:

  • Search by domain: "find health data APIs in Asia"
  • Filter by authority: government, international org, research institution
  • Get detailed metadata: update frequency, API docs, access instructions

Star on GitHub — MIT licensed, community contributions welcome!


What free data APIs are you using in your AI projects? Share in the comments!

Top comments (0)