# stockapi.hillguava.xyz Historical OHLCV

> stockapi.hillguava.xyz Historical OHLCV is a paid API for AI agents from stockapi.hillguava.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns daily, weekly, or monthly OHLCV (Open, High, Low, Close, Volume) price history for a given NSE/BSE stock symbol.

## Facts

- Endpoint: GET https://stockapi.hillguava.xyz/historical/:symbol
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stockapi-hillguava-xyz-historical-ohlcv-7dbf0b02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TVFHNnEhx464sLLwyitRy

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 stockapi-hillguava-xyz-historical-ohlcv-7dbf0b02
```

Example prompt: Can you pull the daily OHLCV price history for RELIANCE on the NSE? I want to see the open, high, low, close, and volume data going back as far as the API supports.

## When to prefer this

Use this endpoint when you need historical OHLCV price data (candlestick/bar data) for Indian equities listed on NSE or BSE. Prefer this over live quote endpoints when you need trend analysis, backtesting, or charting over multiple periods. Choose over mutual fund or macro endpoints when the subject is an individual stock's price history.

## Known failure modes

- Invalid or unrecognized NSE/BSE symbol returns an error or empty dataset
- Symbol not listed on NSE/BSE causes a not-found response
- Payment of 0.02 USDC not fulfilled triggers a 402 Payment Required response
- Network timeout if the data provider is temporarily unavailable
- Malformed path parameter (e.g. missing symbol) returns a 400 Bad Request

## How this service works

OHLCV history (daily/weekly/monthly).

## Output

Returns a time series of OHLCV records (open, high, low, close, volume) for the requested NSE/BSE symbol at the requested frequency (daily, weekly, or monthly), enabling charting, backtesting, and trend analysis.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "NSE/BSE symbol, e.g. RELIANCE"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/stockapi-hillguava-xyz-historical-ohlcv-7dbf0b02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stockapi.hillguava.xyz](https://www.zero.xyz/host/stockapi.hillguava.xyz/llms.txt)
