# Avasis Agent Platform – SOL/USD On-Chain Price Feed

> Avasis Agent Platform – SOL/USD On-Chain Price Feed is a paid API for AI agents from premium.35-171-220-195.sslip.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

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.

## Facts

- Endpoint: GET https://premium.35-171-220-195.sslip.io/v1/tip/sol-usd?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avasis-agent-platform-sol-usd-on-chain-price-feed-71c1323c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3W_rFUZc53u8Ia36xn9FB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability avasis-agent-platform-sol-usd-on-chain-price-feed-71c1323c
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avasis-agent-platform-sol-usd-on-chain-price-feed-71c1323c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from premium.35-171-220-195.sslip.io](https://www.zero.xyz/host/premium.35-171-220-195.sslip.io/llms.txt)
