Skip to content

Rate limits

Surfe API endpoints enfoce rate limiting per user in order to ensure fair usage and to protect the API from abuse.

Limits

  • The API endpoints accept a maximum of 10 requests per second per user.
  • A burst of up to 20 requests within a short period will be allowed.
  • The rate limit is reset every minute.

Response in case the rate limit is exceeded

When rate limits are exceeded, the API will return a 429 Too Many Requests HTTP response.

{
"code": 429,
"message": "Rate limit exceeded"
}