{"uid":"cap_R4YoLKmy8y5eRBEebR4Kv","slug":"mossgate-token-risk-verdict-c8562465","name":"Mossgate Token Risk Verdict","description":"risk verdict for an erc-20 on base. call before an agent buys/trades a token. returns ok|caution|danger with liquidity, pair age, 24h volume, contract owner/renounce and flags. query: address (required), chain=base.","url":"https://api.mossgate.dev/v1/token/verdict","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base"],"type":"string","default":"base","description":"chain, base only"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"0x + 40 hex address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"flags":{"type":"array","items":{"type":"string"}},"score":{"type":"number"},"verdict":{"enum":["ok","caution","danger"],"type":"string"},"checked_at":{"type":"string"},"liquidity_usd":{"type":"number"},"pair_age_days":{"type":"number"},"volume_24h_usd":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__fQXmKoQIwrnr2Eb_Epha","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a risk verdict (ok/caution/danger) for an ERC-20 token on Base, including liquidity, pair age, 24h volume, contract ownership, and risk flags.","exampleAgentPrompt":"Before you buy, can you run a risk check on the token at 0x4200000000000000000000000000000000000006 on Base and tell me whether it's ok, caution, or danger — including its liquidity, pair age, and any red flags?","exampleUseCases":[{"title":"Pre-trade token safety screening","prompt":"I'm about to swap into this token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — can you check its risk verdict and let me know if it's safe, and what the liquidity and 24h volume look like?"},{"title":"Rug pull detection before DeFi bot buys","prompt":"My trading bot is about to buy 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA on Base — first run a risk check and only proceed if the verdict comes back as ok and there are no danger flags."},{"title":"New token contract due diligence","prompt":"Someone just shared this new Base token with me — address 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb — can you pull the Mossgate risk verdict on it and tell me the pair age and whether the contract ownership has been renounced?"}],"resultDescription":"A JSON object containing: verdict (ok, caution, or danger), a numeric risk score, liquidity in USD, pair age in days, 24h trading volume in USD, a list of risk flags (e.g. low liquidity, new pair, unrenounced ownership), and a checked_at timestamp.","failureModes":["Invalid or malformed token address returns a 400 error","Token not found on Base DEXes returns no data or a caution verdict","Non-Base chain specified returns a validation error (only 'base' is supported)","Newly deployed token with no pair data may return incomplete metrics","Payment failure (x402) if USDC balance is insufficient","Rate limiting or service downtime returns 5xx errors"],"whenToPreferThis":"Use this endpoint when an AI agent needs to make a buy/trade decision on an ERC-20 token on Base and requires a fast, structured risk signal before executing. It is purpose-built for agentic pre-trade screening, returning a simple ok/caution/danger verdict alongside the key DeFi risk metrics (liquidity, pair age, volume, ownership flags) rather than requiring the agent to aggregate multiple data sources. Prefer this over general blockchain explorers or on-chain queries when you need a pre-computed, opinionated risk verdict in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:27:06.987Z","isFirstParty":false}