Rate Limiting

The Truss API implements rate limiting to ensure fair usage and maintain service stability for all users.

Rate Limit Details

All API endpoints are subject to rate limiting based on your API credentials. When you exceed the rate limit, the API will return a 429 Too Many Requests response. The body of the response will indicate when the endpoint will become available.

The following are the general rate limits for endpoints:

Environment Limit
sandbox 600 requests/minute, 10000 requests/day
production 120 requests/minute, 3000 requests/day

We recommend implementing exponential backoff to retry after 429 responses.

Example Error Response

{ 
  {
    "detail": "Request was throttled. Expected available in 15 seconds.",
    "error_code": "throttled"
  }
}