# x402stock Crypto Pair Aggregates via ZeroClick

> x402stock Crypto Pair Aggregates via ZeroClick is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-18).

Returns OHLCV aggregate bar data for a specified cryptocurrency trading pair, paid per-request in USDC via x402.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/crypto/%7Bpair%7D/aggregates?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-crypto-pair-aggregates-via-zeroclick-9ddecc36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lWvWRhkYkPUHj2vVYe-7k

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 x402stock-crypto-pair-aggregates-via-zeroclick-9ddecc36
```

Example prompt: Pull the aggregate candlestick data for BTC/USD from x402stock — I want the OHLCV bars so I can analyze recent price action.

## When to prefer this

Choose this endpoint when you need structured OHLCV aggregate/candlestick data for a specific cryptocurrency trading pair and want pay-per-use access without API key registration. Prefer over alternatives when your agent needs autonomous payment via x402/USDC, or when you need crypto market data alongside other financial data (stocks, macro, forex) from a single provider.

## Known failure modes

- Invalid or unsupported crypto pair symbol returns an error
- Missing required pair path parameter returns 400 Bad Request
- Payment failure or insufficient USDC balance blocks the request
- Rate limiting or upstream data unavailability may cause 5xx errors
- Malformed time range parameters may return empty or error responses

## How this service works

Market and economic data for AI agents — US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities (crude, natural gas, gasoline), US and global macro (Fed funds, CPI/PCE, jobs, GDP, Treasury debt & yields, World Bank indicators), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 or MPP. This server is a pay-per-use, transparent proxy in front of x402stock's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. The complete verified paid surface is listed at /openapi.json, the source of truth for available operations. Each operation here carries its live price in x-payment-info. Use the operations and details here when they meet your needs. Filtered specs contain only matching operations; if you cannot find what you need here, use search or the service catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge, reserved for agents claimed by a human with a verified email.

## Output

Returns aggregate bar (candlestick) data for the requested cryptocurrency pair, including open, high, low, close prices and volume across the requested time period and interval. Data is sourced from x402stock's market data API and delivered as structured JSON.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-crypto-pair-aggregates-via-zeroclick-9ddecc36/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
