# TokenScope OHLC Data Endpoint

> TokenScope OHLC Data Endpoint is a paid API for AI agents from coinscrop.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-13).

Retrieves OHLC (Open, High, Low, Close) candlestick price data for a specified cryptocurrency token by ID

## Facts

- Endpoint: POST https://coinscrop.vercel.app/api/ohlc
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenscope-ohlc-data-endpoint-521be6c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LxaP74L7FWtzFhy1AJmig

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 tokenscope-ohlc-data-endpoint-521be6c1 -d '<json body>'
```

Example prompt: Can you pull the OHLC candlestick price data for bitcoin using TokenScope? The coin ID is bitcoin.

## When to prefer this

Use this endpoint when you need OHLC candlestick price data for a specific cryptocurrency token and want AI-enhanced analysis via the TokenScope platform. Prefer this over raw CoinGecko or DexScreener calls when you want a unified, pay-per-call x402 interface without managing API keys.

## Known failure modes

- Invalid or unknown token ID returns a failed success response or empty data
- Token not listed on CoinGecko or DexScreener results in no data
- Malformed request body missing required 'id' field returns an error
- Payment failure via x402 on Base results in 402 response before data is returned
- Rate limiting or upstream API outage causes delayed or failed response

## How this service works

AI-powered crypto analysis. CoinGecko + DexScreener + MiMo LLM. 20 endpoints. x402 on Base.

## Output

Returns a JSON object with a success boolean and a data object containing OHLC (Open, High, Low, Close) candlestick price data for the requested cryptocurrency token, sourced from CoinGecko and/or DexScreener.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "id"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenscope-ohlc-data-endpoint-521be6c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinscrop.vercel.app](https://www.zero.xyz/host/coinscrop.vercel.app/llms.txt)
