All articles

Agent infrastructure

An agent’s guide to paying for verification

Free tiers first, prepaid USDC second: keys, invoices, idempotency and error handling for agents that verify bets programmatically.

ProvablyFair.click · November 21, 2026

AI agents connecting to the verification API

Why verification has a price at all

A verification call is small but not free to provide: it consumes compute, storage for usage records, and the maintenance of a versioned reference engine whose results other people rely on. Metering it per call, at published prices, is what keeps the service independent — the fee is the same whether the bet you are checking passes or fails, and it is agreed before the call, not negotiated after the result.

The full price list is public and short: single-bet verification 0.002 USDC per call, batch verification 0.001 USDC per round, the prelaunch assessment suite 15 USDC per run, signed evidence 5 USDC per report, certificate lookups free. If a price is not on the published list, we do not charge it. Everything below is about spending as little of that as possible while never paying twice for the same work.

Start free — twice over

Do not pay for your first thousand calls; you will not need to. With no key and no account at all, single-bet verification is free for 10 calls a day per IP address, and the game catalogue, the exact slots RTP calculator and the public service statistics are free without limits that matter in practice. That is enough to build and test a complete integration against the live API, with real responses and the same result shape as paid calls.

Create a free agent key and the allowance jumps: 1,000 free verifications per calendar month on each key, before per-call billing starts. Free calls return the same result as paid ones, plus a freeTier field reporting the tier, the limit and how many calls remain in the period — read it, log it, and let it drive your budgeting instead of guessing. Batch checks, suites and evidence are paid from the first use; subscriptions change that math, as covered below.

Getting and handling a key

Keys are self-serve: sign in on the website, create a key on the For Agents page, and store it immediately — a key is shown once, in full, at creation and never again. An account can hold up to five active keys, which maps naturally to one key per environment or per agent, and any key can be disabled instantly from the portal if it leaks. Send it as Authorization: Bearer pfc_… and nowhere else: not in URLs, not in logs, not in prompts that get stored.

Treat a key like money, because it is: it spends a prepaid balance. Separate keys per agent also give you per-agent accounting for free, since balances and free-tier allowances are tracked per key. If a call returns 401, the key is missing, malformed or disabled — check the obvious before assuming an outage.

Topping up by invoice, never by vibes

Paid calls draw on prepaid USDC credit. Top-ups are invoice-based with a 10 USDC minimum value, payable as USDC on Ethereum, BTC on Bitcoin or SOL on Solana. The flow is strict on purpose: create the invoice through the API, pay the exact amount to the invoice’s recipient, then claim it with the transaction hash. The service reads the transaction on-chain and checks the asset, recipient, amount and reference before crediting — 12 confirmations on Ethereum, 6 on Bitcoin, finality on Solana.

Two rules protect you. First, never send funds to an address an endpoint merely displays, and never without a server-created invoice: direct claims without an invoice are rejected, by design. Second, if a claim returns 409 unconfirmed, the payment simply has not reached its confirmation threshold yet — wait and claim the same invoice with the same hash again. Paying a second time is the one unforced error this system cannot refund automatically. A transaction can only ever be claimed once; replay protection is enforced atomically, so a hash cannot fund two agents or unlock two products.

Idempotency: the header that saves your balance

Every billable call takes an X-Idempotency-Key header, and you should treat it as mandatory in your own client code even where the API is lenient. Generate a unique key per logical request — a UUID per verification job works — and reuse that same key on every retry of that job. The service binds the charge and the result to the key and a digest of the request: a retry returns the original result without charging again, whether the first attempt timed out, your process crashed, or your orchestrator simply lost the response.

Reusing a key for a different request is the opposite sin: it returns 409 duplicate_request rather than silently running the wrong job. Charges are atomic in the other direction too — a call that fails validation is never billed, and a call that would overdraw the balance returns 402 insufficient_credit without charging. Design your retry loop around those guarantees: retry freely with the same key, never with a new key for the same job, and treat 402 as a signal to top up, not to retry harder.

Errors an agent should plan for

The API speaks a small, stable error vocabulary, and your client should branch on the code, not the message text. 400 invalid_input means your request is malformed — for verify_bet, the classic cases are a protocol value other than exactly pfc-hmac-v1, a serverSeedHash that is not the 64-character commitment, or an observedOutcome sent as a bare number instead of the outcome object or display string. 429 means rate limited or the free tier is exhausted — back off, or switch to a key. 503 codes (oracle_unavailable, rpc_unavailable, ai_unavailable) are transient by definition: the service would rather pause than price or verify on bad data, so retry with the same idempotency key after a delay.

One environmental note: Cloudflare bot protection currently challenges some non-browser API clients (error 1010). Sending a standard browser User-Agent header works around it while the edge rule is adjusted. The API itself accepts any client, and MCP hosts are unaffected in practice.

When a subscription beats prepaid

If your verification volume is steady, price both paths. Verifier Pro at $29 per 30 days raises the free allowance to 5,000 verifications a month per key and includes 1 prelaunch suite and 2 signed evidence exports a month. Studio Integrity at $149 raises it to 25,000 a month with 5 suites and 10 evidence exports. Against prepaid rates — 0.002 USDC per verification, 15 per suite, 5 per evidence export — a subscription pays for itself quickly for monitoring-style workloads that re-verify continuously.

Also route work to the cheapest correct tool: batch verification at 0.001 USDC per round is half the per-round price of single calls, so accumulate rounds and batch them where latency allows. Use the free slots_rtp and list_games calls liberally — configuration questions answered free should never become paid verification calls with junk inputs.

What the money never buys

A closing boundary, because agents should encode it too: payment buys computation, not conclusions. A paid verification returns the same reference result a free one does; a paid suite is a reference check, not certification; signed evidence is an HMAC-sealed report of a reference round, explicitly not an independent audit certificate. Certification requires a scoped human engagement, a published report and a reviewer’s decision, and no balance, subscription or API call can purchase one.

That separation is what makes the paid results worth anything to the people your agent reports to. Spend on verification freely — just never let a receipt be mistaken for a verdict.