{"uid":"cap_uohGaVG9u3eQf3oB_xG2t","slug":"avasis-sol-usd-on-chain-price-feed-09934ebf","name":"Avasis SOL/USD On-Chain Price Feed","description":"SOL/USD tip read from Solana state, no CEX or key: median of the Pyth SOL/USD push-feed account and Orca's two deepest SOL/USDC whirlpools (one getMultipleAccounts call), with spread in bps, refreshed every 2 s. Long-poll with ?since=<seq>&wait=25. Prepaid meter price $0.0002/call (packs at /v1/meter); SSE at /v1/stream/tips.","url":"https://agents.avasis.ai/v1/tip/sol-usd?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"seq":812,"data":{"pair":"SOL/USD","price":100.08,"sources":[{"fresh":true,"price":100.06,"source":"pyth","ageSeconds":2}],"spreadBps":3.2},"ageMs":420,"stale":false,"topic":"sol-usd","changed":true,"observedAt":"2026-10-29T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_srPpsL1tEHsJk_BH20M8J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a real-time SOL/USD price derived from the median of Pyth push-feed and Orca whirlpool on-chain accounts, with spread in basis points, refreshed every 2 seconds.","exampleAgentPrompt":"What's the current on-chain SOL/USD price right now, including the spread in basis points, using Pyth and Orca data — and flag if the feed is stale?","exampleUseCases":[{"title":"Real-time SOL price for trade execution","prompt":"Before I swap, tell me the current on-chain SOL/USD price from Pyth and Orca and whether the feed is fresh — I need the spread in bps too."},{"title":"Stale feed alert for DeFi monitoring bot","prompt":"Keep an eye on the SOL/USD on-chain price feed and let me know immediately if it goes stale or the age exceeds a few seconds."},{"title":"Price comparison against CEX rate","prompt":"Get me the current decentralized on-chain SOL/USD price from Avasis so I can compare it against the Binance spot price and see if there's an arbitrage gap."}],"resultDescription":"A JSON object containing the sequence number, SOL/USD price, per-source breakdown (Pyth, Orca) with individual prices and freshness, spread in basis points, age in milliseconds, a stale boolean flag, and the observation timestamp.","failureModes":["Payment not included or insufficient (x402 payment required): endpoint returns 402 with payment details","Sequence number too old or invalid ?since= parameter: may return stale or reset sequence","Long-poll timeout if no price update occurs within the 25-second wait window","On-chain RPC latency spike causing temporarily stale data (stale:true in response)","Rate limit exceeded for prepaid meter pack"],"whenToPreferThis":"Choose this endpoint when you need a decentralized, CEX-independent SOL/USD price that aggregates Pyth oracle data and Orca DEX liquidity pools directly from Solana state. Ideal for DeFi agents, trading bots, or risk systems that need tamper-resistant, on-chain price discovery with spread transparency and real-time freshness signals, rather than trusting a centralized exchange feed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:39.911Z","isFirstParty":false,"canonicalSlug":"avasis-sol-usd-on-chain-price-feed-09934ebf"}