{"uid":"cap_ztGol7VPLwfwe4Wb-SGPw","slug":"x402-web-extract-token-price-lookup-9c9da1e7","name":"x402-web-Extract Token Price Lookup","description":"Real-time USDC-denominated spot price for any EVM token by contract address or common symbol. Pass ?address=0x... (or ?symbol=ETH) and ?chain=base|ethereum|polygon|arbitrum|optimism|avalanche. Returns price, symbol, decimals, chain, and a timestamp.","url":"https://x402-web-extract.senpi-agent.workers.dev/price?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":["address","chain"],"properties":{"chain":{"type":"string","description":"Chain id: base, ethereum, polygon, arbitrum, optimism, avalanche."},"address":{"type":"string","description":"Token contract address (EVM)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","symbol":"WETH","priceUsdc":"3117.42"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EyW80Hj48NFp6Z_-XYxo5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the real-time USDC spot price for any EVM token on supported chains, paid per-call via x402 micropayment on Base mainnet.","exampleAgentPrompt":"What's the current USDC spot price of WETH (contract 0x4200000000000000000000000000000000000006) on the Base chain?","exampleUseCases":[{"title":"DeFi portfolio valuation","prompt":"I hold some WETH on Base — can you look up its current USDC price using the contract address 0x4200000000000000000000000000000000000006 on Base so I can calculate my portfolio value?"},{"title":"Arbitrage opportunity detection","prompt":"Check the current USDC price of the token at 0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619 on Polygon and tell me what it's trading at right now."},{"title":"On-chain price alert evaluation","prompt":"My alert triggered — what is the current USDC spot price of USDC.e (0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8) on Arbitrum?"}],"resultDescription":"A JSON object containing the chain identifier, token symbol, and the token's current spot price denominated in USDC (e.g. {\"chain\":\"base\",\"symbol\":\"WETH\",\"priceUsdc\":\"3117.42\"}). Payment of $0.01 USDC is deducted automatically via x402 before the response is returned.","failureModes":["HTTP 402 returned if the agent's wallet has insufficient USDC balance to pay the $0.01 fee","Invalid or unrecognized token contract address returns an error or empty result","Unsupported chain ID returns a validation error","No price data available for illiquid or newly deployed tokens","Network or Cloudflare Worker downtime results in 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a no-account, no-API-key real-time USDC price for any EVM token and your agent already operates on Base mainnet with USDC via the x402 payment protocol. Ideal for AI agents that need to pay micropayments autonomously per call rather than managing subscriptions or rate limits. Prefer this over centralized price APIs when you want permissionless, pay-as-you-go access with x402 compatibility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:30:49.147Z","isFirstParty":false,"canonicalSlug":"x402-web-extract-token-price-lookup-9c9da1e7"}