{"info":{"contact":{"email":"x402@cyberwarex.com"},"description":"Is this token safe to trade? Deterministic honeypot/rug simulation (eth_call state-override on real DEX pools: Aerodrome, Uniswap V2/V3/V4), contract-powers analysis, and GoPlus/honeypot.is cross-checks on Base & BSC. Grades A\u2013F. Pay-per-call via x402 (USDC on Base, v1+v2 dual-stack).","title":"DeFi Safety Oracle","version":"2.1.0","x-guidance":"All endpoints are GET with ?address=0x\u2026&chain=base|bsc. Use /honeypot for a fast buy/sell simulation verdict, /contract for owner-powers analysis, /token for the full graded report (sim + powers + cross-venue checks). Unpaid calls return x402 402 challenges; pay USDC on Base and retry with X-PAYMENT or PAYMENT-SIGNATURE."},"openapi":"3.1.0","paths":{"/.well-known/x402":{"get":{"operationId":"x402_manifest","responses":{"200":{"description":"manifest JSON"}},"security":[],"summary":"Machine-readable service manifest"}},"/contract":{"get":{"operationId":"contract_powers","parameters":[{"description":"ERC-20 token contract address (0x\u2026)","in":"query","name":"address","required":true,"schema":{"type":"string"}},{"description":"Chain to analyze","in":"query","name":"chain","required":false,"schema":{"default":"base","enum":["base","bsc"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"grade":{"enum":["A","B","C","D","F"],"type":"string"},"powers":{"items":{"type":"string"},"type":"array"},"summary":{"type":"string"},"tradeable":{"type":"boolean"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Contract powers \u2014 owner privileges, mint/pause/blacklist analysis","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.010000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}},"/deployer":{"get":{"operationId":"deployer_reputation","parameters":[{"description":"ERC-20 token contract address (0x\u2026)","in":"query","name":"address","required":true,"schema":{"type":"string"}},{"description":"Chain to analyze","in":"query","name":"chain","required":false,"schema":{"default":"base","enum":["base","bsc"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"available":{"type":"boolean"},"dead_tokens":{"type":"integer"},"deployer":{"type":"string"},"malice_rate":{"type":"number"},"penalty":{"type":"integer"},"prior_malice_tokens":{"type":"integer"},"reason_codes":{"items":{"type":"string"},"type":"array"},"summary":{"type":"string"},"total_deployed":{"type":"integer"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Deployer reputation \u2014 prior honeypot/scam tokens from the deploying wallet (our ledger); dead launches excluded, shared-infra wallets exempt. A look-harder prior, not proof","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.010000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}},"/health":{"get":{"operationId":"health","responses":{"200":{"description":"ok"}},"security":[],"summary":"Health check"}},"/honeypot":{"get":{"operationId":"honeypot_check","parameters":[{"description":"ERC-20 token contract address (0x\u2026)","in":"query","name":"address","required":true,"schema":{"type":"string"}},{"description":"Chain to analyze","in":"query","name":"chain","required":false,"schema":{"default":"base","enum":["base","bsc"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"grade":{"enum":["A","B","C","D","F"],"type":"string"},"is_honeypot":{"type":"boolean"},"summary":{"type":"string"},"tradeable":{"type":"boolean"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Honeypot check \u2014 deterministic buy/sell simulation on the live pool","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.020000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}},"/risk/explain":{"get":{"operationId":"risk_explain","parameters":[{"description":"ERC-20 token contract address (0x\u2026)","in":"query","name":"address","required":true,"schema":{"type":"string"}},{"description":"Chain to analyze","in":"query","name":"chain","required":false,"schema":{"default":"base","enum":["base","bsc"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"grade":{"enum":["A","B","C","D","F"],"type":"string"},"recommendation":{"properties":{"action":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"}},"type":"object"},"summary":{"type":"string"},"tradeable":{"type":"boolean"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Agent verdict \u2014 ALLOW/LIMIT/RECHECK/BLOCK with reason codes and an overall risk score","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.010000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}},"/screen":{"post":{"operationId":"batch_screen","requestBody":{"content":{"application/json":{"example":{"tokens":[{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","chain":"base"}]},"schema":{"properties":{"tokens":{"items":{"properties":{"address":{"type":"string"},"chain":{"enum":["base","bsc"],"type":"string"}},"required":["address"],"type":"object"},"maxItems":25,"minItems":1,"type":"array"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"summary":{"properties":{"errors":{"type":"integer"},"honeypots":{"type":"integer"},"screened":{"type":"integer"},"tradeable":{"type":"integer"}},"type":"object"},"tokens":{"type":"array"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Batch screen \u2014 up to 25 tokens assessed in parallel (same engine as /token)","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.100000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}},"/template":{"get":{"operationId":"template_reputation","parameters":[{"description":"ERC-20 token contract address (0x\u2026)","in":"query","name":"address","required":true,"schema":{"type":"string"}},{"description":"Chain to analyze","in":"query","name":"chain","required":false,"schema":{"default":"base","enum":["base","bsc"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"available":{"type":"boolean"},"dead_peers":{"type":"integer"},"malice_peers":{"type":"integer"},"malice_rate":{"type":"number"},"peers":{"type":"integer"},"penalty":{"type":"integer"},"reason_codes":{"items":{"type":"string"},"type":"array"},"selector_fp":{"type":"string"},"summary":{"type":"string"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Contract-template reputation \u2014 bytecode-fingerprint peers that were honeypots/scams (dead peers excluded, common library shapes exempt). A code-level prior, not proof","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.010000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}},"/token":{"get":{"operationId":"token_report","parameters":[{"description":"ERC-20 token contract address (0x\u2026)","in":"query","name":"address","required":true,"schema":{"type":"string"}},{"description":"Chain to analyze","in":"query","name":"chain","required":false,"schema":{"default":"base","enum":["base","bsc"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"grade":{"enum":["A","B","C","D","F"],"type":"string"},"summary":{"type":"string"},"tradeable":{"type":"boolean"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Full token safety report \u2014 simulation + powers + cross-venue checks","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.030000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}},"/v1/risk/check":{"get":{"operationId":"risk_check","parameters":[{"description":"ERC-20 token contract address (0x\u2026)","in":"query","name":"address","required":true,"schema":{"type":"string"}},{"description":"Chain to analyze","in":"query","name":"chain","required":false,"schema":{"default":"base","enum":["base","bsc"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"confidence":{"type":"integer"},"controllers":{"type":"object"},"dynamic_tax":{"type":"object"},"grade":{"enum":["A","B","C","D","F"],"type":"string"},"honeypot_probability":{"type":"integer"},"liquidity":{"type":"object"},"privileges":{"type":"object"},"recommendation":{"type":"object"},"scam":{"type":"object"},"summary":{"type":"string"},"tradeable":{"type":"boolean"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Full risk decomposition \u2014 per-dimension honeypot/rug/admin/liquidity/scam scores, confidence, contract privileges, dynamic-tax ceiling, effective controllers, a buy/sell simulation matrix, and non-honeypot scam detection (LP lock, holder concentration, supply inflation, liquidity trend, contract age)","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.030000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}},"/verdict":{"get":{"operationId":"screen_verdict","parameters":[{"description":"ERC-20 token contract address (0x\u2026)","in":"query","name":"address","required":true,"schema":{"type":"string"}},{"description":"Chain to analyze","in":"query","name":"chain","required":false,"schema":{"default":"base","enum":["base","bsc"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"action":{"type":"string"},"deployer_prior_scams":{"type":"integer"},"grade":{"type":"string"},"is_honeypot":{"type":"boolean"},"reasons":{"items":{"type":"string"},"type":"array"},"template_prior_rugs":{"type":"integer"},"verdict":{"enum":["GREEN","CAUTION","BLOCK"],"type":"string"}},"type":"object"}}},"description":"Successful response"},"402":{"description":"Payment Required (x402: accepts[] in body + PAYMENT-REQUIRED header envelope; pay USDC on Base via X-PAYMENT or PAYMENT-SIGNATURE)"}},"summary":"Launch screening \u2014 GREEN/CAUTION/BLOCK decision for a token (allow/review/reject), with deployer prior-scam count and code-rugged-before checks no scanner has. For launchpads: auto-reject rugs before they list. Cache-first, ~$0 on repeat tokens","tags":["DeFi"],"x-payment-info":{"price":{"amount":"0.020000","currency":"USD","mode":"fixed"},"protocols":[{"x402":{}}]}}}},"servers":[{"url":"https://oracle.cyberwarex.com"}]}
