{"uid":"cap_SACF9Qdz-xyg-bpFSeOMx","slug":"speraxos-erc-8004-agent-metadata-lookup-aa6ee626","name":"SperaxOS ERC-8004 Agent Metadata Lookup","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/getMetadata?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","description":"Metadata key to look up (e.g., \"version\", \"a2a.endpoint\")"},"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.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_ffZlfrSK6WQopTu5c3SPO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a specific metadata key for an ERC-8004 on-chain agent by token ID from a specified blockchain network","exampleAgentPrompt":"Look up the 'a2a.endpoint' metadata key for agent token ID 42 on the BSC mainnet using SperaxOS.","exampleUseCases":[{"title":"Resolve agent A2A endpoint on-chain","prompt":"Can you fetch the 'a2a.endpoint' metadata for agent token ID 17 on bsc-mainnet so I know where to send agent-to-agent messages?"},{"title":"Check on-chain agent version","prompt":"What is the 'version' metadata stored for ERC-8004 agent token 5 on Ethereum mainnet?"},{"title":"Inspect agent config on testnet","prompt":"Pull the 'description' metadata key for agent token ID 99 on bsc-testnet — I'm debugging my agent's on-chain registration."}],"resultDescription":"Returns the value associated with the requested metadata key for the specified ERC-8004 agent token on the given blockchain. Typically a string value such as a URL, version string, or descriptive text stored on-chain for that agent.","failureModes":["Agent token ID does not exist on the specified chain — returns an error or null value","Invalid or unrecognized metadata key — returns empty or null result","Unsupported chain specified — returns validation error","Payment failure via x402 protocol — request blocked before execution","Network or RPC timeout when querying the blockchain"],"whenToPreferThis":"Use this endpoint when you need to look up specific ERC-8004 on-chain agent metadata by token ID and key, especially when querying BSC, Ethereum, or Sepolia networks. Prefer this over generic blockchain RPC calls when you want a structured, pay-per-use API without managing API keys, and when the metadata standard is ERC-8004.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T00:33:31.693Z","isFirstParty":false,"canonicalSlug":"speraxos-erc-8004-agent-metadata-lookup-b353e018"}