#Limits
What Antero Connect limits, and why. Design your client for these, and for the fact that limits can change: read Retry-After, do not hard-code a number.
#What is limited today
| Limit | Value |
|---|---|
| Request body | 1 MB (413 payload_too_large) |
| Items in one availability, rates or restrictions push | 500 |
Days in one range (date_from to date_to) | 540 |
| Page size | default 50, at most 200 |
| Idempotency key length | 1 to 200 characters |
| Webhook receiver address | at most 500 characters, https in production |
| Calendar reading | at most 62 days |
| Sign-in links | 5 per hour per email, 30 per hour per address |
| Invitations | 3 per hour per address, 30 per hour per organization |
| Booking page, looking (page and quote) | 300 per hour per address |
| Booking page, booking | 10 per hour per address, and 5 per hour per guest email |
Over a rate limit the answer is 429 too_many_attempts with a Retry-After header (seconds).
#What is not limited per key yet
Antero Connect does not count your calls per key today. That is not a promise. Please:
- Batch. One push of 500 items beats 500 pushes of one.
- Prefer webhooks to polling. A signed webhook tells you the feed moved; read the feed then. See Webhooks.
- Poll slowly when you must. The feed read is cheap; every 30 to 60 seconds is plenty, and a read that returns nothing costs nothing in the feed.
- Back off. On
429,502,503or500, wait and try again, longer each time, with a little randomness, and keep the sameIdempotency-Key.
#What channels limit
Booking channels limit how fast they take data, and Antero Connect keeps to those limits for you: it sends only what changed, in the order that sells less first, and spreads the load. You will see this as waiting, sent and confirmed states in the channel state, not as errors. A channel that asks Antero Connect to slow down shows as rate_limited (502) when you call it directly.