{"openapi":"3.1.0","info":{"title":"Rug Check (Base / x402)","version":"1.0.0","description":"On-chain token safety check for EVM tokens (Ethereum, BNB Chain, Base). Give a token address and chain, get a GO / CAUTION / DANGER verdict read directly from chain via RPC: ERC-20 validity, upgradeable-proxy detection, ownership renounce, mint capability, and LP burn, with scoring that adapts to liquidity depth. Pay-per-call in USDC via the x402 protocol on Base. No API key, no signup.","x-guidance":"Use this WHEN an agent needs an on-chain safety read on an EVM token (especially new meme coins) before acting. Body: { token, chain, mode? }. chain one of: eth, bnb, base. mode is 'auto' (default), 'new' (strict, for fresh meme coins), or 'mature' (lenient). Returns verdict GO/CAUTION/DANGER, reasons, and individual checks. IMPORTANT: a GO means no on-chain red flags in the checks performed, NOT that the token is safe. It does NOT detect honeypots or holder concentration. Reputable centrally-controlled tokens may show CAUTION. Unpaid requests return HTTP 402 with an x402 payment requirement (USDC on Base); pay with an x402 client and retry. Full agent docs at /llms.txt.","contact":{"name":"Rug Check Base","email":"vanlucpdu@gmail.com","url":"https://base-rugcheck.vercel.app"}},"servers":[{"url":"https://base-rugcheck.vercel.app"}],"x-docs":{"llmsTxt":"https://base-rugcheck.vercel.app/llms.txt"},"x402Version":2,"x-discovery":{"ownershipProofs":["0xcd6b6d99b7751ff30b68fa1365488eb73fa7cefa"]},"x-payment":{"x402Version":2,"protocol":"x402","network":"eip155:8453","caip2":"eip155:8453","asset":"USDC","payTo":"0xcd6b6d99b7751ff30b68fa1365488eb73fa7cefa","price":{"amount":"0.01","currency":"USD"}},"x-chains":["eth","bnb","base"],"paths":{"/api/rugcheck":{"post":{"operationId":"rugCheckBase","summary":"On-chain rug/safety check for an EVM token (GO/CAUTION/DANGER), paid via x402 on Base","tags":["crypto","security","token","rugcheck","evm","base","meme","x402"],"x-payment-info":{"x402Version":2,"price":{"mode":"fixed","amount":"0.01","currency":"USD"},"protocols":["x402"],"network":"eip155:8453","asset":"USDC","payTo":"0xcd6b6d99b7751ff30b68fa1365488eb73fa7cefa"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","description":"Token contract address (0x...)."},"chain":{"type":"string","enum":["eth","bnb","base"],"description":"EVM chain to read the token on."},"mode":{"type":"string","enum":["auto","new","mature"],"description":"Scoring mode. auto (default) adapts to liquidity depth; new = strict; mature = lenient."}},"required":["token","chain"]}}}},"responses":{"200":{"description":"Rug check verdict and checks.","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"chain":{"type":"string"},"token":{"type":"string"},"tokenInfo":{"type":"object"},"mode":{"type":"string","enum":["new","mature"]},"maturity":{"type":"object"},"verdict":{"type":"string","enum":["GO","CAUTION","DANGER"]},"reasons":{"type":"array","items":{"type":"string"}},"checks":{"type":"array","items":{"type":"object"}},"notChecked":{"type":"array","items":{"type":"string"}},"explorer":{"type":"string"},"disclaimer":{"type":"string"}},"required":["type","chain","token","verdict","reasons"]}}}},"400":{"description":"Bad Request - missing/invalid token or chain."},"402":{"description":"Payment Required (x402, USDC on Base)"}}}}}}