{"uid":"cap_cKZYly-ujJ3zabg7Yap3x","slug":"seneschal-address-risk-check-37996bc3","name":"Seneschal Address Risk Check","description":"Single-fact wallet-safety check: is address X a known approval-drainer (malicious spender harvesting ERC-20 approvals to transferFrom-drain them — the JaredFromSubway $7.5M pattern) or a honeypot/bait token? Returns {flagged, as, risk_score, risk_band, top_flags} from the same live mainnet scanner + scorer as the premium counter-MEV feed. Check before you approve.","url":"https://api.seneschal.space/v1/q/address-risk","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":["addr"],"properties":{"addr":{"type":"string","description":"Address to check (0x…) — a spender you are about to approve, or a token you are about to buy."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"as":{"type":"string"},"addr":{"type":"string"},"flagged":{"type":"boolean"},"present":{"type":"boolean"},"as_of_ms":{"type":"integer"},"risk_band":{"type":"string"},"top_flags":{"type":"array","items":{"type":"string"}},"risk_score":{"type":"number"},"detail_endpoint":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"as":"malicious_spender","addr":"0x1111111111111111111111111111111111111111","flagged":true,"present":true,"as_of_ms":1765532000000,"risk_band":"critical","top_flags":["unverified_source","transferfrom_sweeps"],"risk_score":100,"detail_endpoint":"/v1/premium/counter-mev"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x3W_pja6u5iiC_EjbOaq1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given Ethereum address is a known approval-drainer or honeypot token, returning a risk score, risk band, and top flags.","exampleAgentPrompt":"Before I approve 0x00000000219ab540356cBB839Cbe05303d7705Fa to spend my USDC, can you check whether it's a known approval drainer or honeypot and tell me its risk score?","exampleUseCases":[{"title":"Pre-buy honeypot check for token","prompt":"I'm about to buy this token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — can you quickly check if it's a honeypot or has any malicious flags before I put money in?"},{"title":"Safe spender approval screening","prompt":"I got a DeFi prompt asking me to approve 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 to spend my WETH. Can you scan that address and tell me its risk band and whether it's known to drain approvals?"},{"title":"Suspicious contract risk lookup","prompt":"Someone in a Telegram group shared a contract address 0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552 and told me to approve it — can you check if it's flagged as a drainer or scammer and what the risk score looks like?"}],"resultDescription":"Returns a JSON object with: flagged (boolean indicating malicious), as (classification label e.g. 'approval-drainer'), risk_score (numeric), risk_band (e.g. 'HIGH', 'LOW'), top_flags (array of strings describing detected issues), addr (the queried address), present (whether it's in the database), as_of_ms (timestamp), and detail_endpoint (URL for full detail).","failureModes":["Address not in database — returns present: false with low/no risk score","Invalid address format (not 0x…) — likely 400 error","Payment not included or insufficient — 402 Payment Required","Network timeout querying live mainnet scanner — 503 or timeout","Address is newly deployed and not yet indexed — may return low risk despite being malicious"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet UI needs a fast, single-address pre-approval safety check before a user grants ERC-20 token approval to a spender contract, or before buying an unfamiliar token. It is powered by the same live mainnet scanner as Seneschal's premium counter-MEV feed, making it more current than static blocklists. Prefer this over generic token screeners when the threat model is specifically approval-draining or honeypot attacks on Ethereum mainnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:58.423Z","isFirstParty":false}