Skip to main content

What happens if I exceed my monthly API credits?

Requests return 429 Too Many Requests. Rejected quota or rate-limit calls are not charged for that request. Use portalUrl and the credit headers to distinguish a quota error from the RPS limit.

J
Written by Javier Diaz

Requests return 429 Too Many Requests if the monthly API credit quota is exceeded. Rejected quota or rate-limit calls are not charged for that request. Use portalUrl and the credit headers to distinguish a quota error from the default 10-request-per-second limit.

Definition

Monthly credits are a quota, separate from the short-window rate limit. Both conditions can return HTTP 429.

How it works

  • Read the error payload and portalUrl for plan upgrades or key management in the Developer Portal.

  • Inspect x-enso-credits-used, x-enso-credits-limit, x-enso-credits-remaining, and x-enso-credits-reset on successful calls so you can warn before the quota is exhausted.

  • x-enso-credits-reset is the start of the next UTC month.

  • Requests rejected before they are processed, including an exceeded quota, are not charged and do not include x-enso-credits-request.

How Enso does this

Authentication documents both 429 cases, the credit headers, and portalUrl. The default rate limit (10 RPS) can be increased on demand; a monthly quota is a different limit. See What are Enso API credit headers? and Why did the Enso API return 429?

FAQ

Is a credits 429 the same as the 10 RPS limit?

No. Both are 429. Use the payload, portalUrl, and credit headers to tell them apart.

Are rejected 429 calls billed?

No. Rejected quota or rate-limit calls are not charged for that request.

Related articles

  • What are Enso API credit headers?

  • Why did the Enso API return 429?

  • What is the default Enso API rate limit?

  • Why is there a portalUrl in an Enso error?

  • How do I authenticate Enso API requests?

Sources

Did this answer your question?