{"uid":"cap_J7xbJCrfEdCjvqyzUk5bD","slug":"agent-guard-on-chain-wallet-heuristic-flags-578fa2e3","name":"Agent Guard – On-Chain Wallet Heuristic Flags","description":"Safety and trust layer for AI agents: PII redaction, scam/phishing text scan, EVM/Solana address validation, IBAN checks, JSON repair, deep on-chain wallet risk scoring, x402 counterparty endpoint reputation checks. Free discovery: /openapi.json, /.well-known/x402, /v1/capabilities, /mcp (tools/list). REST + MCP. Pay with USDC via x402 — no API keys.","url":"https://agent-guard.annushka1190.workers.dev/v1/wallet/heuristic-flags","method":"POST","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Wallet address"},"network":{"type":"string","description":"base | solana (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pq_vknTggACWCbVi3OuHe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an EVM or Solana wallet address on-chain and returns heuristic risk flags, transaction count, contract status, and a risk score.","exampleAgentPrompt":"Before I send any USDC, can you run heuristic risk checks on wallet 0x4f4C15d9bD7c796A9f9B769b78323EA3E0054104 on Base and tell me if it has any suspicious flags or a high risk score?","exampleUseCases":[{"title":"Pre-payment wallet screening","prompt":"I'm about to pay a contractor 500 USDC to their wallet 0xABC123...on Ethereum — can you check if it has any risk flags or looks like a contract address before I send it?"},{"title":"DeFi counterparty due diligence","prompt":"We're integrating a new liquidity provider whose wallet is 0x9F8b...on Base. Can you pull heuristic flags and the risk score so I can decide whether to whitelist them?"},{"title":"Fraud detection in agent pipeline","prompt":"A user just submitted wallet 0xDeadBeef...on Solana for a withdrawal — run it through on-chain heuristics and block the transaction if the risk score is above zero or there are any suspicious flags."}],"resultDescription":"Returns a JSON object with the queried wallet address, the network it was checked on, a numeric risk score, a boolean indicating whether it is a smart contract, a transaction count, and an array of heuristic risk flags (e.g. drain patterns, airdrop scams, seed phrase exposure indicators). An empty flags array and risk score of 0 indicates a clean wallet.","failureModes":["Invalid or malformed wallet address returns an error response","Unsupported network type causes request failure","On-chain data unavailable for very new or unfunded wallets may return sparse results","Payment failure via x402 if USDC balance is insufficient blocks the call","Rate limiting or worker timeout on high-traffic periods"],"whenToPreferThis":"Choose this endpoint when you need on-chain heuristic analysis of a specific EVM or Solana wallet address — including risk scoring, contract detection, and transaction count — before authorizing a payment or interaction. It is especially valuable in agentic pipelines where wallets from unknown counterparties must be screened automatically. Prefer it over generic blockchain explorers when you need a machine-readable risk score and flag list rather than raw transaction data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:23.195Z","isFirstParty":false}