# Yahoo Finance Historical Data API

> Extract historical OHLCV price data for a single ticker over a configurable date range and interval. Returns timestamped records suitable for charting and technical analysis.

Source: https://www.sandbase.ai/model/yahoo-finance/historical-data
API reference: https://www.sandbase.ai/model/yahoo-finance/historical-data/docs

## Facts

- Provider: Yahoo Finance
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/yahoo-finance/historical-data`
- Price: $0.07 per call
- Capabilities: api, yahoo finance, finance crypto
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/yahoo-finance/historical-data` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `symbol` | string | yes |  |
| `range` | string | no |  |
| `interval` | string | no |  |

## FAQ

### How do I use the Yahoo Finance Historical Data API?

Send a POST request to https://api.sandbase.ai/v1/api/yahoo-finance/historical-data with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Yahoo Finance Historical Data API cost?

$0.07 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Yahoo Finance Historical Data API accept?

Required: symbol (string). Optional: range (string) and interval (string). The Parameters table and the Playground on this page list every field.

### What does the Yahoo Finance Historical Data API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Yahoo Finance developer account or API key?

No. Yahoo Finance Historical Data runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Yahoo Finance API access separately.

## README

### Yahoo Finance Historical Data

Extract historical OHLCV price data for a single ticker over a configurable date range and interval. Returns timestamped records suitable for charting and technical analysis.
