{"uid":"cap_Gexo76TC2wfOIPe8bOQ9o","slug":"first-dollar-on-chain-data-api-erc-8004-agent-lookup-077dcf45","name":"First Dollar On-Chain Data API (ERC-8004 Agent Lookup)","description":"Live Base chain reads sold per call over x402 (exact, USDC on Base, $0.02/call).","url":"https://firstdollar-api.onrender.com/agent8004?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"],"type":"string"},"queryParams":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"ERC-8004 agent id (integer)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X5B9-70QGjr8QQmhonpmT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live Base chain data about an ERC-8004 agent, including sales/reads count, fetched per call via x402 micropayment.","exampleAgentPrompt":"Pull the live on-chain data for ERC-8004 agent ID 42 from First Dollar — I want to see how many times it's been sold on Base chain.","exampleUseCases":[{"title":"Check agent sales performance on-chain","prompt":"Look up agent ID 17 on First Dollar and tell me how many times it's been sold on the Base chain so far."},{"title":"Monitor newly deployed agent activity","prompt":"I just deployed ERC-8004 agent number 305 — can you fetch its current on-chain read and sales count from First Dollar to confirm it's live?"},{"title":"Compare agent marketplace traction","prompt":"Get the on-chain sales data for agent ID 88 from First Dollar's Base chain API so I can see how it's performing against my other agents."}],"resultDescription":"Returns live on-chain data for the specified ERC-8004 agent from the Base blockchain, including the number of times the agent has been sold or read. Data is fetched in real time at call time and paid via x402 micropayment ($0.02 USDC per call).","failureModes":["Missing or invalid 'id' query parameter returns an error (id is required)","Non-existent agent ID may return empty or null data if the agent hasn't been registered on-chain","x402 payment failure (insufficient USDC balance or misconfigured payment) blocks the request","Network or RPC latency from Base chain may cause slow or failed reads","Onrender free-tier cold start may cause initial timeout for the hosted endpoint"],"whenToPreferThis":"Use this endpoint when you need live, per-call on-chain data about a specific ERC-8004 agent on the Base blockchain — particularly sales or read counts. Prefer it over cached or indexed alternatives when freshness matters. The $0.02/call micropayment via x402 makes it suitable for low-frequency lookups rather than high-volume batch queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:35:25.437Z","isFirstParty":false,"canonicalSlug":"first-dollar-on-chain-data-api-erc-8004-agent-lookup-077dcf45"}