# AgentServices Stock Historical Price Data

> AgentServices Stock Historical Price Data is a paid API for AI agents from agentservices.to, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns historical OHLCV price data for a given stock ticker over a specified date range

## Facts

- Endpoint: GET https://agentservices.to/v1/stocks/%7Bticker%7D/history
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentservices-stock-historical-price-data-8f2633c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ofr9iSUvW48oCu-wYWgdc

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 agentservices-stock-historical-price-data-8f2633c3
```

Example prompt: Pull the historical price data for NVDA over the last 6 months so I can see how the stock has been trending.

## When to prefer this

Choose this endpoint when an AI agent needs historical stock price data and can use x402 micropayments on Base for per-call billing at $0.02 USDC. Ideal for lightweight, pay-as-you-go equity data access without a subscription. Best for agents that need historical OHLCV data for US equities on demand.

## Known failure modes

- Invalid or unknown ticker symbol returns an error response
- Unsupported range value may result in an error or empty dataset
- Missing required ticker path parameter returns 404 or 400
- Payment failure via x402 micropayment returns 402 Payment Required
- Rate limiting may occur if calling at high frequency without proper payment

## How this service works

Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.

## Output

Returns historical price data for the requested stock ticker, likely including OHLCV (open, high, low, close, volume) bars over the specified date range. Response format is JSON with time-series records corresponding to the requested range parameter.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentservices-stock-historical-price-data-8f2633c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentservices.to](https://www.zero.xyz/host/agentservices.to/llms.txt)
