{"uid":"cap_tWMLETK0BfB26Ae_J3gsj","slug":"api-web3identity-com-963f482c","name":"Web3Identity Uniswap Token Price API","description":"Get current token price from multiple aggregated sources","url":"https://api.web3identity.com/api/price/uniswap","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"price":{"type":"number"},"token":{"type":"string"},"currency":{"type":"string"},"change24h":{"type":"number"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"tokenAddress":"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"}}},"response":{"price":3.01,"token":"UNISWAP","cached":false,"source":"coingecko","symbol":"UNI","change24h":-1.780324643537023,"latencyMs":75,"timestamp":"2026-05-29T19:02:09.353Z"}},"exampleRequest":{"tokenAddress":"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"},"tags":["x402"],"displayCostAmount":"0.010000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.010000/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_VReP0GgyDHiQ-XRmNyDj-","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":"Fetches the current price of a token from Uniswap via multiple aggregated sources, returning price, currency, and 24h change","exampleAgentPrompt":"What is the current price of UNI token on Uniswap right now, including its 24-hour change?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the token's current price as a number, the token symbol, the currency denomination (e.g. USD), and the 24-hour percentage price change.","failureModes":["Token not found on Uniswap — returns error or empty response","Payment not included or insufficient — returns 402 Payment Required","Rate limiting — returns 429 Too Many Requests","Aggregation source unavailable — may return stale or partial price data","Invalid query parameters — returns 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need a real-time token price specifically from Uniswap with multi-source aggregation, particularly when you also want 24-hour change data alongside the price. Prefer it over generic market data APIs when operating in a Web3/DeFi context and when Uniswap liquidity is the relevant pricing reference.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:33.647Z","isFirstParty":false}