# Vybe Solana Market OHLCV Candles

> Vybe Solana Market OHLCV Candles is a paid API for AI agents from x402-api.vybenetwork.xyz, paid per call via x402, $0.009/call, status unknown (last checked 2026-09-28).

Returns OHLCV (open/high/low/close/volume) candlestick data for a specific Solana trading market at a requested time resolution and date range

## Facts

- Endpoint: POST https://x402-api.vybenetwork.xyz/v4/markets/%7BmarketAddress%7D/candles?utm_source=zero.xyz
- Price: $0.009/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-market-ohlcv-candles-fd3f04c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GF3-g46bRATuMomF34BoY

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-market-ohlcv-candles-fd3f04c6 -d '<json body>'
```

Example prompt: Pull me 1-hour OHLCV candles from Vybe for the Solana market at address 8BnEgHoWFysVcuFFX7QztDmzuH8r5ZFvyP3sYwn1XTh6, covering from January 1 2025 to March 31 2025 — up to 1000 candles, and fill any open-to-close gaps.

## When to prefer this

Use this endpoint when you need historical or recent OHLCV candlestick data for a specific Solana on-chain market (DEX pair or liquidity pool) for charting, technical analysis, or backtesting. Prefer this over generic price endpoints when you need structured time-series candle data at a specific resolution with pagination and gap-filling. Best suited for agents performing price trend analysis, strategy backtesting, or building trading charts on Solana markets without requiring an API key.

## Known failure modes

- Invalid or non-existent marketAddress returns an error or empty result
- Unsupported resolution string returns a 400 bad request
- timeStart after timeEnd causes empty or error response
- Payment not provided or insufficient USDC via x402 results in a 402 Payment Required response
- Requesting too far back in history with no data returns an empty candle array
- Page index out of range returns empty results

## 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

An array of OHLCV candlestick records for the specified Solana market, each containing open, high, low, close, and volume values at the requested resolution (e.g. 1m, 1h, 1d) within the specified time range. Results are paginated and optionally gap-filled by carrying forward the previous close as the next open.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "marketAddress"
 ],
 "properties": {
  "page": {
   "type": "integer",
   "description": "Page selection, 0-indexed."
  },
  "limit": {
   "type": "integer",
   "description": "Specifies the maximum number of candles to retrieve within a given resolution. Default is 1000."
  },
  "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: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 3h, 4h, 1d, 1w, 1mo, 1y. Default is \"1m\"."
  },
  "marketAddress": {
   "type": "string",
   "description": "The unique identifier assigned to a specific trading pair or market."
  },
  "eliminateCloseToOpenGaps": {
   "type": "boolean",
   "description": "Eliminate gaps between candles by using previous close as next open. Default is true."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-market-ohlcv-candles-fd3f04c6/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)
