Guides

Climate

Query annual climate and environment indicators alongside daily and rolling point-based estimates from NASA POWER.

Climate In Africa API

Climate and environment data is exposed through the shared indicator and data endpoints.

Available data includes:

  • historical annual country indicators from World Bank WDI

  • daily and rolling point-based estimates from NASA POWER for supported countries

  • GET /v1/indicators?category=climate

  • GET /v1/data?category=climate

  • GET /v1/sources/world_bank_wdi

Annual climate and environment indicators

  • co2e_emissions_per_capita
  • co2e_emissions_total_mt
  • pm25_air_pollution_ug_per_m3
  • forest_area_pct_land
  • protected_areas_pct_total
  • renewable_electricity_output_pct_total
  • freshwater_withdrawals_pct_internal_resources

These are annual country-level observations. Check the indicator catalog for available countries and years.

Current Climate Signals

  • temperature_2m_latest_c
  • relative_humidity_latest_pct
  • precipitation_7d_mm
  • precipitation_30d_mm

These daily and rolling values are point-based estimates from NASA POWER, rather than annual national indicators. They appear in /v1/countries/{country_code}/signals where available. Check as_of_period for the dates represented by each value.

Example Queries

curl "https://api.africa-api.com/v1/indicators?category=climate&has_data=true" \
  -H "Authorization: Bearer $AFRICA_API_KEY"
curl "https://api.africa-api.com/v1/data?country_codes=ke,ng,za&metric_key=pm25_air_pollution_ug_per_m3&year=2023" \
  -H "Authorization: Bearer $AFRICA_API_KEY"
curl "https://api.africa-api.com/v1/data?country_code=ga&metric_key=forest_area_pct_land&start_year=2018&end_year=2024" \
  -H "Authorization: Bearer $AFRICA_API_KEY"
Current Climate Signals
curl "https://api.africa-api.com/v1/countries/ke/signals" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

On this page