# NoJunk Stocks Historical OHLCV Data

> NoJunk Stocks Historical OHLCV Data is a paid API for AI agents from nojunk-stocks.mick8511.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Returns OHLCV candlestick data, adjusted close, dividends, splits, and a summary (first, last, change %, high, low, avg volume) for a given ticker symbol over a specified range and interval.

## Facts

- Endpoint: GET https://nojunk-stocks.mick8511.workers.dev/history?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nojunk-stocks-historical-ohlcv-data-14a4b511
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mIcprfkXF0KGgEaE9MFcu

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 nojunk-stocks-historical-ohlcv-data-14a4b511
```

Example prompt: Pull the daily OHLCV candles for AAPL over the last 6 months, and include the summary showing total change percent, high, low, and average volume.

## When to prefer this

Use this endpoint when you need historical OHLCV price data with flexible range and interval options (from 1-minute intraday to monthly bars), or when you specifically need adjusted close prices, dividend history, or split history alongside a statistical summary. Prefer it over a quotes endpoint when you need time-series data rather than a single latest price snapshot.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error
- Intraday intervals (1m) requested with range longer than 5d return an error
- Interval/range combination not supported (e.g. 1h with max range) returns an error
- Symbol field missing returns a 400-level error
- Network or upstream data provider outage returns a 5xx error
- Symbol with no data for the requested range returns empty candles

## How this service works

Stock Quotes history: One symbol -> OHLCV candles for a range (1d to max) and interval (1m to 1mo), adjusted close, dividends, splits and a summary (first, last, change %, high, low, average volume).

## Output

Returns a list of OHLCV candlestick bars (open, high, low, close, volume) at the requested interval, adjusted close prices, dividend events, split events, and a summary object with the first price, last price, percentage change, period high, period low, and average volume.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "range": {
       "type": "string",
       "description": "One of 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, max (default 1mo)"
      },
      "symbol": {
       "type": "string",
       "maxLength": 12,
       "minLength": 1,
       "description": "Ticker symbol, 1-12 characters of A-Z 0-9 . ^ = - e.g. AAPL, BRK-B, ^GSPC, BTC-USD, EURUSD=X, GC=F"
      },
      "interval": {
       "type": "string",
       "description": "One of 1m, 5m, 15m, 1h, 1d, 1wk, 1mo (default 1d); 1m only with range 1d/5d, other intraday only with range up to 1mo"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nojunk-stocks-historical-ohlcv-data-14a4b511/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nojunk-stocks.mick8511.workers.dev](https://www.zero.xyz/host/nojunk-stocks.mick8511.workers.dev/llms.txt)
