{"uid":"cap__jCGbBENm9TCzaov4bNj9","slug":"api-web3identity-com-b4e6e255","name":"DAI Token Price Lookup","description":"Get current token price from multiple aggregated sources","url":"https://api.web3identity.com/api/price/dai","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":{}}},"response":{"price":0.999504,"token":"DAI","cached":false,"source":"coingecko","symbol":"DAI","change24h":0.010356190897416157,"latencyMs":77,"timestamp":"2026-05-29T22:20:47.134Z"}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_cW4kk3GvEaxJYdu7fBbUr","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 the current price of the DAI stablecoin aggregated from multiple data sources","exampleAgentPrompt":"What is the current price of DAI right now — pull it from the web3identity aggregated price feed?","exampleUseCases":[{"title":"Monitor DAI stability for treasury holdings","prompt":"Can you check what DAI is trading at right now? I need to know if our stablecoin reserves are holding their peg properly."},{"title":"Calculate portfolio value in stablecoins","prompt":"What's the current DAI price? I want to convert my DeFi earnings into USD equivalent so I can see what my portfolio is actually worth."},{"title":"Alert on DAI deviations from peg","prompt":"Pull the latest DAI price from the aggregated feed and tell me if it's drifted more than a cent away from a dollar — I need to know if there's any instability I should worry about."}],"resultDescription":"Returns a JSON object containing the current DAI price as a number, the token symbol ('DAI'), the currency denomination (e.g. 'USD'), and the 24-hour price change percentage.","failureModes":["Token not found or unsupported — endpoint may return an error or empty response","Upstream aggregator data unavailability causing stale or missing price","Payment failure (402) if x402 payment header is not included or insufficient","Network timeout if multiple price sources are slow to respond"],"whenToPreferThis":"Use this endpoint when you need a real-time, aggregated DAI stablecoin price from multiple sources rather than a single exchange feed, especially in DeFi or Web3 agent workflows where DAI valuation accuracy matters. Prefer this over single-source price feeds when reliability through aggregation is important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:04:00.236Z","isFirstParty":false}