---
title: "Rate Limits & Error Codes"
description: "The Swipe Aras API enforces rate limits to ensure fair access. All API responses include rate limit headers so you can monitor your usage."
url: https://docs.swipearas.com/en/articles/48-rate-limits-and-error-codes
collection: "Developer API"
updated: 2026-06-12
language: en
---

# Rate Limits & Error Codes

The Swipe Aras API enforces rate limits to ensure fair access. All API responses include rate limit headers so you can monitor your usage.

The Swipe Aras API enforces rate limits to ensure fair access. All API responses include rate limit headers so you can monitor your usage.

## Rate Limits

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Limit</p></th><th colspan="1" rowspan="1"><p>Value</p></th></tr><tr><td colspan="1" rowspan="1"><p>General rate limit</p></td><td colspan="1" rowspan="1"><p>100 requests per 15 minutes (per IP address)</p></td></tr><tr><td colspan="1" rowspan="1"><p>Burst limit</p></td><td colspan="1" rowspan="1"><p>10 requests per second</p></td></tr></tbody></table>

## Rate Limit Response Headers

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Header</p></th><th colspan="1" rowspan="1"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1"><p><code>X-RateLimit-Limit</code></p></td><td colspan="1" rowspan="1"><p>Maximum requests allowed in the current window</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>X-RateLimit-Remaining</code></p></td><td colspan="1" rowspan="1"><p>Requests remaining in the current window</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>X-RateLimit-Reset</code></p></td><td colspan="1" rowspan="1"><p>Unix timestamp when the window resets</p></td></tr></tbody></table>

When you exceed the rate limit, the API returns HTTP `429 Too Many Requests`.

## Error Response Format

```json
{
  "success": false,
  "message": "The request body is missing required fields",
  "error": {
    "code": "invalid_request",
    "details": {
      "missing_fields": ["email", "businessName"]
    }
  }
}
```

## HTTP Status Codes

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Code</p></th><th colspan="1" rowspan="1"><p>Meaning</p></th></tr><tr><td colspan="1" rowspan="1"><p><code>200</code></p></td><td colspan="1" rowspan="1"><p>Request succeeded</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>201</code></p></td><td colspan="1" rowspan="1"><p>Resource created successfully</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>400</code></p></td><td colspan="1" rowspan="1"><p>Invalid request parameters</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>401</code></p></td><td colspan="1" rowspan="1"><p>Invalid or missing API key</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>403</code></p></td><td colspan="1" rowspan="1"><p>Insufficient permissions</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>404</code></p></td><td colspan="1" rowspan="1"><p>Resource not found</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>429</code></p></td><td colspan="1" rowspan="1"><p>Rate limit exceeded</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>500</code></p></td><td colspan="1" rowspan="1"><p>Server error</p></td></tr></tbody></table>

## Optional Request Headers

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Header</p></th><th colspan="1" rowspan="1"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1"><p><code>X-Request-Id</code></p></td><td colspan="1" rowspan="1"><p>Optional unique ID you provide for request tracing. Echoed back in the response.</p></td></tr></tbody></table>

> If you're building a production integration, include `X-Request-Id` in every request so you can correlate your logs with Swipe Aras support tickets.
