> ## Documentation Index
> Fetch the complete documentation index at: https://docs.joip.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination and rate limits

> Follow cursors, read the rate-limit headers, and stay inside admission limits

## 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.

```json theme={"system"}
{
  "data": [],
  "next_cursor": "eyJ2IjoxLCJraW5kIjoiam9icyJ9.signature",
  "has_more": true
}
```

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](https://docs.joip.io/api-reference/jobs.md#find-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:

| Header | Meaning |
| - | - |
| `X-RateLimit-Limit` | Requests the key may make in the current window (120). |
| `X-RateLimit-Remaining` | Requests left in the current window. |
| `X-RateLimit-Reset` | Whole seconds until the window resets. |

```http theme={"system"}
HTTP/1.1 200 OK
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Reset: 41
```

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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.