{"uid":"cap_brTUZiw3bLeC_LNVRrPCe","slug":"coingecko-onchain-dex-token-price-megaeth-network-ac6b8048","name":"CoinGecko Onchain DEX Token Price — MegaETH Network","description":"Query onchain DEX token price & market data based on the provided token contract addresses on a network.","url":"https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/megaeth/token_price/probe","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"include_24hr_vol":{"type":"boolean"},"mcap_fdv_fallback":{"type":"boolean"},"include_market_cap":{"type":"boolean"},"include_inactive_source":{"type":"boolean"},"include_24hr_price_change":{"type":"boolean"},"include_total_reserve_in_usd":{"type":"boolean"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_OvEM7olEOrQoPXZGwzHoy","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 real-time DEX token price and market data for tokens on the MegaETH network by contract address.","exampleAgentPrompt":"What's the current DEX price, 24-hour volume, and market cap for the token at contract address 0xAbC...123 on the MegaETH network? Include the 24-hour price change too.","exampleUseCases":[{"title":"DeFi portfolio token valuation","prompt":"Can you pull the current onchain price and market cap for my MegaETH token at contract 0x1234...abcd? I also want to see the 24-hour price change and trading volume."},{"title":"Arbitrage opportunity detection","prompt":"What's the current DEX price and 24-hour volume for the token at 0xDEAD...BEEF on MegaETH? I'm comparing it against centralized exchange prices to spot arbitrage."},{"title":"Liquidity reserve monitoring","prompt":"Check the total reserve in USD and current price for the MegaETH token contract 0xFACE...C0DE — I need to know if there's enough liquidity before I make a large trade."}],"resultDescription":"Returns a JSON object containing the token's current USD price sourced from onchain DEX pools on MegaETH, optionally including 24-hour trading volume, market capitalization (with FDV fallback option), 24-hour price change percentage, and total reserve value in USD, keyed by contract address.","failureModes":["Unknown or unsupported contract address returns empty or null data","Token with no active DEX pool may return no price (use include_inactive_source=true to widen)","Rate limiting or payment failure returns 402 or 429 error","Invalid contract address format causes 400 bad request","Network-specific endpoint — submitting contracts from other chains (e.g. Ethereum mainnet) will return no results"],"whenToPreferThis":"Use this endpoint when you need real-time onchain DEX price data specifically for tokens on the MegaETH network and have a contract address. Prefer this over CoinGecko's standard simple/price endpoint when the token is not listed on centralized exchanges or you need DEX-sourced pricing with liquidity reserve data. Choose sibling endpoints for other networks (Base, Ethereum, etc.).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:02.219Z","isFirstParty":false}