ResolveFrom
Documentation menu

Limits & Credits

This page covers rate limits, vantage region selection, target server restrictions, credit weights, and what happens when a team runs out of credits.

Rate limits

Each team has a sustained request rate and burst allowance embedded in its bearer token. By default, teams allow 20 requests per second with a burst of 40.

Responses that pass the rate limiter can include:

Header Meaning
RateLimit-Remaining Whole requests remaining in the team's current allowance
RateLimit-Reset Seconds until the allowance refills to full (omitted when the limit does not refill)

When your team exceeds its allowance, the API returns 429 rate_limited with a Retry-After header (in seconds) in addition to the rate-limit headers. Requests rejected before the limiter—such as 401 missing_token—do not include rate-limit headers.

Vantage regions

The API runs on Fly.io. The region codes are listed on Regions. Pass region on the query string (?region=iad) or as a top-level field in a QUERY body:

  • Blank values are ignored.
  • If you pass region in both the query string and the body, they must be identical.
  • An invalid or unsupported code returns 400 invalid_request.
  • If the requested region cannot be reached, the API returns 503 unavailable.

Target server restrictions

When you specify a server, every target address must resolve to a publicly routable IP address. Loopback, RFC 1918 private networks, link-local, documentation, and other special-use ranges are rejected with 422 server_not_allowed.

Credit costs

Credits are deducted per admitted operation according to the following weights:

Operation Endpoint Credits
Lookup /v1/lookup 1
Reverse /v1/reverse 1
Identity /v1/identity 1
Transfer (AXFR) /v1/transfer 10

Zero balance and suspension

  • Token exchange (POST /v1/tokens): When your team's credit balance is zero, or your team is suspended, token exchange fails with HTTP 402 (Insufficient credits. or This team is suspended.) and no token is minted.
  • Overrunning the balance during use: If reported usage exceeds your remaining credit balance, the remaining balance is debited to zero, your team is suspended, and the API stops serving requests for the team with 403 team_stopped.
  • Auto top-up: Any pack can be charged to the card on file when the balance reaches a floor set on the billing page. The charge is attempted before a shortfall suspends the team.
  • Resuming access: Once credits are replenished and the suspension is lifted, mint a new bearer token at POST /v1/tokens and resume normal requests.

Problem details

All request-level errors from the DNS endpoints use Content-Type: application/problem+json (RFC 9457) with a type URI under https://resolvefrom.com/docs/errors/{code}. Browse every problem code on the Errors page.