Skip to Content
TrackCrest Docs

Conventions

Responses, paging, dates, errors, rate limits and retries.

Responses

One record is { "data": … }. A list is { "data": [ … ], "pagination": { … } }.

Records are identified by their 8-digit publicId; clicks and conversions by their click and conversion IDs. Times are ISO 8601 in UTC. Money always comes with a currency, and reports split rows by currency.

Paging

?page=1&pageSize=50

pageSize is at most 200. Clicks and conversions use a cursor instead: pass pagination.nextCursor back as ?cursor= until it's null.

Dates and sorting

?from=2026-10-01&to=2026-10-31
?sort=name
?sort=-createdAt

A date-only to includes that whole day. A - sorts descending. An unknown sort field returns sort_invalid with the fields that list accepts.

Errors

Errors are application/problem+json with a stable code to branch on:

{
  "status": 403,
  "code": "scope_missing",
  "title": "…",
  "detail": "Required scope: offers:read.",
  "correlationId": "…"
}

IDs you can't see return 404, never 403. Quote the correlationId when you contact support.

Rate limits

Limits are per key per minute and set by the network's plan. Report endpoints get a tenth of the limit. Every response carries:

X-RateLimit-Limit: 600
X-RateLimit-Remaining: 598
X-RateLimit-Reset: 1764460800

Reset is Unix time. A 429 adds Retry-After.

Retries and idempotency

Send an Idempotency-Key with a POST:

Idempotency-Key: 6f1c0d3e-…

A retry with the same key and body within 24 hours gets the first response back, marked Idempotent-Replayed: true, and doesn't create anything twice.

On this page