For third-party developers
Build with Kenya’s E-Mobility Data
Everything an external app, research team, or partner organization needs to pull data from this portal into their own tools. This phase of the project is frontend-only — the endpoints and feeds below are the proposed shape for stakeholder review, not live yet.
Getting started
1Request an API keySelf-serve registration; instant approval for read-only access.
2Pick a datasetBrowse the catalog below or query the full list via GET /v1/datasets.
3Call the endpointUse the sample curl on each dataset's record, or generate a client from the OpenAPI schema.
4Stay in syncSubscribe to a dataset's RSS feed to get notified the moment new data lands.
Conventions
VersioningAll endpoints are namespaced under /v1. Breaking changes ship as /v2 with a minimum 6-month deprecation notice on the prior version.
AuthenticationPublic read-only endpoints require no API key during this phase. A free registration key is planned ahead of general availability, to support rate-limit tiers and usage analytics.
Rate limits60 requests/minute per IP address on the unauthenticated tier. Registered API keys will get a higher limit once authentication ships.
Response formatJSON by default. Pass format=csv or format=geojson (where the dataset supports it) to switch response shape.
Paginationlimit (default 50, max 500) and offset query params on every list endpoint. Responses include a next_offset field when more records remain.
ErrorsErrors return a standard {"error":{"code","message"}} JSON body alongside a matching 4xx/5xx HTTP status.
Dataset endpoints (20)
DatasetThemeSourceStatus
Registered EV stock by vehicle class & countyDataset D01.01Adoption & fleetNTSAAvailableNew registrations & adoption shareDataset D01.02Adoption & fleetNTSAAvailableFleet composition by body type & useDataset D01.03Adoption & fleetNTSAAvailableCharging & battery-swap site inventoryDataset D02.01InfrastructureKenya Power / EPRAAvailableSite operational status & utilisationInfrastructureEPRAPlannedElectricity connections & consumption for e-mobilityEnergy & gridKenya PowerPlannedGrid planning & renewable capacityEnergy & gridKenGen / Kenya PowerPlannedRetail charging & swap pricesPricing & financeOperatorsPlannedElectricity tariffs for EV chargingDataset D04.02Pricing & financeKenya Power / EPRAAvailableFiscal incentives & tax treatmentPricing & financeNational TreasuryPlannedNational e-mobility policy & targetsPolicy & regulationMinistry of Roads & TransportPlannedCharging & battery standardsPolicy & regulationKEBSPlannedVehicle inspection & road safety rulesPolicy & regulationNTSAPlannedTransport emissions baseline & targetsDataset D06.01Climate & environmentMinistry of Energy & PetroleumAvailableEstimated emissions avoidedClimate & environmentObservatory calculationPlannedBattery recycling & second lifeClimate & environmentNEMAPlannedEV models & specificationsVehicles & marketKRA / DistributorsPlannedImport & local assembly volumesVehicles & marketKRAPlannedSector players & their rolesSector & contextGIZ KenyaPlannedResearch & knowledge resourcesSector & contextGIZ KenyaPlannedRSS feeds
Each dataset publishes an RSS 2.0 feed the moment a new reporting period lands, so downstream tools, journalists, and analysts can subscribe instead of polling the API.
Master feedhttps://api.sdot.go.ke/v1/feed.rss
Per-dataset feedshttps://api.sdot.go.ke/v1/datasets/{dataset-id}/feed.rss
Attribution & terms of use
- Attribution required — credit "Kenya E-Mobility Observatory / [source institution]" in any published or redistributed work built on this data.
- Licensed under the Open Government License — free to use, share, and adapt, including commercially.
- Don't misrepresent mock or illustrative figures (flagged in the API response) as verified production data.
- Stay within published rate limits; contact us for a higher-throughput partner tier instead of scraping around the limit.
Need help integrating, or want a higher-throughput partner tier?api-support@sdot.go.ke →
Roadmap: once a production database backs this portal, the public Analytics dashboards are planned to be served via embedded Metabase views, while this API/RSS layer remains the canonical open-data access path for third-party tools.