{"uid":"cap_7ZB4kin222Mq17UT16PK2","slug":"speraxos-erc-8004-batch-metadata-fetcher-d7e9f3eb","name":"SperaxOS ERC-8004 Batch Metadata Fetcher","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/tools/erc8004/batchGetMetadata?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"keys":{"type":"array","items":{"type":"string"},"description":"Array of metadata keys to retrieve"},"chain":{"type":"string","default":"bsc-testnet","description":"Blockchain to query. Options: bsc-testnet, bsc-mainnet, ethereum, sepolia"},"agentId":{"type":"number","description":"The token ID of the agent"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-DUE2J8HWWuSFXdtq3BUO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Batch-retrieves multiple metadata fields for an ERC-8004 on-chain agent by token ID across supported blockchains, paid per-request via x402 USDC micropayment.","exampleAgentPrompt":"Fetch the metadata keys 'name', 'description', and 'capabilities' for agent token ID 42 on BSC mainnet using SperaxOS.","exampleUseCases":[{"title":"Inspect on-chain agent profile","prompt":"Pull the 'name', 'owner', and 'model' metadata fields for agent token ID 17 on BSC mainnet — I want to see its full profile."},{"title":"Debug agent config on testnet","prompt":"Grab the 'endpoint', 'version', and 'status' metadata for agent token 5 on bsc-testnet so I can check if its config is correct."},{"title":"Cross-chain agent metadata audit","prompt":"Fetch the 'capabilities' and 'description' metadata for agent ID 99 on Ethereum mainnet — I need to verify what it's registered to do."}],"resultDescription":"Returns an object mapping the requested metadata keys to their on-chain values for the specified ERC-8004 agent token ID on the chosen blockchain. Typically a key-value structure with agent attributes such as name, description, capabilities, endpoint URLs, or other on-chain-stored properties.","failureModes":["Invalid or non-existent agentId returns empty or null metadata","Unsupported chain value causes a validation error","Empty keys array may return empty result or error","Payment failure via x402 if wallet lacks sufficient USDC on Base","Network timeout or RPC failure for the target blockchain","Requesting keys not stored on-chain returns null or missing values"],"whenToPreferThis":"Use this endpoint when you need to retrieve multiple metadata fields for a single ERC-8004 on-chain AI agent in one request, avoiding repeated single-key lookups. Ideal for agents operating within the SperaxOS / agentcash ecosystem that need to resolve on-chain agent identities, capabilities, or configuration without managing API keys — paying only $0.005 USDC per call via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:34:10.562Z","isFirstParty":false,"canonicalSlug":"speraxos-erc-8004-batch-metadata-fetcher-d7e9f3eb"}