Skip to Content
Developers

Rate limits

How many requests you can make.

LimitDefault
Per token30 requests per minute
Per organisation, all tokens together60 requests per minute
Writes per organisation20 per minute

Check your limits

The limits can differ per organisation. GET /v1/me returns the limits that apply to your token in rate_limits:

{
  "object": "token",
  "rate_limits": {
    "per_token_per_minute": 30,
    "per_organization_per_minute": 60,
    "writes_per_organization_per_minute": 20
  }
}

The organisation limits are shared: two integrations with their own tokens in the same organisation use the same 60 requests per minute.

Headers

Every response carries X-RateLimit-Limit and X-RateLimit-Remaining. Watch X-RateLimit-Remaining to slow down before you hit the limit.

Over the limit

You get status 429 with a Retry-After header in seconds and the usual error body:

{
  "error": {
    "type": "rate_limit_error",
    "code": "rate_limited",
    "message": "...",
    "param": null
  }
}

Wait the number of seconds in Retry-After and try again:

async function request(url, options) {
  const response = await fetch(url, options);

  if (response.status === 429) {
    const seconds = Number(response.headers.get('Retry-After') ?? 1);
    await new Promise((resolve) => setTimeout(resolve, seconds * 1000));

    return request(url, options);
  }

  return response;
}

When you retry POST /v1/orders, send the same Idempotency-Key so the order is never created twice.

Stay within the limits

  • Use webhooks instead of polling for changes.
  • Sync with updated_since and limit=100, so each run only fetches what changed in as few requests as possible. See pagination and filters.
  • Spread bulk work, such as creating many orders, over time instead of sending it all at once.

Higher limits

Need more? An organisation can request higher limits in Tixxy at Organisation > Settings > API. Before you do, consider webhooks instead of polling for changes.

On this page