{"uid":"cap_3W_rFUZc53u8Ia36xn9FB","slug":"avasis-agent-platform-sol-usd-on-chain-price-feed-71c1323c","name":"Avasis Agent Platform – 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://premium.35-171-220-195.sslip.io/v1/tip/sol-usd?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","properties":{"wait":{"type":"integer","maximum":25,"minimum":0,"description":"long-poll: seconds to wait for a newer value (0..25); with a prepaid token an unchanged answer is free"},"since":{"type":"integer","minimum":0,"description":"long-poll: the seq you already have; answers as soon as a newer value exists"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["topic","seq","data"],"properties":{"seq":{"type":"integer"},"data":{"type":"object"},"topic":{"type":"string"},"observedAt":{"type":"string"}}}}}}},"responseSchema":null,"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_jLTV_XrD5xSiPMN3xYOo-","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 the current SOL/USD price derived from Pyth push-feed and Orca whirlpool on-chain state, with spread in basis points, refreshed every 2 seconds, with long-poll support.","exampleAgentPrompt":"What's the current on-chain SOL/USD price right now? Long-poll up to 25 seconds if needed to get the freshest value after my last sequence.","exampleUseCases":[{"title":"Real-time SOL price for DeFi bot","prompt":"Get me the latest on-chain SOL/USD price from Pyth and Orca — I need a fresh quote with spread in basis points to price my next swap."},{"title":"Long-poll price update for trading agent","prompt":"I already have seq 4821 for the SOL/USD feed — wait up to 25 seconds and tell me as soon as there's a newer price."},{"title":"Decentralized price check for invoicing","prompt":"What is the current SOL/USD rate from on-chain sources? I want to convert a SOL amount to USD for an invoice and I don't want to rely on Binance or Coinbase."}],"resultDescription":"A JSON object containing the topic identifier, a monotonically increasing sequence number, the observed timestamp, and a data payload with the median SOL/USD price (from Pyth push-feed and Orca's two deepest SOL/USDC whirlpools) plus the spread expressed in basis points.","failureModes":["Long-poll timeout if no new price arrives within the requested wait window — returns the current cached value","Invalid or out-of-range 'wait' parameter (must be 0–25) returns a 400 error","Stale on-chain RPC data if the Solana node is lagging, leading to a slightly outdated price","Payment failure (402) if the prepaid meter balance is exhausted","Network connectivity issues to sslip.io domain may result in connection timeouts"],"whenToPreferThis":"Choose this endpoint when you need a decentralized, CEX-free SOL/USD price derived purely from on-chain state (Pyth + Orca), especially when you want spread-awareness, sub-2-second freshness, and long-polling to avoid busy-waiting. Prefer this over centralized exchange APIs when operating in trustless or DeFi contexts, or when you want to avoid API key dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:51:43.472Z","isFirstParty":false,"canonicalSlug":"avasis-agent-platform-sol-usd-on-chain-price-feed-71c1323c"}