{"uid":"cap_98mLnS9gAS5g-_X4hlOlW","slug":"token-price-by-contract-address-dex-data-f0aac38a","name":"Token Price by Contract Address (DEX Data)","description":"Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.","url":"https://freetier-agent-api.pages.dev/api/token-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"],"properties":{"address":{"type":"string","description":"token contract address (0x... or Solana mint)"},"network":{"enum":["base","ethereum","solana","arbitrum","bsc","polygon","optimism","avalanche"],"type":"string","description":"default base"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"symbol":"DEGEN","network":"base","priceUsd":0.00092,"liquidityUsd":2100000,"marketCapUsd":34000000,"volume24hUsd":410000,"priceChange24hPct":-3.1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K5PwWHL8se6Mn9zFgRZTz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","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 of a token by contract address, plus market cap, FDV, 24h volume, liquidity, and 24h price change, sourced from DEX pool data via GeckoTerminal across 8 chains.","exampleAgentPrompt":"What's the current USD price, market cap, and 24h volume for the token at contract address 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base?","exampleUseCases":[{"title":"DeFi portfolio price check","prompt":"Can you look up the current price and 24-hour change for the DEGEN token on Base — the contract is 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed?"},{"title":"Solana token market cap lookup","prompt":"What's the market cap and liquidity for the Solana token with mint address So11111111111111111111111111111111111111112 right now?"},{"title":"Arbitrum token due diligence","prompt":"Before I buy, can you pull the FDV, 24h volume, and current price for the token at 0x912CE59144191C1204E64559FE8253a0e49E6548 on Arbitrum?"}],"resultDescription":"A JSON object containing the token symbol, network, current USD price, liquidity in USD, market cap in USD, 24h trading volume in USD, and 24h price change percentage — all sourced from DEX pool data aggregated by GeckoTerminal.","failureModes":["Unknown or unlisted contract address — token not found in GeckoTerminal DEX data","Missing required 'address' query parameter — returns validation error","Network mismatch — querying the wrong chain for a given contract returns no data","Very low-liquidity tokens may have unreliable or missing price/volume data","Solana mint addresses require network=solana explicitly or may default to base incorrectly"],"whenToPreferThis":"Choose this endpoint when you need real-time DEX-sourced token prices for EVM chains (Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, Avalanche) or Solana by contract/mint address. Ideal for DeFi agents that need on-chain market data rather than centralized exchange prices. Prefer over CoinGecko or CoinMarketCap endpoints when you have a contract address but no ticker symbol, or when the token is only listed on DEX pools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:52:52.263Z","isFirstParty":false,"canonicalSlug":"token-price-by-contract-address-dex-data-f0aac38a"}