{"uid":"cap_I_r78_ACFmjbiPka-6zi4","slug":"hermes-agent-data-services-contract-due-diligence-7f595c6e","name":"Hermes Agent Data Services – Contract Due Diligence","description":"Pay-per-call on-chain data for agents. USDC on Base over x402 (HTTP 402).","url":"https://x402-agent.majighufron.workers.dev/api/contract-dd?utm_source=zero.xyz","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"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["token"],"properties":{"chain":{"enum":["base","base-sepolia","robinhood"],"type":"string","description":"Chain to read."},"token":{"type":"string","description":"Token contract address (0x + 40 hex)."},"blocks":{"type":"integer","maximum":5000,"minimum":1,"description":"How many recent blocks to scan."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"chain":"base","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","caveat":"signals to investigate, not a verdict","activity":{"transfers":120,"largestTransferShare":"0.21"},"bytecode":{"size":4211,"selectors":{"absent":["pause()"],"present":["mint(address,uint256)"]}},"ownership":{"owner":"0x0000000000000000000000000000000000000000","renounced":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.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_NdRG2V1vGiV5xt6NptwFd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns on-chain due-diligence signals for an ERC-20 token contract, including transfer activity, bytecode analysis, and ownership status","exampleAgentPrompt":"Can you run a contract due-diligence check on the token at 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on Base, scanning the last 500 blocks? I want to see ownership info, recent transfer activity, and whether it has a mint or pause function.","exampleUseCases":[{"title":"Pre-purchase token safety check","prompt":"Before I buy this token, can you check whether the contract at 0xabc123...def456 on Base is renounced and whether it has a mint function? Scan the last 1000 blocks for any suspicious transfer patterns."},{"title":"Investigating a suspicious airdrop token","prompt":"I just received a random token drop — the contract is 0x1234567890abcdef1234567890abcdef12345678 on Base. Can you pull the due-diligence report and tell me if the ownership looks sketchy or if there are any red flags in the bytecode?"},{"title":"DeFi bot risk assessment before swapping","prompt":"My trading bot is about to swap into a new token on base-sepolia at address 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef — can you check the last 200 blocks for large transfer concentration and confirm whether a pause function is present in the contract?"}],"resultDescription":"A JSON object containing: ok status, chain name, token address, a caveat that results are signals not verdicts, transfer activity (count and largest transfer share), bytecode analysis (size in bytes plus lists of present and absent function selectors), and ownership info (owner address and whether it has been renounced).","failureModes":["Missing or invalid token address (non-0x or wrong length) — likely returns a 400 or error body","Unsupported chain value outside base/base-sepolia/robinhood enum — validation error","blocks parameter exceeds maximum of 5000 — schema validation rejection","Payment not received or insufficient USDC — HTTP 402 response blocking access","Contract address exists but has no on-chain history — empty or minimal activity fields","Network or RPC timeout reading chain data — server-side 5xx error"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call on-chain risk-signal snapshot for a specific ERC-20 token contract on Base or Base Sepolia — especially useful for AI agents that need contract safety signals before executing a swap or investment, without requiring a full blockchain node or complex RPC setup. Prefer this over generic block explorers when you need structured JSON output covering bytecode, ownership, and transfer activity in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T18:33:37.980Z","isFirstParty":false,"canonicalSlug":"hermes-agent-data-services-contract-due-diligence-7f595c6e"}