For AI agents

Agents can check fairness too.

Betting agents, trading bots and autonomous players can verify outcomes before and after they wager. Start free with no key at all — paid calls need a self-serve agent key and prepaid credit, no card required.
A bright minimalist workspace with a laptop on a marble desk

Start free — no key, no wallet

Single-bet verification is free: 10 calls per day with no key at all, and 1000 free calls a month on every agent key before per-call billing starts. Certificate lookups and balance checks are always free. Batch checks, prelaunch suites and signed evidence are paid only.

Quickstart — 60 seconds

No key needed for your first call. Verify a reference round with curl, or connect the MCP server to your agent.

First call — free, no key

curl -X POST https://api.provablyfair.click/api/v1/verify \
  -H "Content-Type: application/json" \
  -d '{
    "protocol": "pfc-hmac-v1",
    "game": "dice",
    "serverSeed": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
    "serverSeedHash": "c6e10d0dc8b822097c87ad06e68bd90cb71dcef5f8f54a9034ab6aeb35999afc",
    "clientSeed": "player-seed-4815",
    "nonce": 42,
    "observedOutcome": {"roll": 88.25}
  }'

Returns verified_reference_round — the worked example from our Learn guides. 10 free calls a day per IP.

MCP server config

{
  "mcpServers": {
    "provablyfair": {
      "type": "http",
      "url": "https://api.provablyfair.click/mcp",
      "headers": {
        "Authorization": "Bearer pfc_YOUR_AGENT_KEY"
      }
    }
  }
}

Works in Claude Code and any MCP client with Streamable HTTP. Without a key, the three no-key tools (list_games, slots_rtp, verification_stats) still work, and verify_bet works on the free IP tier (10/day). Machine-readable docs: llms.txt · llms-full.txt · OpenAPI JSON

Free tools — no key needed

Three endpoints are free and open to any agent, with no key and no wallet. They are also available as MCP tools (list_games, slots_rtp, verification_stats).

Game catalog

All 12 supported games with their parameters, outcome shapes and reference RTP where applicable.

curl https://api.provablyfair.click/api/v1/games

Exact slots RTP

Analytic RTP for any slots configuration — no simulation. The reference config returns 95.72% (5 reels) or 93.87% (3 reels).

curl -X POST https://api.provablyfair.click/api/v1/slots/rtp \
  -H "Content-Type: application/json" \
  -d '{"reels":5}'

Public stats

Real verification counts by outcome, plus batch, suite and evidence usage — and when counting began.

curl https://api.provablyfair.click/api/v1/stats

Your agent keys

Create up to 5 active keys per account. Each key gets 1000 free verifications a month, then bills from prepaid USDC credit.

Checking your account…

How an agent pays

The current implementation uses authenticated agent API keys and prepaid Ethereum USDC credit. It is not a generic HTTP 402 facilitator for arbitrary wallets: an agent creates a server-side invoice, pays that exact invoice and submits the transaction hash for verification.

1. Get a key

Create an agent API key below with your account — free, self-serve. Calls authenticate with Authorization: Bearer pfc_….

2. Create an invoice

POST /api/v1/credits/invoices for a unique USDC amount (minimum 10 USDC, 30-minute window).

3. Pay on-chain

The agent's wallet sends that exact amount in ETH, USDC, BTC or SOL to the invoice's receiving address.

4. Claim and call

Submit the transaction id to /api/v1/credits/claim. Once the chain confirms it (12 blocks on Ethereum, 6 on Bitcoin, finality on Solana), the balance is credited and paid tools unlock.

Per-call billing

Every paid call deducts its exact price from your prepaid balance — 0.002 USDC per verification, 0.001 USDC per batched bet. No transfer per call; top up only when the balance runs low. Each charge is idempotent, so a retried request is never billed twice.

Prepaid credit

The agent creates a unique invoice, sends at least 10 USDC worth of value — USDC on Ethereum, BTC on Bitcoin, or SOL on Solana — and claims it with the transaction hash or signature. The server verifies the exact asset, amount, recipient, invoice window and required confirmations (12 on Ethereum, 6 on Bitcoin, finality on Solana) before crediting the account. Top-ups are live now.

Agent price list

Usage is billed separately from human subscriptions. All prices are in USDC.

CallUnitPrice
Single bet verificationper call0.002 USDC
Batch verificationper bet0.001 USDC
Certificate status lookupper callFree
Automated assessment suiteper run15 USDC
Signed evidence exportper report5 USDC

Tool catalogue

ToolWhat it doesPrice
verify_betRecompute one supported pfc-hmac-v1 reference round.0.002 USDC per call
verify_batchRun up to 50 reference round checks in one request.0.001 USDC per bet
prelaunch_suiteRun a defined batch of prelaunch reference test vectors; not certification.15 USDC per run
signed_evidenceProduce an HMAC-sealed reference record when the signing key is configured.5 USDC per report
certificate_statusRead the status of an actually issued certificate.Free
credit_balanceRead the authenticated agent's prepaid USDC balance.Free with a key
monitoring_statusYour monitored games: subscription tier, last run and open alerts.Free with a key
monitoring_alertsYour unacknowledged monitoring alerts, newest first.Free with a key
list_gamesThe full 12-game catalog with parameters and outcome shapes.Free — no key
slots_rtpExact analytic RTP for a slots configuration.Free — no key
verification_statsPublic verification counts and service usage.Free — no key

Two ways to connect

  • REST API: versioned endpoints for verification, batches, prelaunch reference suites, signed evidence, certificate status and prepaid balance. See Swagger.
  • MCP: Streamable HTTP JSON-RPC with initialize, ping, tools/list and tools/call. The same agent authorization and accounting applies to paid calls.

What agents can't buy

Agents can run automated checks, but they can't buy certification. Certificates always need a scoped engagement and approval from a human reviewer.

See human plans