Skip to Content
Rate Limits

Rate Limits

The Morgen API enforces rate limits to ensure fair usage and system stability. Rate limits are applied per user.

Rate Limit Values

AuthenticationLimitWindow
API Key100 points15 minutes

Points System (API Key)

When using API Key authentication, requests consume points based on the endpoint:

EndpointPoints Cost
/list endpoints10 points
All other endpoints1 point

Rate Limit Headers

Every API response includes headers to help you track your rate limit usage. These headers follow the IETF draft standard .

HeaderDescription
RateLimit-LimitMaximum points/requests allowed in the current window
RateLimit-RemainingPoints/requests remaining in the current window
RateLimit-ResetSeconds until the rate limit window resets
Retry-AfterSeconds to wait before retrying (only present when RateLimit-Remaining is 0)

Example Headers

RateLimit-Limit: 100 RateLimit-Remaining: 90 RateLimit-Reset: 459

Handling Rate Limits

When you exceed the rate limit, the API returns a 429 Too Many Requests response. The response includes a Retry-After header indicating how long to wait before retrying.

Best Practices

  • Monitor the RateLimit-Remaining header to avoid hitting limits
  • Implement exponential backoff when receiving 429 responses
  • Use updatedAfter filters to sync only recently changed resources
  • Cache responses where appropriate to reduce API calls
Last updated on