{"uid":"cap_HRbSZW63BldPOAnEks_SM","slug":"moneytools-dex-token-price-eb3164cc","name":"MoneyTools DEX Token Price","description":"Token price from DEX quotes: Executable-style price of any ERC-20 in USDC from DEX aggregator quotes (KyberSwap, quote only), price impact at a chosen size, route DEXes and deviation vs DefiLlama reference. Free tier 10/day; then $0.002 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.002 USDC per call via x402 on Base. Run by MoneyTools.","url":"https://tools.moneytools.dev/v1/dex-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":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["chain","token"],"properties":{"chain":{"type":"string","examples":["base"],"description":"chain: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche"},"token":{"type":"string","examples":["0x4200000000000000000000000000000000000006"],"description":"ERC-20 address"},"sizeUsd":{"type":"number","examples":["1000"],"description":"size for impact check (default 1000)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"payment":{"type":"object","properties":{"charged":{"type":"boolean"},"network":{"type":"string"},"amountUsd":{"type":"string"},"transaction":{"type":["string","null"]}}},"freeTier":{"type":"object"},"_moneytools":{"type":"object","description":"optional plan / partner hints"}},"description":"Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8-Jp97FsOa0C-TX6-QO-r","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the executable DEX price of any ERC-20 token in USDC, including price impact at a chosen trade size, routing details, and deviation vs DefiLlama reference price.","exampleAgentPrompt":"What's the current DEX price of WETH (0x4200000000000000000000000000000000000006) on Base in USDC, and what would the price impact be for a $5000 trade?","exampleUseCases":[{"title":"Pre-trade price impact check","prompt":"Before I swap $10,000 worth of ARB on Arbitrum, can you check the DEX price of 0x912CE59144191C1204E64559FE8253a0e49E6548 and tell me the price impact at that size?"},{"title":"Token price sanity check","prompt":"Can you look up the on-chain DEX price of 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum and see how far it deviates from the DefiLlama reference price?"},{"title":"Portfolio valuation for DeFi token","prompt":"I need the current executable USDC price of the token at 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on Ethereum — use a $1000 size for the impact check."}],"resultDescription":"A JSON object containing the executable token price in USDC derived from DEX aggregator quotes, price impact at the requested trade size (default $1000), the DEX route used, deviation from the DefiLlama reference price, and payment metadata (whether a charge was made, network, amount, transaction hash).","failureModes":["Token address not found or unsupported on the specified chain — returns error with no charge","Chain not supported — returns validation error","Free tier (10/day) exhausted and no payment method provided — returns HTTP 402 with payment-required details","Invalid ERC-20 address format — returns validation error","DEX aggregator unable to find a route for the token — returns error with no charge","Network connectivity issues with the DEX aggregator"],"whenToPreferThis":"Use this endpoint when you need an executable, real-time DEX price for an ERC-20 token (not just a reference price), especially when you also need price impact for a specific trade size or want to verify price against DefiLlama. Prefer this over CoinGecko or CoinMarketCap lookups when you need the actual on-chain tradeable price rather than a market average. Best for DeFi automation, pre-trade analysis, or arbitrage detection across 7 supported EVM chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:41:44.185Z","isFirstParty":false,"canonicalSlug":"moneytools-dex-token-price-eb3164cc"}