Skip to main content

Cursor pagination

GET /v1/pricing, GET /v1/jobs and GET /v1/jobs/{job_id}/items accept:
  • limit: 1 to 100 resources; default 25.
  • cursor: the opaque next_cursor from the previous page.
Keep requesting with next_cursor until has_more is false. Never decode, edit or build a cursor: a malformed, altered or route-mismatched cursor returns 400 invalid_cursor. GET /v1/jobs also takes state and type filters (Jobs); keep the same filters on every page. The SDK paginators (iterJobs, iterJobItems, iterPricing in JavaScript; iter_jobs, iter_job_items, iter_pricing in Python) follow cursors for you.

Request limit

Each active API key is limited to 120 requests per minute across authenticated v1 routes. Every authenticated response, successful or not, tells you where you stand:
When X-RateLimit-Remaining reaches zero, wait X-RateLimit-Reset seconds before the next request. The SDKs expose the last values as joip.rateLimit and joip.rate_limit. A client address that sends more than 30 requests with a missing or invalid API key in one minute receives 429 rate_limit_exceeded for the rest of that minute, even with a valid key. Successful requests never count toward this limit.

Job admission

Within each UTC hour, an account can have up to 10 jobs from that hour in progress and submit up to 1,000 media items. A new job beyond either allowance returns 429 admission_unavailable before any credits are reserved.

When you’re limited

Joip returns 429 with Retry-After and an application/problem+json body. Wait at least that many seconds, then retry with the same Idempotency-Key if it was a submission. For repeated throttling, back off exponentially with jitter. The SDKs do this for you: they retry 429 and 503 up to twice, honouring Retry-After. A Retry-After longer than 30 seconds (an hourly admission limit, say) is thrown to your code instead of slept on, so schedule that retry yourself.