Yahoo Finance Historical Data

https://api.sandbase.ai/v1/api/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.

Price
$0.07USD / call
Method
POST
Response
Async JSON
Parameters
1 required · 2 optional
Production route

Try the model

Playground

Open playground
Input
Date range for historical data.
Stock ticker symbol (e.g., AAPL).
Data interval granularity.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.07 / run

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
async

Parameters

symbol
string · required
range
string · optional
interval
string · optional

Access

Provider
Yahoo Finance
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/yahoo-finance/historical-data
Authentication
Bearer API key

API 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.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/yahoo-finance/historical-data
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/yahoo-finance/historical-data" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Yahoo Finance$0.07 per callAsync JSONOct 30, 2026
Yahoo Finance$0.07 per callAsync JSONOct 30, 2026
Yahoo Finance$0.07 per callAsync JSONOct 30, 2026
Yahoo Finance$0.07 per callAsync JSONOct 30, 2026
Yahoo Finance$0.07 per callAsync JSONOct 30, 2026
Yahoo Finance$0.07 per callAsync JSONOct 30, 2026

Questions

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.