{"uid":"cap_dGdfRAUv-hfTk1_EZMzWY","slug":"agent402-tools-token-price-erc-20-usd-spot-price-8e9dcced","name":"agent402.tools Token Price (ERC-20 USD Spot Price)","description":"Return the current USD spot price for an ERC-20 token, identified by its contract address and network. Sourced from Alchemy's aggregated price feed. Use this for portfolio-value calculations or to denominate a balance in fiat without depending on a separate market-data API.","url":"https://agent402.tools/api/token-price","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"network":{"type":"string","description":"ethereum / base / polygon / arbitrum / optimism (default base)."},"contract":{"type":"string","description":"0x-prefixed 40-char ERC-20 contract address."}}},"responseSchema":{"type":"json","example":{"symbol":"USDC","network":"base","contract":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","priceUsd":1.0001,"lastUpdated":"2026-06-22T17:30:00Z"}},"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_QPMJAho0tuECoNxDqfLbA","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 spot price for an ERC-20 token given its contract address and network, sourced from Alchemy's aggregated price feed.","exampleAgentPrompt":"What's the current USD price of the USDC token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?","exampleUseCases":null,"resultDescription":"A USD spot price for the specified ERC-20 token, aggregated from Alchemy's price feed, suitable for portfolio valuation or converting token balances to fiat.","failureModes":["Invalid or unrecognized contract address returns an error or null price","Unsupported network name causes a validation error","Token not listed on Alchemy's price feed returns no price data","Malformed 0x address format causes a bad request error","Payment failure (x402 protocol) prevents the request from being processed"],"whenToPreferThis":"Use this endpoint when you need a quick, reliable USD spot price for any ERC-20 token by contract address across major EVM networks (Ethereum, Base, Polygon, Arbitrum, Optimism), especially when building portfolio valuation tools or fiat-denominated balance displays backed by Alchemy's aggregated feed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:03.426Z","isFirstParty":false}