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

# Rate limits

> Shared-infrastructure rate limiting

# Rate limits

The API runs on shared infrastructure. If you exceed the rate limit you'll receive `429 Too Many Requests` along with a `Retry-After` header indicating how many seconds to wait.

If you need sustained high throughput, [reach out on Discord](https://discord.gg/snekcoin) so we can plan for it.

## Error format

```json theme={null}
{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Too many requests"
  }
}
```

| HTTP  | Code           | Meaning                                |
| ----- | -------------- | -------------------------------------- |
| `400` | `BAD_REQUEST`  | Invalid parameters                     |
| `401` | `UNAUTHORIZED` | Missing or invalid session / signature |
| `404` | `NOT_FOUND`    | Resource not found                     |
| `429` | `RATE_LIMITED` | Too many requests                      |
| `500` | `SERVER_ERROR` | Unexpected server error                |
