Data API · v1 · stable

A REST API for African statistics.

Versioned. Schema-consistent. Always current. Drop African economic and demographic data straight into your dashboards, models, or RAG pipeline.

10,000 free API calls / month · OpenAPI spec · cited JSON
Base URL https://api.africadb.com
curl -H "Authorization: Bearer $ADB_TOKEN" \
  "https://api.africadb.com/api/v1/observations/latest/NY.GDP.PCAP.CD/KE"
Response
# Click "Try it" to run this request against the live API.
# This endpoint is open - no API key needed for reads.

Reads are public. API key only required for higher rate limits and exports.

Every number cited

Each response carries the source, year, and method - so you can drop it straight into a footnote.

Built on the publishers you trust

World Bank, IMF, WHO, AfDB, UNESCO, DHS Program, central banks - same data, one consistent schema.

Generous free tier

10,000 API calls per month on the Researcher plan. Higher limits and bulk endpoints unlock on Analyst+.

Quick start

Three steps and you've got Kenya's GDP series. No API key needed for read endpoints in dev.

  1. 1

    Pick an indicator

    Browse the indicators page or call /api/v1/indicators.

  2. 2

    Make the request

    curl -H "Authorization: Bearer $ADB_TOKEN" \
      "https://api.africadb.com/api/v1/observations/timeseries/NY.GDP.MKTP.CD/KE?start_year=2010"
  3. 3

    Read the response

    All endpoints return JSON. Time-series payloads look like this:

    {
      "indicator_id": "NY.GDP.MKTP.CD",
      "country_code": "KE",
      "data": [
        { "year": 2020, "value": 100380000000, "unit": "USD" },
        { "year": 2021, "value": 110350000000, "unit": "USD" },
        { "year": 2022, "value": 113420000000, "unit": "USD" }
      ],
      "attribution": {
        "source": "World Bank",
        "license": "CC BY 4.0",
        "url": "https://africadb.com"
      }
    }

Authentication

Read endpoints are public on the free tier. Bulk exports, higher rate limits, and admin operations require a bearer token. Generate one from your dashboard.

Authorization: Bearer adb_pro_k3y_xxxxx

Keys are scoped to your account; revoke them at any time from the dashboard.

Endpoint reference

Click any row to expand, view code samples, and run a live request.

Core Data

Indicators, countries, observations, and time series.

Analytics & Risk

Computed rankings, scorecards, sovereign risk grades.

Trade Blocs

Aggregates across EAC, ECOWAS, SADC, COMESA, IGAD, AU.

Reports & Search

Pre-built intelligence reports and natural-language search.

Exports & Bulk

Download data as CSV / JSON / XLSX. Analyst plan required for bulk endpoints.

Live & News

Real-time forex, commodities, ticker, news, and sentiment.

Rate limits

Free

100 / day

Bulk export: -

Pro

10k / day

Bulk export:

Team

100k / day

Bulk export:

Enterprise

Unlimited

Bulk export: ✓ + SLA

Going further

Have an endpoint you wish existed? Tell us·View plans