Guides
Climate
Use indicators, data endpoints, and current signals to work with emissions, air quality, forests, protected areas, renewable electricity, water stress, and live climate context.
Climate In Africa API
Climate and environment data is exposed through the shared indicator and data endpoints.
Climate coverage now has two layers:
-
historical annual country indicators from World Bank WDI
-
current climate signals from NASA POWER
-
GET /v1/indicators?category=climate -
GET /v1/data?category=climate -
GET /v1/sources/world_bank_wdi
Current Climate Metrics
co2e_emissions_per_capitaco2e_emissions_total_mtpm25_air_pollution_ug_per_m3forest_area_pct_landprotected_areas_pct_totalrenewable_electricity_output_pct_totalfreshwater_withdrawals_pct_internal_resources
These are annual country-level climate and environment observations and fit the current observation model cleanly.
Current Climate Signals
temperature_2m_latest_crelative_humidity_latest_pctprecipitation_7d_mmprecipitation_30d_mm
These are current daily or rolling signals intended for operational context in /v1/countries/{country_code}/signals.
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"curl "https://api.africa-api.com/v1/countries/ke/signals" \
-H "Authorization: Bearer $AFRICA_API_KEY"