{"uid":"cap_gxWcrn2IpF6mYJzXqfgz7","slug":"api-api-agent-ia-ch-real-time-token-price-6397d8ae","name":"api.api-agent-ia.ch Real-Time Token Price","description":"What is this token worth in USD? Returns the current DefiLlama price of a token on Base (contract address, or eth / weth / usdc) with symbol, confidence and timestamp ($0.005 per call).","url":"https://api.api-agent-ia.ch/prix-token?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","reseau":"base","source":"defillama","symbole":"USDC","prix_usd":0.9995782267624443,"confiance":0.99,"horodatage":1792761063}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qqbRK5BRkxMnEmw_AW9M-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 blockchain token given its contract address or symbol.","exampleAgentPrompt":"What's the current USD price of the token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?","exampleUseCases":[{"title":"DeFi portfolio valuation","prompt":"Can you get me the current USD price of the token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 so I can calculate the current value of my holdings?"},{"title":"On-chain arbitrage signal detection","prompt":"Fetch the real-time price for token 0xdAC17F958D2ee523a2206206994597C13D831ec7 — I need to compare it against another exchange rate to spot an arbitrage opportunity."},{"title":"Token price alert monitoring","prompt":"Look up the current price of 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 right now so I can check if it has crossed my alert threshold of $30,000."}],"resultDescription":"A JSON object containing the token identifier (address or symbol) and its current price in USD as a floating-point number, e.g. {\"token\": \"0x...\", \"prix_usd\": 1.5}.","failureModes":["Unknown or unsupported token address returns an error or empty price","Malformed token address in query parameter causes a 400-level error","Network or upstream price feed outage may return stale or unavailable data","Missing required 'token' query parameter results in a validation error","Token with no active market or very low liquidity may return null or zero price"],"whenToPreferThis":"Choose this endpoint when you need a quick, real-time USD price lookup for a specific blockchain token by contract address or symbol, especially within an agentic workflow that already uses the api.api-agent-ia.ch suite of blockchain tools. It is well-suited for lightweight, per-call pricing queries where you do not need historical OHLCV data, order book depth, or multi-token batch pricing in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:35:06.747Z","isFirstParty":false,"canonicalSlug":"api-api-agent-ia-ch-real-time-token-price-6397d8ae"}