# Error codes and limits

> Harem Gold API error codes (401, 403, 404, 429, 503), per-minute rate limits, monthly quota and the X-RateLimit-Remaining and X-Quota-Remaining response headers.

Source: https://docs.pixcharp.com/en/errors-and-limits · Last updated: 2026-11-27

Errors come back with an HTTP status and a machine-readable error code. Limits depend on your plan, and what you have left is in the response headers.

## Error codes

Successful and throttled responses expose the API version, rate limit, and monthly quota state when available.

| HTTP | Code | Meaning |
| --- | --- | --- |
| 401 | `api_key_required / invalid_api_key` | Authentication is missing or invalid. |
| 403 | `revoked_api_key / inactive_client / ip_not_allowed` | The key or account is disabled, or the address is not whitelisted. |
| 404 | `unknown_symbol` | The symbol is not available. |
| 429 | `rate_limit_exceeded / monthly_quota_exceeded` | Slow down or upgrade the plan. |
| 503 | `price_feed_empty` | The upstream price data is not ready. |

Response headers: `X-API-Version`, `X-RateLimit-Remaining`, `X-Quota-Remaining`

## Limits by plan

REST calls and WebSocket messages share one monthly quota, which resets on the 1st (UTC).

| Plan | Monthly requests | Per-minute limit | WebSocket connections | Allowed IPs |
| --- | --- | --- | --- | --- |
| Trial | 10,000 | 30 | 1 | 1 |
| Starter | 200,000 | 60 | - | 1 |
| Pro | 1,000,000 | 180 | 2 | 4 |
| Business | 5,000,000 | 600 | 10 | 10 |

## Links

- Documentation home: https://docs.pixcharp.com/en
- Product page and plans: https://pixcharp.com/en/harem-gold-api
- Customer dashboard: https://panel.pixcharp.com/en/api/login
- JavaScript/TypeScript client (open source): https://github.com/Baristopal/harem-altin-api
- Türkçe sürüm: https://docs.pixcharp.com/hata-kodlari.md
- Contact: hello@pixcharp.com
