API referenceCollections
List collections
Lists your collections, newest first, paged via limit/offset. (GET /v1/collections)
GET
/v1/collections- Auth
- Bearer API key
- Billing
- free (0 credits).
Lists your collections, newest first, paged via limit/offset. Pass q to filter by a case-insensitive substring of the collection ID. Returns the matching total so clients can paginate accurately. Free.
Example request
curl -X GET "https://api.sightradar.com/v1/collections" \
-H "Authorization: Bearer $SR_API_KEY"Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | |
offset | query | integer | |
q | query | string | Case-insensitive LITERAL substring filter on collection_id (max 100 chars; wildcard characters are matched literally). |
Response body
| Field | Type | Description |
|---|---|---|
collections | object[] | |
total | integer | Total collections matching the filter (ignores limit/offset). |
limit | integer | |
offset | integer |
Status codes
| Status | Meaning |
|---|---|
200 | Your collections. |
401 | Missing or invalid API key. |
Last updated