Rate Limits
Understand how the CHRT API enforces request and usage limits.
Overview
The CHRT API uses a sliding-window rate limiter to ensure fair usage and protect service quality. Limits are enforced per API key at two levels: per-minute request limits and monthly usage caps.
Per-minute limits
Feature-API request limits are calculated per key over a 60-second sliding window. When exceeded, subsequent requests return 429 Too Many Requests. Tile requests are rate-limited separately, per key, at the tile edge — the limit rides your tile token.
| Plan | Feature API requests / min |
|---|---|
| Free | 60 |
| Dev | 180 |
| Pro | 600 |
| World | 1,200 |
| Enterprise | Custom |
CHRTweather
The weather routes (/v1/weather/*) are limited per client IP, not per key: 60 requests per 10 seconds, shared by all three routes. Weather does not count against your key's per-minute limit. Every weather response carries the X-RateLimit-* headers below for this window, and its 429 carries "code": "rate_limited" and a Retry-After computed from when a slot frees. Devices that share one address (cellular carrier NAT, marina Wi-Fi) share the window.
Monthly usage caps
Each plan includes a monthly allocation of tile serves and feature API calls (/features and /query share the same allowance). Caps are hard limits by default — once reached, requests return 429 until the next billing period. Teams with overage billing enabled (Platform → Limits) instead continue past the plan quota as metered usage, until the team's monthly spend cap is reached. An explicit per-key limit is always a hard ceiling, and can cap below — never above — the plan quota. Usage resets at the start of each billing period.
| Plan | Tile serves / month | Feature API calls / month |
|---|---|---|
| Free | 5,000 | 2,500 |
| Dev | 10,000 | 10,000 |
| Pro | 50,000 | 50,000 |
| World | 100,000 | 100,000 |
| Enterprise | Custom | Custom |
World and Enterprise are not currently open for self-serve signup — contact us for volume needs. Free, Dev and Pro are available at /plans.
Rate limit headers
Every API response includes headers to help you monitor your usage:
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests allowed in the current window |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp when the current window resets |
Retry-After | Seconds to wait before retrying (only on 429 responses) |
429 response
When you exceed a rate limit, the API returns:
{
"error": "rate_limit_exceeded",
"message": "Too many requests. Please wait before retrying.",
"retry_after": 12
}Best practices
- Cache tiles locally — Tiles include
Cache-Controlheaders. Honor them to reduce redundant requests. - Implement exponential backoff — On 429 responses, wait the
Retry-Afterduration, then retry with increasing delays. - Monitor usage in the dashboard — Track your consumption in real time at
/app/usage. - Set usage alerts — Configure threshold notifications in
/app/limitsto stay ahead of your monthly limit. - Use a single key per app — Don't rotate keys to circumvent limits; this may result in key revocation.
Per-key overrides
Individual API keys can have custom rate and tile limits configured by team admins. Check your key's limits in the /app/keys dashboard.
curl -I "https://api.chrt.co/v1/features?bbox=-71,42,-70,43&limit=1" \
-H "x-api-key: YOUR_API_KEY"HTTP/2 200
X-RateLimit-Limit: 600
X-RateLimit-Remaining: 594
X-RateLimit-Reset: 1710000060For situational awareness only — not for primary navigation. CHRT is not an ECDIS and is not SOLAS-compliant.