{"uid":"cap_j6aNEYzPprcGfeiKMsFsb","slug":"avasis-price-consensus-89c789d5","name":"Avasis Price Consensus","description":"Price consensus ($0.02): token symbol (BTC, ETH, SOL, USDC, BONK, ...), EVM contract or Solana mint -> median of up to 6 independent sources (Pyth push feed, Chainlink, CoinGecko, DefiLlama, Dexscreener pool, Jupiter) with dispersion %, grade TIGHT / OK / WIDE / DIVERGENT, per-source age + stale flags, outliers; optional amount -> USD. Phrases: token price, price consensus, usd price, is the price reliable, convert amount to usd. GET only. Unknown symbol 404, no source 502: never charged.","url":"https://agents.avasis.ai/v1/price/consensus?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":["token"],"properties":{"chain":{"type":"string","description":"for a 0x contract: base (default) or eth; a Solana mint is always solana; ignored for symbols"},"token":{"type":"string","description":"a symbol (BTC, ETH, SOL, USDC, USDT, BONK, JUP, WIF, PEPE, DEGEN, AERO, LINK, ...; unknown symbols resolved via CoinGecko / the Pyth catalog / Jupiter-verified tickers), an EVM token contract (0x + 40 hex) or a Solana mint (base58)"},"amount":{"type":"string","description":"optional number of tokens: converted to USD at the consensus price (and per source)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["headline","token","consensus","sources","advice"],"properties":{"kind":{"type":"string"},"rail":{"type":"string"},"reads":{"type":"object"},"token":{"type":"object"},"advice":{"type":"string"},"amount":{"type":["object","null"]},"sources":{"type":"array"},"headline":{"type":"string"},"consensus":{"type":"object"},"also_available":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"kind":"price-consensus","note":"Each source is independent (oracle, aggregator, DEX, routing); the grade measures their agreement, not the quality of any one source. Not financial advice.","rail":"price-consensus-1","reads":{"elapsed_ms":0,"sources_queried":6},"token":{"kind":"symbol","name":"Solana","chain":null,"input":"SOL","symbol":"SOL","address":null,"pyth_feed":"ef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d","resolved_by":"built-in table","coingecko_id":"solana","chainlink_feed":"0x975043adBb80fc32276CbF9Bbcfd4A601a12462D"},"advice":"sources agree: safe to use the median for receipts, limits and conversions","amount":{"usd":238.975,"basis":"amount x consensus median (and per source)","amount":"2.5","by_source":{"pyth":238.833,"jupiter":238.74925,"chainlink":239.0755,"coingecko":239.025,"defillama":239.045,"dexscreener":238.925},"usd_display":"$238.98"},"sources":[{"at":1793507687,"usd":95.53320000000001,"age_s":13,"basis":"Pyth push-feed account on Solana (sponsored feed, shard 0)","fresh":true,"detail":"feed ef0d8b6f…, account 7UVimffxr9ow1uXYxsr4LHAcV58mLzhmwaeKvJ1pjLiE, slot 463948435","source":"pyth","status":"ok","confidence_interval":0.0638},{"at":1793495398,"usd":95.6302,"age_s":12302,"basis":"Chainlink aggregator on Base (0x975043ad…), fresh within its 86400s heartbeat","fresh":true,"detail":"round updatedAt 2026-11-01T01:09:58.000Z","source":"chainlink","status":"ok"},{"at":1793507661,"usd":95.61,"age_s":39,"basis":"CoinGecko simple price (public tier, cached 60 s)","fresh":true,"detail":"id solana","source":"coingecko","status":"ok"},{"at":1793507620,"usd":95.618,"age_s":80,"basis":"DefiLlama coins (aggregated, with timestamp + confidence)","fresh":true,"detail":"key coingecko:solana, confidence 0.99","source":"defillama","status":"ok","confidence":0.99},{"at":null,"usd":95.57,"age_s":null,"basis":"Dexscreener: best-liquidity pool mid-price on solana (wSOL pool as a SOL proxy)","fresh":true,"detail":"orca pool Czfq3xZZDm…, liquidity $25,000,000","source":"dexscreener","status":"ok","liquidity_usd":25000000},{"at":null,"usd":95.4997,"age_s":null,"basis":"Jupiter price v3 (Solana swap routing)","fresh":true,"detail":"block 463946713, liquidity $905,292,315","source":"jupiter","status":"ok","liquidity_usd":905292315}],"headline":"SOL $95.59: 6 fresh sources agree (spread 0.14%: TIGHT); 2.5 SOL = $238.98","consensus":{"max":95.6302,"min":95.4997,"usd":95.59,"agree":true,"grade":"TIGHT","stale":[],"method":"median of 6 fresh source(s); dispersion = (max - min) / median; TIGHT <= 0.25%, OK <= 1%, WIDE <= 3%, else DIVERGENT; outliers > 2% from the median","mad_pct":0.04,"skipped":[],"outliers":[],"n_sources":6,"used_stale":false,"unavailable":[],"usd_display":"$95.59","sources_used":["pyth","chainlink","coingecko","defillama","dexscreener","jupiter"],"dispersion_pct":0.14}}},"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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZIN-bwkL5d6wLUjmIX2X6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a multi-source price consensus for any crypto token (symbol, EVM contract, or Solana mint) with grade, dispersion, and optional USD conversion","exampleAgentPrompt":"What's the current consensus price of SOL right now — pull from multiple oracles and tell me if the sources agree or if there's a big dispersion?","exampleUseCases":[{"title":"Token price reliability check before swap","prompt":"Before I swap 500 USDC for WIF, check whether the current WIF price is reliable — are Pyth, CoinGecko and the other sources all in agreement, or is there a big divergence I should worry about?"},{"title":"USD conversion for DeFi receipt","prompt":"I need to convert 2.5 SOL to its USD value for a payment receipt — get me the median price across all available sources and tell me if the grade is TIGHT."},{"title":"Solana memecoin price sanity check","prompt":"Can you look up the price of this Solana mint EQqpuCsNqMrFjasxoaCQYv5bHkjrSQfZCNkFcEvpump and tell me how many sources have a price, what the median is, and whether any are marked as stale or outliers?"}],"resultDescription":"Returns a JSON object with: a headline summary, consensus median price in USD, dispersion percentage, reliability grade (TIGHT/OK/WIDE/DIVERGENT), per-source breakdowns (Pyth, Chainlink, CoinGecko, DefiLlama, Dexscreener, Jupiter) each with price, age in seconds, freshness flag, and status, plus an advice string. If an amount was provided, also returns the USD-converted value both at consensus and per source. Errors: 404 if the symbol is unknown, 502 if no source could return a price (neither charged).","failureModes":["404 returned when the token symbol is unrecognized across CoinGecko, Pyth catalog, and Jupiter tickers — not charged","502 returned when no price source responds for a known token — not charged","Partial source failures return fewer than 6 sources but still produce a consensus if at least one responds","Stale prices flagged per-source when age exceeds the source's heartbeat threshold (e.g. Chainlink 86400s)","DIVERGENT grade returned when sources disagree significantly, indicating low confidence in the median"],"whenToPreferThis":"Use this endpoint when you need a trustworthy, multi-oracle consensus price for a crypto token before executing a trade, computing a USD receipt, enforcing a price-based limit, or validating that a single price feed is not manipulated or stale. It is superior to querying any single oracle (Pyth, CoinGecko, etc.) alone because it cross-validates up to 6 independent sources and grades their agreement. Prefer this for DeFi agent workflows that require a reliable USD price, especially for long-tail tokens or Solana mints where any single source may be absent or stale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:36:11.335Z","isFirstParty":false,"canonicalSlug":"avasis-price-consensus-89c789d5"}