Antero Connect Docs

#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

LimitValue
Request body1 MB (413 payload_too_large)
Items in one availability, rates or restrictions push500
Days in one range (date_from to date_to)540
Page sizedefault 50, at most 200
Idempotency key length1 to 200 characters
Webhook receiver addressat most 500 characters, https in production
Calendar readingat most 62 days
Sign-in links5 per hour per email, 30 per hour per address
Invitations3 per hour per address, 30 per hour per organization
Booking page, looking (page and quote)300 per hour per address
Booking page, booking10 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, 503 or 500, wait and try again, longer each time, with a little randomness, and keep the same Idempotency-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.