Skip to main content
All providers

openAFRICA

Open data portals

open.africa

openAFRICA, run by Code for Africa: a CKAN catalogue of open datasets about African countries from governments, civil society and donor agencies.

Capabilities (15)

GET /v1/data/africaopendata-org/dataset1 credit

Full metadata for one dataset: title, notes, licence, organization, tags, extras and the complete resource list with download URLs and formats.

id
GET /v1/data/africaopendata-org/dataset-names1 credit

Flat JSON array of every dataset slug on the portal, in alphabetical order.

limit?offset?
GET /v1/data/africaopendata-org/datasets1 credit

Solr-backed search over every dataset published on the Latvian open data portal; returns a page of 20 full dataset records plus the total match count and facets.

q?fq?sort?start?facet.field?
GET /v1/data/africaopendata-org/dataset-suggest1 credit

Lightweight typeahead: matching datasets as {name, title, match_field} objects, no resources or descriptions.

qlimit?
GET /v1/data/africaopendata-org/group1 credit

Metadata for one thematic group: title, description, image and dataset count.

idinclude_datasets?include_extras?
GET /v1/data/africaopendata-org/group-datasets1 credit

A page of up to 20 full dataset records belonging to one thematic group, with the group's total count.

groupq?sort?start?
GET /v1/data/africaopendata-org/groups1 credit

Every thematic group (subject category) on the portal with its name, display title, description and dataset count.

limit?offset?sort?
GET /v1/data/africaopendata-org/licenses1 credit

Every licence the portal offers publishers, as {id, title, url, od_conformance, osd_conformance} objects.

No parameters
GET /v1/data/africaopendata-org/organization1 credit

Metadata for one publishing organization: title, description, contact extras, dataset count and (optionally) its datasets.

idinclude_datasets?include_extras?include_followers?
GET /v1/data/africaopendata-org/organization-datasets1 credit

A page of up to 20 full dataset records published by one organization, with the total count for that publisher.

organizationq?sort?start?
GET /v1/data/africaopendata-org/organizations1 credit

Every publishing organization on the portal with its name, display title, description, image and dataset count.

limit?offset?sort?
GET /v1/data/africaopendata-org/resource-search1 credit

Searches resource metadata (not datasets) across the whole portal and returns up to 50 matching resource records with their download URLs.

queryoffset?order_by?
GET /v1/data/africaopendata-org/site-status1 credit

The portal's CKAN version, site title, locale and the list of installed CKAN extensions.

No parameters
GET /v1/data/africaopendata-org/tag1 credit

The id, name and vocabulary of one tag, and optionally every dataset carrying it.

idinclude_datasets?vocabulary_id?
GET /v1/data/africaopendata-org/tags1 credit

Flat JSON array of every free tag used on the portal.

query?vocabulary_id?

Response example

The shape of data from africaopendata-org/dataset (Dataset detail). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "help": "https://open.africa/api/3/action/help_show?name=package_show",
  "success": true,
  "result": {
    "author": "Sensors Africa",
    "author_email": "sensors@codeforafrica.org",
    "creator_user_id": "5431aa54-5a96-497d-820e-b1669fe593e2",
    "id": "6fc69703-7da3-4c8e-b864-65e0c5f1e4d5",
    "isopen": true,
    "license_id": "cc-by",
    "license_title": "Creative Commons Attribution",
    "license_url": "http://www.opendefinition.org/licenses/cc-by",
    "maintainer": "usman",
    "maintainer_email": "usman@codeforafrica.org",
    "metadata_created": "2021-01-28T08:00:33.900448",
    "metadata_modified": "2026-10-19T00:02:47.495324",
    "name": "sensorsafrica-airquality-archive-accra",
    "notes": "This data set contains PM (particulate matter), temperature, and humidity readings taken with low-cost sensors. These sensors measure the concentration of PM in the air, including particles with diameters less than or equal to 1 micrometer (PM1), 2.5 micrometers (PM2.5), and particles with diameters less than or equal to 10 micrometers (PM10).\r\nThe data set includes information on the sensor type, date, time, and location of the readings, as well as the sensor’s specific measurement values for Temperature (C), Humidity (%), PM1,  PM2.5, and PM10. The data set is ideal for researchers and individuals interested in studying air quality and low-cost sensors in PM measurement.\r\nThe dataset is stored in CSV format and can be opened using editors like Microsoft Excel, Google Sheets, LibreOffice Calc, etc.\r\nNote that P0 in the data represents PM1, P2 represents PM2.5, and P1 represents PM10",
    "num_resources": 53,
    "num_tags": 0,
    "organization": {
      "id": "5f41c149-df90-493a-9502-7e31b0818aa5",
      "name": "sensors-africa",
      "title": "sensors.AFRICA",
      "type": "organization",
      "description": "Africa's largest citizen science initiative using sensors monitor air + water + sound + radiation pollution.",
      "image_url": "2019-04-25-112642.625953android-chrome-512x512.png",
      "created": "2019-04-18T07:10:58.637148",
      "is_organization": true,
      "approval_status": "approved",
      "state": "active"
    },
    "owner_org": "5f41c149-df90-493a-9502-7e31b0818aa5",
    "private": false,
    "state": "active",
    "title": "sensors.AFRICA Air Quality Archive Accra",
    "type": "dataset",
    "url": "",
    "version": "",
    "groups": [
      {
        "description": "",
        "display_name": "sensors.AFRICA Air Quality Archive",
        "id": "12921697-59ca-48f2-a02a-0b25c14391e1",
        "image_display_url": "https://open.africa/uploads/group/2019-02-20-052625.131941sensors.AFRICALogo-03.png",
        "name": "sensorsafrica-airquality-archive",
        "title": "sensors.AFRICA Air Quality Archive"
      }
    ],
    "resources": [
      {
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2021-03-23T10:50:55.618995",
        "datastore_active": false,
        "description": "",
        "format": "CSV",
        "hash": "",
        "id": "04a16ec8-299b-411b-8cdb-392cf4e614f3",
        "last_modified": "2021-03-23T10:50:55.573085",
        "metadata_modified": "2021-03-23T10:50:55.618995",
        "mimetype": null,
        "mimetype_inner": null,
        "name": "November 2019 Sensor Data Archive",
        "package_id": "6fc69703-7da3-4c8e-b864-65e0c5f1e4d5",
        "position": 0,
        "resource_type": null,
        "size": null,
        "state": "active",
        "url": "https://open.africa/dataset/6fc69703-7da3-4c8e-b864-65e0c5f1e4d5/resource/04a16ec8-299b-411b-8cdb-392cf4e614f3/download/november_2019_sensor_data_archive.csv",
        "url_type": "upload"
      },
      {
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2021-03-23T10:51:06.792082",
        "datastore_active": false,
        "description": "",
        "format": "CSV",
        "hash": "",
        "id": "621ade0a-529b-4ddb-ab30-ee6c7dbacbac",

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Dataset detail

    Use openAFRICA (africaopendata-org) from fastCRW Pergamon, capability "Dataset detail" (dataset). You already have a dataset name or UUID from a search and need its resources, licence or full description. Example options: id=sensorsafrica-airquality-archive-accra. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "africaopendata-org" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • All dataset names

    Use openAFRICA (africaopendata-org) from fastCRW Pergamon, capability "All dataset names" (dataset-names). You want the complete inventory of dataset ids to iterate over, rather than a scored search page. Example options: limit=100, offset=0. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "africaopendata-org" and capability "dataset-names". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset search

    Use openAFRICA (africaopendata-org) from fastCRW Pergamon, capability "Dataset search" (datasets). You want to find datasets on this portal by keyword, filter, or recency, and you do not already know a dataset id. Example options: q=statistika, fq=res_format:CSV, sort=metadata_modified desc. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "africaopendata-org" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset title autocomplete

    Use openAFRICA (africaopendata-org) from fastCRW Pergamon, capability "Dataset title autocomplete" (dataset-suggest). You are resolving a partly-remembered dataset title into an id and do not want full search payloads. Example options: q=sensor, limit=10. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "africaopendata-org" and capability "dataset-suggest". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

Dataset records on this portal declare the licence "Creative Commons Attribution" (http://www.opendefinition.org/licenses/cc-by). This is the licence the publishing organisations attach to their own datasets; the portal itself states no separate API licence. Quoted as found in the portal's own dataset metadata.

http://www.opendefinition.org/licenses/cc-by

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: openAFRICA (Africa Open Data). Data published by the portal's contributing organisations.

Cache: up to 3600s