# Losbeto Pyth Network SOL/USD Price Oracle

> Losbeto Pyth Network SOL/USD Price Oracle is a paid API for AI agents from losbeto-production-dd7c.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Returns the real-time SOL/USD price from the Pyth Network oracle with confidence interval and sub-second freshness

## Facts

- Endpoint: GET https://losbeto-production-dd7c.up.railway.app/pyth-price
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-pyth-network-sol-usd-price-oracle-8c123732
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iuSceQ1e4plgILnbx3558

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 losbeto-pyth-network-sol-usd-price-oracle-8c123732
```

Example prompt: What is the current SOL/USD price from the Pyth oracle, including the confidence interval?

## When to prefer this

Choose this endpoint when you need a highly fresh, sub-second SOL/USD price with a confidence interval from the Pyth Network oracle — particularly useful for DeFi applications, trading bots, or risk calculations that require on-chain oracle provenance rather than a centralized exchange API.

## Known failure modes

- Pyth Network oracle unavailable or delayed — may return stale or error response
- Railway deployment downtime — HTTP 5xx errors
- Malformed query parameter — unexpected format value may cause parsing error
- Payment failure — x402 payment required error if USDC not provided

## How this service works

Real-time SOL/USD from the Pyth Network oracle with its confidence interval and publish slot. Sub-second freshness, straight from the on-chain price account.

## Output

Returns the current SOL/USD price sourced from the Pyth Network oracle, including the confidence interval (spread around the price) and sub-second freshness metadata, delivered as a JSON object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "type": "string",
       "description": "Response format (json)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Real-time SOL/USD from the Pyth Network oracle with its confidence interval and publish slot. Sub-second freshness, straight from the on-chain price account."
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-pyth-network-sol-usd-price-oracle-8c123732/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from losbeto-production-dd7c.up.railway.app](https://www.zero.xyz/host/losbeto-production-dd7c.up.railway.app/llms.txt)
