Authorization header, and the same response envelope. With these conventions, you can authenticate a request, tell a test request from a live one, read any error, page through a list, and retry safely.
Base URL and request format
All endpoints are served over HTTPS from this base URL:GETandDELETErequests take parameters in the path and query string.POST,PUT, andPATCHrequests take body parameters asapplication/jsonorapplication/x-www-form-urlencoded. Send JSON when a parameter is an object or an array.- Request bodies are limited to 500 KB.
- All responses, including errors, are JSON.
- Datetimes are ISO 8601 strings, for example
2026-10-21T12:00:00Z. - Coordinates in GeoJSON objects and in
coordinatesbody parameters are in[longitude, latitude]order. Query parameters that take a single point, such asnearon Search geofences, uselatitude,longitude.
Authentication
All requests must be authenticated. Send your API key in theAuthorization header, with no prefix:
Key types
Each project has four keys. The key type decides where you can use the key. The key environment decides which data the request reads and writes.
Each operation in this reference lists the key type it needs:
- Publishable key: The operation is safe to call from a client.
- Secret key: The operation reads or changes your project’s data. Call it only from your backend.
Test and live environments
Test and live data are separate. A user, geofence, trip, or beacon created with a test key isn’t visible to a live key, and a live object isn’t visible to a test key. Objects returned by the API include alive boolean: true for live data and false for test data.
Use test keys while you build and in non-production environments. Switch to live keys only in production.
Response format
Every response has ameta object with a numeric code that matches the HTTP status code. Successful responses add one or more resource fields next to meta, as in this response:
Errors
The API uses standard HTTP response codes. An error response has the samemeta object, with a message that describes the problem and, for validation errors, a param that names the invalid parameter, as in this response:
Status codes
Some batch operations return HTTP
200 with a per-item meta.code. Check each item. See Block users and devices for an example.
Request IDs
Every API response includes anX-Radar-Request-ID header with a unique identifier for the request, in this form:
Rate limits
Rate limits are applied per second. Each operation in this reference lists its default limit. Most data management operations default to 10 requests per second. Track is limited to 1 request per second per device. To increase a limit, contact your Radar account team. When you exceed a limit, the API returns HTTP429:
429 response can also include a type string in meta that identifies which limit applied. Treat it as diagnostic information and don’t branch on its value.
Retries
- Retry
429,500, and503responses with exponential backoff and jitter. Start with a delay of at least 1 second for per-second limits. - Don’t retry
400,401,402,403, or404responses without changing the request. PUTupserts that address an object bytagandexternalId, andDELETErequests, are safe to repeat. Before you retry aPOSTthat creates an object, check whether the first attempt succeeded.- To load many objects, send requests in sequence or with a small fixed concurrency instead of in a burst.
Pagination
List operations return the newest objects first and accept alimit query parameter. Each list operation documents its own default and maximum limit.
List responses include hasMore in meta. When hasMore is true, request the next page with a datetime cursor: pass the timestamp of the last object you received as the updatedBefore or createdBefore parameter documented for that operation.
hasMore is false.
Metadata
Users, geofences, trips, and beacons accept ametadata dictionary of custom key-value pairs. Send it as a JSON object, or as a JSON string in a form-encoded request.
For users and geofences, the API enforces these rules by default:
- Up to 16 keys.
- Keys are 1 to 256 characters and can contain letters, numbers, spaces, and the characters
_,-,:, and#. - Values are strings, booleans, or numbers. String values are up to 256 characters.
userId.