# Syra Pyth Price Feed

> Syra Pyth Price Feed is a paid API for AI agents from api.syraa.fun, paid per call via x402, $0.00108/call, status unknown (last checked 2026-09-16).

Fetches real-time asset prices from the Pyth Network oracle for one or more trading pairs via a pay-per-call API on Solana.

## Facts

- Endpoint: GET https://api.syraa.fun/pyth/price
- Price: $0.00108/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/syra-pyth-price-feed-69ebad6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hTFBIcNjo-VPGvk09rTmY

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 syra-pyth-price-feed-69ebad6c
```

Example prompt: What are the current Pyth oracle prices for BTC/USD and SOL/USD right now?

## When to prefer this

Choose this endpoint when your agent needs real-time, on-chain verified price data from the Pyth Network oracle for Solana-ecosystem assets, especially when operating within an x402 pay-per-call micropayment workflow. It is ideal for DeFi agents, portfolio trackers, or trading bots that need trustworthy oracle prices without committing to a subscription.

## Known failure modes

- Missing or invalid 'symbols' query parameter returns an error
- Unknown or misspelled Pyth symbol returns no price data
- Payment failure (insufficient USDC balance) returns 402 Payment Required
- Network or Pyth oracle downtime may return unavailable data
- Rate limiting if too many concurrent calls without valid payment headers

## How this service works

Machine money for agents on Solana: live x402 pay-per-call APIs, MCP tools, typed SDK. Earn · Treasury · Invest · Spend · Grow.

## Output

Returns a JSON object with an 'ok' boolean indicating success, a 'paid' boolean confirming the micropayment was processed, and price data for each requested Pyth symbol or feed ID including current price, confidence interval, and timestamp from the Pyth Network oracle.

## 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",
     "queryParams": {
      "symbols": {
       "type": "string",
       "required": true,
       "description": "Comma-separated Pyth symbols (e.g. BTC/USD,SOL/USD) or feed ids"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/syra-pyth-price-feed-69ebad6c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.syraa.fun](https://www.zero.xyz/host/api.syraa.fun/llms.txt)
