# Vybe Solana Analytics API — Pyth Price Feed Time Series

> Vybe Solana Analytics API — Pyth Price Feed Time Series is a paid API for AI agents from x402-api.vybenetwork.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-28).

Returns historical time-series price data for a given Pyth oracle price feed on Solana, with configurable time range and resolution.

## Facts

- Endpoint: POST https://x402-api.vybenetwork.xyz/v4/oracle/pyth/pricefeeds/%7BpriceFeedAddress%7D/price-ts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vybe-solana-analytics-api-pyth-price-feed-time-series-64725e4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_humsKxKZsXMbcYjDHelk6

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 vybe-solana-analytics-api-pyth-price-feed-time-series-64725e4f -d '<json body>'
```

Example prompt: Pull me the hourly price history for the Pyth SOL/USD feed (address: H6ARHf6YXhGYeQfUzQNGk6rDNnLBQKrenN712K4AQJEG) from January 1, 2024 to January 31, 2024, showing up to 100 records.

## When to prefer this

Use this endpoint when you need historical time-series price data from Pyth oracle feeds on Solana, especially when you want configurable resolution (hourly, daily, weekly) and time range filtering. Prefer this over spot-price endpoints when trend analysis or backtesting requires multiple data points over a period. Prefer over general market APIs when you specifically need Pyth on-chain oracle data rather than CEX prices.

## Known failure modes

- Invalid or unknown priceFeedAddress returns 404 or empty result
- Missing required priceFeedAddress causes 400 validation error
- Payment not attached or insufficient USDC balance causes 402 Payment Required response
- Invalid resolution string causes 400 bad request
- timeStart greater than timeEnd returns empty or error response
- Rate limiting or credit exhaustion returns 429 or payment error

## How this service works

Read access to Solana on-chain data — tokens, wallets, markets, prices, trades, transfers. No API key, no signup. Pay in USDC per request with the x402 protocol; the per-route price is declared in `x-payment-info`. WebSocket streaming uses prepaid credits.

## Output

Returns a paginated time-series array of price data points for the specified Pyth price feed, including timestamps and price values at the requested resolution (e.g. 1h, 1d, 1w). The response conforms to the PythPriceFeedsTimeSeriesReturn schema.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "priceFeedAddress"
 ],
 "properties": {
  "page": {
   "type": "integer",
   "description": "Pagination offset"
  },
  "limit": {
   "type": "integer",
   "description": "Limit of the number of records to return"
  },
  "timeEnd": {
   "type": "integer",
   "description": "End time of the data to return (unix timestamp)"
  },
  "timeStart": {
   "type": "integer",
   "description": "Start time of the data to return (unix timestamp)"
  },
  "resolution": {
   "type": "string",
   "description": "Resolution of the data. Possible values: 1h, 1d, 1w, 1m, 1y, or a string parseable to seconds"
  },
  "priceFeedAddress": {
   "type": "string",
   "description": "The public key identifying the Pyth price feed account"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "$ref": "#/components/schemas/PythPriceFeedsTimeSeriesReturn"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-analytics-api-pyth-price-feed-time-series-64725e4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api.vybenetwork.xyz](https://www.zero.xyz/host/x402-api.vybenetwork.xyz/llms.txt)
