API keys are rolling out. The reference is live and every endpoint works today in Sawa's own apps; keys for your integrations are issued on request. Request access →
Get started

Rate limits & payloads

New to the Sawa API? Make your first call in five minutes.

Limits

Every API key has its own limit: 60 requests a minute by default, applied per key rather than per route, and raised on request. Over the limit, a call answers 429 with rate_limited and a Retry-After header, and is never billed. Every response tells you where you stand:

X-Sawa-RateLimit-Limit: 60
X-Sawa-RateLimit-Remaining: 41
X-Sawa-RateLimit-Reset: 1795431660

See §15.6.

Four geofence endpoints also carry a route throttle of their own, whichever credential calls them:

Endpoint Limit
/api/devices_in_geofences 1800/min
/api/devices_was_in_geofence 1800/min
/api/devices_stay_in_geofence 1800/min
/api/point_in_geofences 30/min

Caching

Cache Duration Effect on you
Auth (API key) 60 s A revoked key stops within a minute
Response 300 s get_devices_latest may be up to 5 minutes stale; trust timestamp

Measured payload sizes

Call Size
get_devices_latest (917 vehicles) 1.3 MB
get_devices (same fleet, grouped) 10.3 MB
get_history (1 vehicle, 6 hours) 5.0 MB
get_events (2 events) 1.5 KB
v2/events/since?minutes=60 7.2 KB
Report, JSON, 1 vehicle, 1 day ~15 KB
Report, PDF, 1 vehicle, 1 day 95 KB

Request gzip — these are highly compressible:

Accept-Encoding: gzip
Last verified 7 Oct 2026 against production Source 497b4da Built 23 Nov 2026, 14:06 Spotted a mistake? Tell us