# Cambrian x402 Solana OHLCV Base-Quote

> Cambrian x402 Solana OHLCV Base-Quote is a paid API for AI agents from x402.cambrian.org, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Fetches OHLCV (Open, High, Low, Close, Volume) candlestick price data for a Solana token pair (base/quote) on a pay-per-use basis.

## Facts

- Endpoint: GET https://x402.cambrian.org/solana/ohlcv/base-quote
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cambrian-x402-solana-ohlcv-base-quote-99418f21
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vD_2ffTzg5XE282H5zAuE

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 cambrian-x402-solana-ohlcv-base-quote-99418f21
```

Example prompt: Pull the OHLCV candlestick data for the SOL/USDC trading pair on Solana — I want to see the open, high, low, close, and volume figures for recent candles.

## When to prefer this

Choose this endpoint when you need structured OHLCV candlestick market data specifically for Solana token pairs, especially in an agentic pay-per-use context using the x402 payment protocol. Prefer it over general crypto data APIs when you need Solana-native DeFi pair data on a micro-payment basis without subscription overhead.

## Known failure modes

- Invalid or unrecognized base/quote token symbols returns an error or empty array
- Payment not fulfilled results in HTTP 402 response blocking data access
- Unsupported trading pair or insufficient liquidity data may return empty results
- Malformed query parameters may result in a 400 bad request
- Network or upstream data provider outage may cause timeouts or 5xx errors

## How this service works

Pay-per-use blockchain and social data for autonomous agents.

## Output

Returns an array of OHLCV records for the requested Solana base-quote trading pair, each containing open, high, low, close prices and trading volume for a given time interval.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "array"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "array"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cambrian-x402-solana-ohlcv-base-quote-99418f21/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.cambrian.org](https://www.zero.xyz/host/x402.cambrian.org/llms.txt)
