prufy
Skip to the page

APIRate limits

API

Rate limits

There's no global quota. A few specific things are limited, each for a reason: the ones that make us do DNS lookups, send email or create accounts.

The limits

ActionLimitCountedApplies to
Run a check1 every 10 secondsPer claimRun a check and Run a check by setup link share it
Start a claim20 an hourPer accountCreate a claim. Getting an existing claim back doesn't count
Start a session10 an hourPer network addressCreate a claim, when sent without a session cookie
Make a setup link10 an hourPer claimCreate a setup link, without email
Email a setup link5 an hourPer accountCreate a setup link, with email
Email a setup link10 an hourPer network addressThe same request, counted across every account on that network
Email a setup link3 every 24 hoursPer recipientThe same request, counted across every account that emails that address
Change the alert email5 an hourPer accountSet the alert email
Send a test alert10 an hourPer accountSend a test alert

Reading is never limited. Listing claims and retrieving one can be done as often as you like.

How they're counted

Each limit is a sliding window. What counts is how many times the thing was done in the hour (or the 10 seconds, or the 24 hours) before this request, not since the top of the clock. So the next one is allowed the moment the oldest one ages out, and retryAfter is exactly that long.

A refused request doesn't count against the limit that refused it. Retrying early can't push the window further away, it just gets the same answer with a smaller number.

An emailed setup link is the one action counted three ways: by account, then by network address, then by recipient. It's sent only when all three allow it. One that a later limit refuses has already counted towards the earlier ones.

The tally is kept in the database, so every server instance shares it. The checks we run on our own schedule aren't counted against anything.

A limited response

The status is 429, the kind is rate_limited, and the wait is in two places: retryAfter in the body and the retry-after header, both in seconds.

Too soon429 Too many requests
{
  "error": {
    "kind": "rate_limited",
    "message": "You can check again in 10 seconds.",
    "retryAfter": 10
  }
}

Following a claim without meeting a limit

A claim says when things will happen, so there's nothing to guess. Retrieve it as often as you need: that's free. Leave the checking to us.

FieldWhat it tells you
view.timing.nextCheckAtWhen we'll look next on our own. Read the claim again after this.
view.timing.canCheckNowAtWhen Run a check is allowed again. Null means now. Wait until this time and the request can't be limited.
view.explanation.action.kindwait means a check wouldn't help: the record is right and DNS is catching up.

On a verified or at-risk claim, nextCheckAt and canCheckNowAt sit directly on view. The schedule itself is on the Claim lifecycle page.