{"uid":"cap_SeAa9RY8qdckQXqEfz-1H","slug":"statepulse-token-safety-checker-2cb93a0c","name":"StatePulse Token Safety Checker","description":"One call that bundles the checks needed before trusting an unfamiliar ERC-20 token: scans deployed bytecode for dangerous function selectors (mint/pause/blacklist), reads on-chain owner() to check if ownership was renounced, and cross-references DexScreener for liquidity depth and pair age — returning a single risk score with flags. Matches: rug pull check, token safety score, is this token safe, contract risk scan, honeypot pre-check, ownership renounced check, liquidity risk.","url":"https://statepulse-api.hahavoid0.workers.dev/blockchain/token-safety","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"result":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","liquidity":{"liquidity_usd":42000000,"pair_age_days":900},"ownership":{"owner":"0x1234...","renounced":false},"risk_flags":["Ownership not renounced"],"risk_score":15,"is_contract":true},"supported":true,"confidence":"medium"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8shp3Gc3mKMqHcA2TAvhi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a blockchain token contract address for safety signals including liquidity, ownership status, and risk flags","exampleAgentPrompt":"Can you check whether the token at contract address 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on Base is safe — I want to see its risk score, whether ownership has been renounced, and how much liquidity it has?","exampleUseCases":[{"title":"Pre-trade rug pull check","prompt":"Before I buy this new token, can you run a safety check on contract 0xabc123...def456 and tell me the risk score, any red flags like locked liquidity or unrenounced ownership, and whether it looks like a scam?"},{"title":"DeFi bot risk gating","prompt":"My trading bot is about to swap into 0x6b175474e89094c44da98b954eedeac495271d0f — can you pull the token safety report and block the trade if the risk score is above 50 or if ownership hasn't been renounced?"},{"title":"Investor due diligence on new launch","prompt":"A new token just launched at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA — can you check how old the liquidity pair is, how much USD liquidity is pooled, who the owner is, and whether there are any risk flags I should know about?"}],"resultDescription":"Returns a JSON object with the token's contract address, liquidity info (USD value and pair age in days), ownership details (owner address and whether renounced), an array of risk flag strings, a numeric risk score (lower is safer), a boolean confirming it is a contract, a 'supported' flag indicating if the chain/token is analyzable, and a confidence level (e.g. 'medium').","failureModes":["Unsupported chain or token returns supported:false with limited data","Invalid or non-contract address returns error or is_contract:false","Low-confidence results when token is too new or has sparse on-chain data","Network timeout if blockchain RPC is slow or congested","Token with no liquidity pair may return null liquidity fields"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, pay-per-call token risk assessment without setting up API keys or subscriptions. It is well-suited for DeFi trading bots, investment screening agents, or wallet tools that need on-demand token safety checks with structured risk scores and ownership flags. Prefer this over manual block-explorer lookups when you need machine-readable risk data in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:43:27.270Z","isFirstParty":false}