{"uid":"cap_LLT8xstSJ0iNt0oKCZbhO","slug":"agent-guard-crypto-address-format-check-20e71c2a","name":"Agent Guard – Crypto Address Format Check","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/address/format-check","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"EVM 0x… or Solana base58 address"}}}},"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.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_txWmo_Kf1v-ddHi6m6dBV","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":"Validates whether a given EVM or Solana address is correctly formatted and returns the detected chain type","exampleAgentPrompt":"Before I send funds, can you check whether '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' is a valid EVM address and confirm which chain it belongs to?","exampleUseCases":[{"title":"Pre-transaction wallet address sanity check","prompt":"I'm about to send 500 USDC to 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — can you verify that this is a properly formatted EVM address before I confirm the transaction?"},{"title":"Detect chain type from user-pasted address","prompt":"A user just pasted this address into our app: 'So11111111111111111111111111111111111111112' — can you tell me whether it's an EVM or Solana address and whether the format is valid?"},{"title":"Agent input validation before on-chain action","prompt":"My workflow just received a wallet address from an untrusted source: '5aVBxRGe3eKpgNMn5aVBx...' — validate its format and tell me which chain it belongs to so I know how to route the transaction."}],"resultDescription":"Returns a JSON object with two fields: 'chain' (either 'evm' or 'solana') indicating the detected blockchain, and 'formatValid' (boolean) indicating whether the address is correctly formatted and passes checksum rules.","failureModes":["Missing 'input' query parameter returns a validation error","Malformed or empty address string may return formatValid:false with no chain detected","Non-address strings (random text, IBAN, email) may be rejected or return invalid format","Network timeout on the Cloudflare Workers edge in rare cases","x402 payment failure if USDC balance or payment header is malformed"],"whenToPreferThis":"Use this endpoint when you need a lightweight, fast check specifically for EVM or Solana address format validity before executing an on-chain transaction or storing a wallet address. Prefer this over general-purpose regex checks because it also detects the chain type and validates EVM checksums (EIP-55). Choose this over full on-chain lookup endpoints when you only need format validation without querying blockchain state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:54.221Z","isFirstParty":false}