{"uid":"cap_uypYFz2bAO3WrOvqOzYwp","slug":"token-price-lookup-by-symbol-or-contract-8ff1b4a7","name":"Token Price Lookup by Symbol or Contract","description":"USD token price (POST wrapper, body: {symbol} or {chain, contract}) — $0.001 USDC","url":"https://payanagent.com/x402/kh7dxw0kj8269e3hee74av74h989hxp9","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{"chain":{"type":"string","description":"Chain slug: base, ethereum, solana, polygon, arbitrum, optimism, bsc, avalanche."},"symbol":{"type":"string","description":"Token symbol (BTC, ETH, SOL, USDC, …). Mutually exclusive with chain+contract."},"contract":{"type":"string","description":"Token contract address. Required with chain."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"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_SQ75PaYfGphRbyavRJ8IC","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 USD price for any major cryptocurrency token, identified by ticker symbol or by chain and contract address","exampleAgentPrompt":"What's the current USD price of ETH? Use the token symbol to look it up.","exampleUseCases":[{"title":"DeFi portfolio USD valuation","prompt":"What is the current USD price of ARB so I can calculate the total value of my holdings?"},{"title":"On-chain contract token price","prompt":"Look up the USD price for the token at contract address 0x6b175474e89094c44da98b954eedeac495271d0f on Ethereum mainnet."},{"title":"Crypto trading bot price check","prompt":"Fetch me the latest USD price for SOL — I need it for a real-time trade decision."}],"resultDescription":"Returns the current USD price for the requested token, identified by ticker symbol (e.g. ETH, BTC, SOL) or by specifying a blockchain network and contract address. Response typically includes the price as a numeric USD value and may include the token name and a timestamp.","failureModes":["Unknown or unsupported token symbol returns an error or null price","Invalid contract address format causes a validation error","Unsupported blockchain network returns an error","Token with very low liquidity or no price feed may return no result","Network or upstream data provider outage causes timeout or 503"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, cheap ($0.001 USDC) real-time USD price for any major token — either by ticker symbol for well-known coins, or by specifying a chain and contract address for long-tail or newer DeFi tokens. Prefer it over general financial APIs when operating in an agent economy context that uses x402 micropayment protocol on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:03:21.891Z","isFirstParty":false}