Menu

Rate limits

What the API document says about limits on how often an operation may be called.

An operation called too often answers 429 with the code rate-limited: wait and retry. The document lists 429 for almost every operation; it does not state general numbers. Some operations state their own limits, quoted below. Wrong authenticator codes are limited too: too many make the step-up answer 429 for a while.

The weird command line exits with code 8 on a 429 (see exit codes).

269 of the 272 operations list a 429 answer. What the document says of particular limits:

  • POST /auth/account/email/start: Limited per account: past the limit 429 rate-limited, wait and retry.
  • POST /auth/account/export: One copy a day: asking again within a day answers that copy (200), or 429 rate-limited when it is gone;
  • POST /auth/emails: One code per address per 10 minutes and a few starts per account per hour (past either, 429 rate-limited);
  • POST /auth/profile/phone/verify/start: At most one code per minute and 5 per day: past that, 429 rate-limited.
  • POST /auth/signup/start: One client network starts a limited number of sign-ups an hour: past it the answer is 429 rate-limited;
  • POST /contact/verify-email/start: Starts are limited per client and per address (429 rate-limited).
  • GET /credits/balance: The account's credits: balances per credit type, their total, and spend over the last window_days (the total, the average per day and runway_days, how long the credits last at that pace;
  • GET /credits/statement: The account's credit history as a statement, newest first: the charges grouped per day, contract and resource (charge-group), every other entry (top-ups, refunds, grants) as it is (entry).
  • GET /credits/warning: status is what the last check saw: level (none, low: the first warning was sent, critical: the second was sent), balance, burn_per_hour (what the account is projected to be charged per hour), estimate (complete, or partial when a product did not answer and its charges of the last 3 hours stood in for it), breakdown (one entry per product: product, per_hour, basis and, when projected, resources: servers by tier, volumes and snapshots by GB, stored content by MB times copies, active DNS zones by their records, tunnels and p2p apps, each at the credit charges in effect, whatever is on hold, suspended or not billed left out;
  • POST /credits/withdrawals: 422 invalid-totp for a wrong or used code, and too many wrong codes are 429 rate-limited for a while).
  • POST /ipfs/domains/{id}/stats/detail: the per_host_hour credit charge of ipfs.stats-detailed-hourly times the account's sites with detailed statistics on in that hour (each site once per hour it is on for any part of) is billed every hour while what it creates exists;
  • GET /ipfs/stats/detail: Visitors are counted per day with a key that changes every day and differs per site, so they cannot be followed from day to day or across sites: visitors_sum is the sum of daily visitors, not a count of unique people, and there is no monthly unique figure.
  • GET /ipfs/stats/detail: format csv answers one line per day.
  • GET /ipfs/stats/export: The statistics of one subject over a range as a file: level summary (default: one row per day of the summary) or detail (one row per day of the detailed statistics), format csv (default;
  • GET /ipfs/stats/summary: format csv answers a CSV file (one line per day, hours as h00..h23).
  • POST /names: Refused 409 base-closed, name-reserved, name-forbidden, name-taken, name-quarantined (with until), claim-limit (the most names one account holds), base-full (this base has no room for new names right now: try another base, or later), 403 account-too-new (with retry_after, the seconds to wait, and retry_at, the instant), 429 claim-rate-limited (with retry_after, the seconds to wait, and retry_at, the instant).
  • GET /public/charges: Limited per client address (past the limit, 429).
  • GET /public/company: Limited per client address (past the limit, 429).
  • GET /public/company/{field}: Uncharged, cacheable and limited as GET /public/company.
  • GET /public/domains/availability: Limited per client address (by the minute and by the hour) and for every visitor together, the registry's protection;
  • POST /referrals/claim: Attempts are limited per account and per link: past the limit, 429 rate-limited.
  • GET /vps/instances/{id}: The state (pending, creating, running, off, deleting, deleted, failed), the addresses once running, the credit charge per hour and billing_hold (grace, powered-off or refund-pending while hours are unpaid).
  • GET /vps/tiers: The tiers on sale: the size, the credit charge per hour (credits, a decimal string), and the locations and images a create may name.