Guides
Supply reports
Required: driver counts by area and ~5 km cell, every 1 to 5 minutes while you have drivers online.
POST driver counts to https://www.perfectride.io/api/partner/v1/supply, signed like events with path /supply. At least every 15 minutes when nobody is online. Counts only: no driver names, ids or exact locations.
Body
{
"reported_at": "2026-12-05T09:30:00Z",
"fleet_total_drivers": 420,
"areas": [
{ "state": "Rivers", "city": "Port Harcourt", "tier": "Economy",
"total_drivers": 180, "online_drivers": 42, "on_trip_drivers": 17 }
],
"cells": [
{ "geohash5": "s0v52", "tier": "Economy", "online_drivers": 9 }
]
}Fields
reported_atRulesWhen you counted. Not more than 5 minutes ahead of our clock, not older than 24 hoursfleet_total_driversRulesRequired. All your active drivers, every area (for example, drove in the last 30 days)areasRulesRequired, 1 to 50: one per state, city and tierareas[].stateRulesA Nigerian state:Rivers,FCT,Lagos.AbujaandPort Harcourtare understoodareas[].cityRulesOptional. Leave it out for the whole stateareas[].tierRulesEconomy,ComfortorPremiumareas[].total_driversRulesRequired. Active drivers in that area and tierareas[].online_driversRulesRequired. Online now, free or on a trip. At mosttotal_driversareas[].on_trip_driversRulesRecommended. On a trip now, on any app. At mostonline_driverscellsRulesRequired, up to 500, empty when nobody is online. Online drivers per geohash cell of precision 5 (geohash5, about 5 km). Leave out cells with 0
| Field | Rules |
|---|---|
reported_at | When you counted. Not more than 5 minutes ahead of our clock, not older than 24 hours |
fleet_total_drivers | Required. All your active drivers, every area (for example, drove in the last 30 days) |
areas | Required, 1 to 50: one per state, city and tier |
areas[].state | A Nigerian state: Rivers, FCT, Lagos. Abuja and Port Harcourt are understood |
areas[].city | Optional. Leave it out for the whole state |
areas[].tier | Economy, Comfort or Premium |
areas[].total_drivers | Required. Active drivers in that area and tier |
areas[].online_drivers | Required. Online now, free or on a trip. At most total_drivers |
areas[].on_trip_drivers | Recommended. On a trip now, on any app. At most online_drivers |
cells | Required, up to 500, empty when nobody is online. Online drivers per geohash cell of precision 5 (geohash5, about 5 km). Leave out cells with 0 |
Answers
Response 200
{ "ok": true, "stored": 2, "ignored": 0, "cells": 1, "stale_after_seconds": 600 }- 200MeaningStored.
ignoredcounts rows older than a report we already hold - 400
invalid_supplyMeaningA missing or wrong field - 422
inconsistent_countsMeaningOnline over total, or on trip over online - 401, 411, 413MeaningAs for events
- 429
rate_limitedMeaningOver 60 reports a minute
| Answer | Meaning |
|---|---|
| 200 | Stored. ignored counts rows older than a report we already hold |
400 invalid_supply | A missing or wrong field |
422 inconsistent_counts | Online over total, or on trip over online |
| 401, 411, 413 | As for events |
429 rate_limited | Over 60 reports a minute |
Coverage
- We keep your latest report per area and cell. A report is stale after 10 minutes.
- We use them to see where your drivers are and where to bring riders.
- A live partner with no report for 15 minutes shows as degraded. Your rides are never held back for it.
- Certification needs one valid report with your sandbox key during the run.