Skip to main content

Overview

Trestle enforces two types of limits: Limits vary by plan tier. Contact support@trestleiq.com to review or upgrade your limits.

Rate limit response

When a limit is exceeded, the API returns 429 Too Many Requests:

Retry strategy

Use exponential backoff when you receive a 429:

Retry rules

  • Start with a 1-second delay.
  • Double the delay on each subsequent retry (exponential backoff).
  • Add a small random jitter (e.g., ±100ms) to avoid thundering herd.
  • Stop retrying after 5 attempts or when the billing cycle quota is confirmed exhausted (quota exhaustion does not resolve with retries — upgrade the plan).

QPS vs quota errors

Both return 429, but the cause and resolution differ:

Checking usage

Log in to the Developer Portal to view current usage and quota remaining for each API key.