openapi: 3.2.0 info: title: LEGIT Referee API description: Trust-check any x402 merchant or agent address on Algorand, Base, Solana, or 17 other chains before routing a payment. version: 0.1.0 contact: name: GONNA url: https://gonna.bond/gonnaverse/ email: legit@gonna.bond x-logo: url: https://legit.gonna.bond/favicon.png x-guidance: 'LEGIT is the trust and routing layer for the x402 agentic economy. Trust-check any x402 merchant address on Algorand, Base, Solana or 17 other chains before routing a payment: grades (A+ to F) and scores (0-100) come from live uptime, latency and payment-coherence probes, never self-reported data. Run as a pre-payment trust check: call GET /v1/check/{address} before any x402 payment to an address you have not paid before. Start FREE: GET /v1/check/{address} (full trust report), /v1/leaderboard (ranked shortlist), /v1/trending, /v1/pulse, /v1/arena/preview. Paid per call in USDC over x402: GET /v1/compare (2-5 merchants head-to-head), /v1/arena (24h cross-chain settlement benchmark, ?network= filter), /v1/history?address=... (30-day trust trend), POST /v1/watch (7- or 30-day change sentinel, webhook-armed), POST /v1/deep-check (due diligence, up to 10 addresses). How to pay: call a paid endpoint without paying and it answers 402 with a PaymentRequired document listing every active rail; pay one rail and retry with the PAYMENT-SIGNATURE header. Rails cheapest first: algorand-mainnet $0.004, base-mainnet and solana-mainnet $0.005 per call. Watch companions GET /v1/watches/{watch_id} and /v1/watches/{watch_id}/events are FREE: the watch id is the bearer capability for status and the event feed. Webhook payload anatomy: /docs; agent manifest: /llms.txt. Use LEGIT before sending an x402 payment to an unknown merchant, before accepting a counterparty in agent-to-agent settlement, or to monitor a critical upstream for trust degradation.' tags: - name: Referee paths: /v1/referee/reproduce.py: get: summary: Referee Reproduce Script description: 'The standalone referee reproduction script (stdlib + httpx) as a downloadable artifact: the exact code that re-derives every published flag from the public chain indexer independently. An honest 404 when the deployment ships without the script.' operationId: referee_reproduce_script_v1_referee_reproduce_py_get responses: '200': description: Successful Response content: application/json: schema: {} security: [] tags: - Referee /v1/referee: get: summary: Referee Report description: 'The referee audit as JSON: methodology, thresholds, limitations, per-merchant verdicts with their real chain evidence. The top-level ``reproduce_script`` points at the standalone script that re-derives every flag independently.' operationId: referee_report_v1_referee_get responses: '200': description: Successful Response content: application/json: schema: type: object title: Response Referee Report V1 Referee Get security: [] tags: - Referee