Token Verdict — API Docs

Deterministic market-health analysis for Solana & Base tokens. Live data from DexScreener (free, no key). One call = one token. Not a honeypot or rug detector — it scores market health only. Entertainment only — not financial advice.

Endpoints

EndpointPriceDescription
GET /v1/verdict?chain=&address=$0.02 USDCScore 0-100, grade A-F, one-line verdict, roast, shareable card URL, price, liquidity, volume, flags
GET /v1/pairs?chain=&address=$0.02 USDCRaw list of trading pairs for the token
GET /card/<id>freeShareable verdict card page (OG meta tags, image at /card/<id>.svg). Card dibuat otomatis dari tiap verdict berbayar, tersimpan 30 hari.
GET /card/<id>.svgfreeVerdict card sebagai gambar SVG (grade, skor, token, roast)
GET /payfree page, $0.02 per scoreBayar lewat wallet extension (MetaMask) dan lihat skor di browser — tanpa curl. Rail: Circle Gateway (saldo Gateway) atau CDP Facilitator (USDC wallet langsung)
GET /gateway-balance?address=freeSaldo Gateway USDC (yang sudah di-deposit) untuk satu alamat — yang dipakai settle rail Gateway, bukan saldo wallet biasa
GET /healthfreeHealth check
GET /.well-known/x402freex402 payment manifest for crawlers (verdict + pairs, semua payment rail)
GET /openapi.jsonfreeOpenAPI 3.1 specification
GET /docsfreeThis page
GET /skill.mdfreeAgent skill — instructions for AI agents (endpoints, payment flow, scoring)
GET /llms.txtfreellms.txt link index for crawlers and agents
GET /pricing.mdfreePricing table — paid endpoints, atomic amounts, rails, settlement

Parameters

chain: solana (default) or base. address: Solana base58 address, or 0x + 40 hex for Base. You can also use token instead of address. Invalid parameters return 400 before any payment is requested, so you never pay for a bad request.

Payment (x402, $0.02 USDC per paid call)

Paid endpoints return 402 Payment Required when called unpaid, with a PAYMENT-REQUIRED header containing a base64 x402 v2 envelope. The envelope offers tiga payment rails on Base (eip155:8453) in USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) to 0xcbc0337a3955d270cf3b49733a9c03d0af06dc29 — pick either accept: (1) Circle Gateway (batched settlement, facilitator https://gateway-api.circle.com, accept extra.name is GatewayWalletBatched); (2) CDP Facilitator (Coinbase, facilitator https://api.cdp.coinbase.com/platform/v2/x402, accept extra.name is USD Coin dengan extra.facilitator menunjuk URL CDP; pembayaran yang settle lewat rail ini — dengan extensions.bazaar di payload — memicu indexing endpoint di CDP Bazaar); (3) standard x402 exact (facilitator https://x402.org/facilitator, accept extra.name is USD Coin with version 2, the token's own EIP-712 domain). Then repeat the request with the payment-signature header set to the base64 payment payload; a successful call returns 200 plus a PAYMENT-RESPONSE header with the settlement receipt. A manifest of the paid routes is published at /.well-known/x402 for crawlers.

curl "https://token-verdict.omnifracturedrifter.workers.dev/v1/verdict?chain=solana&address=So11111111111111111111111111111111111111112"
# -> 402, PAYMENT-REQUIRED header holds the x402 envelope (accepts[])

Scoring (deterministic, no LLM)

Score 0-100 = liquidity 30 + turnover (volume/liquidity) 20 + momentum 15 + buy/sell flow 15 + pair spread 10 + pair age 10. Grades: A ≥ 80, B ≥ 65, C ≥ 50, D ≥ 35, F < 35. Results are cached 60 seconds per address.

Roast (entertainment, never affects the score)

Every paid verdict also returns a short humorous roast (1-2 sentences, English), generated from the grade, score and market metrics only. The roast is entertainment — not financial advice — and never changes the score. If the roast generator is unavailable, the verdict still returns 200 with roast: null and degraded: ["roast:unavailable"].

Verdict card

Every paid verdict returns a cardUrl (/card/<id>) — a shareable card page with Open Graph tags and an SVG image (/card/<id>.svg). Cards are stored 30 days. Card routes are free and never charge or settle.

CDP Bazaar discovery

The 402 response for /v1/verdict carries extensions.bazaar discovery metadata (plain-language description, input/output schemas, one example). A paid call that settles through the CDP Facilitator with extensions.bazaar in the payment payload triggers indexing of the endpoint in the CDP Bazaar (Coinbase discovery catalog).

Contact

Questions or issues: lord4irdrop@gmail.com. OpenAPI spec: /openapi.json.