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

# Rate limits

> 60 requests a minute for each person, shared by the REST API and the MCP server. Read the headers, and wait out a 429.

Each person can send 60 requests a minute, on every plan. One count covers everything they send:

* every API key they own, on the REST API (`/api/v1`) and on the MCP server (`/mcp`);
* the OAuth connector they approved in Claude, ChatGPT or another MCP client.

A key belongs to the workspace owner who made it, so all of an owner's keys and integrations share that owner's 60. Two people each have their own 60, even from the same server or IP address.

Every request counts, whatever it answers: a `403` or a `404` uses one too. On the MCP server, each message your client sends counts, including the ones it sends to start and to list the tools. A request without a valid key answers `401` and isn't counted.

The minute starts with your first request. When it ends, you have 60 again.

The two [agent sign-up](/docs/guides/agent-signup.md) routes need no key, so they aren't in this count. They have their own limits, per email address and per IP address: see [Limits](/docs/guides/agent-signup.md#limits).

## Headers

| Header | On | What it says |
| - | - | - |
| `X-RateLimit-Limit` | Every answer | How many requests you can send in a minute: `60`. |
| `X-RateLimit-Remaining` | Every answer | How many are left in this minute. |
| `Retry-After` | A `429` only | How many seconds to wait before you send again. |
| `X-RateLimit-Reset` | A `429` only | When you can send again, as a Unix timestamp in seconds. |

An answer within the limit:

```http theme={null}
HTTP/1.1 200 OK
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59
```

## When you go over

The 61st request in a minute answers `429` and isn't run, so it's safe to send it again, a `POST` included:

```http theme={null}
HTTP/1.1 429 Too Many Requests
Retry-After: 23
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1899795660
```

```json 429 theme={null}
{
  "message": "Too Many Attempts."
}
```

The MCP server answers the same way: an HTTP `429` with this body, not a tool result.

Wait `Retry-After` seconds, then send it again:

```javascript JavaScript theme={null}
async function send(url, options = {}) {
  for (;;) {
    const response = await fetch(url, {
      ...options,
      headers: { Authorization: 'Bearer YOUR_API_KEY', ...options.headers },
    });

    // Stop unless it's a 429 that says how long to wait.
    if (response.status !== 429 || !response.headers.has('Retry-After')) {
      return response;
    }

    const seconds = Number(response.headers.get('Retry-After'));
    await new Promise((resolve) => setTimeout(resolve, seconds * 1000));
  }
}
```

```python Python theme={null}
import time

import requests


def send(method, url, **kwargs):
    while True:
        response = requests.request(
            method, url, headers={"Authorization": "Bearer YOUR_API_KEY"}, **kwargs
        )

        # Stop unless it's a 429 that says how long to wait.
        if response.status_code != 429 or "Retry-After" not in response.headers:
            return response

        time.sleep(int(response.headers["Retry-After"]))
```

## Other limits

* **OAuth delegation** (`/api/oauth/delegate/…`, see [OAuth delegation](/docs/oauth-delegation.md)) has its own limit: 120 requests a minute for each IP address. Those requests don't count toward your 60.
* **The file links** that `POST /media/download/url` returns (`https://postsyncer.com/api/downloads/…`) have their own limit: 240 requests a minute for each IP address, so a video player can ask for several parts of a file. They don't count toward your 60 either.
* **A few calls that cost money or email someone** have a limit of their own, on top of your 60:

  * pay links (`POST /billing/links`, `create-billing-link`): 10 an hour for each person;
  * blog addresses read (`POST /blog-sources`, and `PUT /blog-sources/{id}` with a new `url`; `create-blog-source` and `update-blog-source`): 30 a day for each workspace, whatever is found there;
  * invitations (`POST /team-members`, and `PUT /team-members/{id}` with `resend_invitation`; `invite-team-member` and `update-team-member`): one a day to each address for each workspace, new or sent again, and 50 new ones a day for each workspace.

  The blog address and invitation limits are shared with the PostSyncer app: checking a blog address or making a test post on the Blog page, and inviting someone or sending an invitation again on the Team page, count toward the same daily limits.

  Past one, the call does nothing and answers `429` with `error: rate_limited`, a `message` that says when to try again, and `Retry-After`. On the MCP server it is a tool error with that `message`. A call refused for another reason doesn't count.
* **Your plan** limits accounts and, on Free, posts a month. [Plan limits](/docs/plan-limits.md) has them.
* **Each network** limits how often one account can post. TikTok and Instagram, for example, count the posts an account publishes through their APIs over 24 hours. These limits are the network's, they apply on every plan, and a post a network refuses for one fails with the network's own message. You can send it again once the network allows it.

If 60 requests a minute isn't enough for your integration, write to [support@postsyncer.com](mailto:support@postsyncer.com) with what you're building and how many requests you expect.

## Related

> [card] [Error handling](/docs/essentials/error-handling.md)
>
> Every status and `error` code, and when to try again.

> [card] [Pagination](/docs/pagination.md)
>
> Read long lists in fewer requests.


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