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

# Rate Limits & Plans

> Monthly request quotas, response rate-limit headers, billing tiers, and 429 retry handling on SportSXAPI.

Every API key carries a monthly request quota tied to its subscription plan and tracked in real time across the gateway.

## Plans & Monthly Quotas

| Plan | Monthly Requests | Gateway Host | Monthly / Annual Pricing (USD) |
| :- | :- | :- | :- |
| **Free** | `3,000` / month | `api.sportsxapi.com` | `$0` |
| **Starter** | `500,000` / month | `apiv2.sportsxapi.com` | `$29` / mo or `$312` / yr |
| **Pro** | `2,000,000` / month | `apiv2.sportsxapi.com` | `$79` / mo or `$852` / yr |
| **Business** | `10,000,000` / month | `apiv2.sportsxapi.com` | `$199` / mo or `$2,148` / yr |
| **Ultra** | `30,000,000` / month | `apiv2.sportsxapi.com` | `$399` / mo or `$4,308` / yr |
| **Custom** | Custom quota | `apiv2.sportsxapi.com` | Custom ([Contact Support](https://sportsxapi.com/contact)) |

## Rate Limit Response Headers

Paid and free key responses include live quota and host policy metadata headers:

```http theme={"system"}
X-SportXAPI-Tier-Host: paid
X-RateLimit-Limit: 2000000
X-RateLimit-Remaining: 1998412
X-RateLimit-Reset: 1482301
```

| Header | Example Value | Description |
| :- | :- | :- |
| `X-RateLimit-Limit` | `2000000` | Total monthly request allowance configured for the API key. |
| `X-RateLimit-Remaining` | `1998412` | Requests remaining in the current UTC calendar month. |
| `X-RateLimit-Reset` | `1482301` | Seconds until the next UTC month rollover (`YYYY-MM-01T00:00:00Z`). |
| `X-RateLimit-Policy` | `3000 requests/month` | Included on free host (`api.sportsxapi.com`) responses. |
| `X-SportXAPI-Tier-Host` | `free` or `paid` | Indicates which gateway host tier processed the call. |

## Quota Exceeded (`429 Too Many Requests`)

Once a key reaches `X-RateLimit-Remaining: 0`, API calls return HTTP `429`:

```json theme={"system"}
{
  "error": "Monthly rate limit exceeded"
}
```

### Demo Mode Limits (`429`)

When calling `api.sportsxapi.com` without an API key using `X-Demo-Mode: 1`, limits apply per endpoint (`5` requests) and include `X-Demo-Used` and `X-Demo-Remaining`:

```json theme={"system"}
{
  "error": "Demo limit reached",
  "message": "You have used all 5 free demo requests for this endpoint. Get an API key to continue — every plan includes this endpoint.",
  "demoLimit": {
    "endpoint": "match.live",
    "limit": 5,
    "remaining": 0
  },
  "contactUrl": "https://sportsxapi.com/contact"
}
```

> [!TIP]
>
> Use sensible polling intervals (`10s`+ on live match scores and `5m`+ on schedules or standings) and share responses across users inside your backend so your monthly quota covers higher traffic efficiently.


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