{"uid":"cap_ihlprwtf_x9c5evmtKfmT","slug":"agenttoll-base-token-usd-price-ffc61337","name":"AgentToll Base Token USD Price","description":"Onchain USD price for any Base token by contract address","url":"https://agenttoll-pi.vercel.app/api/base/token/:address","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"},"pathParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_3eG0wfKP8wE5rlsY0RYWH","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":"Returns the current onchain USD price for any Base network token identified by its contract address","exampleAgentPrompt":"What's the current USD price of the Base token at contract address 0x4200000000000000000000000000000000000006?","exampleUseCases":[{"title":"DeFi portfolio USD valuation","prompt":"I hold some tokens on Base — can you look up the current USD price for the token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 so I can calculate what my position is worth?"},{"title":"Automated trading price check","prompt":"Before I execute a swap, can you fetch the live onchain USD price for the Base token at address 0x4200000000000000000000000000000000000006?"},{"title":"New token discovery price lookup","prompt":"I just found a new token on Base with contract 0x7c6b91D9Be155A6Db01f749217d76fF02A7227F2 — what's its current USD price onchain?"}],"resultDescription":"Returns the current onchain USD price for the specified Base token contract address, sourced directly from Base chain liquidity pools in real time.","failureModes":["Invalid contract address format (must match ^0x[0-9a-fA-F]{40}$) returns a validation error","Contract address not found or has no liquidity on Base returns a null or error response","Token with no DEX pair or price oracle returns unavailable price","Network or RPC errors may result in timeout or 5xx response","Payment of 0.001 USDC required per call; missing or failed payment returns 402"],"whenToPreferThis":"Choose this endpoint when you need the current onchain USD price for a specific Base network token and have its exact contract address. It reads directly from Base chain data, making it faster and more up-to-date than indexed or aggregated price feeds. Prefer this over general crypto price APIs when dealing with newly launched or obscure Base tokens that may not yet appear in major indexes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:02.224Z","isFirstParty":false}