{"uid":"cap_ch57vp_U2QGzRDRq0EInp","slug":"x402-bazaar-token-price-a9f73931","name":"x402 Bazaar Token Price","description":"Pass a Base token contract address and get the current USD price, 24h change, liquidity, and volume from DexScreener (highest-liquidity pair auto-selected). No API key required. Paid via x402: $0.01 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.","url":"https://api.relai.fi/relay/1782567677091/api/x402/token-price","method":"POST","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Token contract address"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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_8vIuZSD4LMHd9rDx7zUYL","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 current USD price, 24h change, liquidity, and volume for a Base chain token by contract address, sourced from DexScreener's highest-liquidity pair.","exampleAgentPrompt":"What's the current USD price, 24-hour change, liquidity, and volume for the Base token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913?","exampleUseCases":null,"resultDescription":"Returns the current USD price, percentage 24h price change, total liquidity in USD, and 24h trading volume for the specified Base token, auto-selected from the highest-liquidity DexScreener pair.","failureModes":["402 Payment Required returned on first call — agent must pay $0.01 USDC on Base and retry","Invalid or non-Base contract address returns an error or empty result","Token has no DexScreener pairs — returns empty or null price data","Low-liquidity tokens may have unreliable price data","Network or upstream DexScreener outage causes timeout or 5xx error"],"whenToPreferThis":"Use this endpoint when you need real-time DEX price data for a token on the Base chain by contract address, without requiring a DexScreener API key. It auto-selects the highest-liquidity pair, making it more reliable than manual pair lookups. Prefer this over Ethereum mainnet DEX endpoints when the token is specifically on Base. The x402 micropayment model means no API key provisioning is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:28.031Z","isFirstParty":false}