# Limits and pages

> Every page of these docs is also plain Markdown, listed at https://subliss.app/developers/llms.txt for AI tools.

How fast you can call the Subliss API, how to read a long list one page at a time, and how to check for new subliminals without reading everything again.

## Rate limit

Each key can make 60 requests a minute. Past that the API answers `429` with `rate_limited` and a `Retry-After` header that says how many seconds to wait. The count starts again at the top of each minute.

Each address that calls the API, with a key or without, can also make 20 requests in 10 seconds. Past that, its requests are refused with `429` for the next 10 seconds. This is the only limit on `GET /search`, which needs no key.

## Reading every page

`GET /tracks` returns up to `limit` subliminals at a time, from 1 to 100, and 20 if you don't say. Each response says whether more follow:

- `has_more` is `true` while another page follows.
- `next_offset` is the `offset` to send for that page, or `null` on the last one.

Keep asking with the new offset until `has_more` is `false`. The offset goes up to 10000.

```bash
curl "https://api.subliss.app/v1/tracks?limit=100&offset=100" \
  -H "Authorization: Bearer sbl_your_key"
```

Newest first keeps its order while you page. With `sort=popular`, play counts can change between requests, so a long list can repeat or miss a subliminal.

## Checking for new subliminals

To check for new subliminals on a schedule, keep the `published_at` of the newest one you have seen and send it as `published_after` next time. The API returns only subliminals published at that moment or later, so each check is one request however many subliminals there are.

```bash
curl "https://api.subliss.app/v1/tracks?published_after=2026-11-01T09:00:00Z&limit=100" \
  -H "Authorization: Bearer sbl_your_key"
```

A subliminal published at exactly that moment comes back again, so drop any `id` you already have. `published_after` takes a date and time such as `2026-11-01T09:00:00Z`, and anything else answers `400` with `invalid_published_after`.

`published_at` is when a subliminal was first shared beyond its creator. One shared as unlisted first and made public later keeps that earlier date, so a check like this can miss it.

## Caching

Every response carries `Cache-Control: no-store`, so each request reads the current counts.
