Financial Datasets Get Historical Stock Prices

https://api.sandbase.ai/v1/api/financial-datasets/prices

Get Historical Stock Prices from Financial Datasets. Returns the official Financial Datasets API response unchanged.

Price
$0.03USD / call
Method
POST
Response
JSON
Parameters
0 required · 6 optional
Production route

Try the model

Playground

Open playground
Input
Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
The end date for the price data (format: YYYY-MM-DD). Provider reference (supplier schema): `{"format":"date","type":"string"}`.
The time interval for the price data. Provider reference (supplier schema): `{"enum":["day","week","month","year"],"type":"string"}`.
interval_multiplier
The start date for the price data (format: YYYY-MM-DD). Provider reference (supplier schema): `{"format":"date","type":"string"}`.
The stock ticker symbol (e.g. AAPL, MSFT).
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.03 / run

Request & response

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

Parameters

cursor
string · optional
end_date
string · optional
interval
string · optional
interval_multiplier
string · optional
start_date
string · optional
ticker
string · optional

Access

Provider
Financial Datasets
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/financial-datasets/prices
Authentication
Bearer API key

API README

Financial Datasets Get Historical Stock Prices API

Get Historical Stock Prices from Financial Datasets. Returns the official Financial Datasets API response unchanged.

The response is the official Financial Datasets API response, unchanged.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "financial-datasets/prices"}'

Parameters

NameTypeRequiredDescription
cursorstringNoOpaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original reques
end_datestringNoThe end date for the price data (format: YYYY-MM-DD). Provider reference (supplier schema): {"format":"date","type":"string"}.
intervalstringNoThe time interval for the price data. Provider reference (supplier schema): {"enum":["day","week","month","year"],"type":"string"}.
interval_multiplierstringNointerval_multiplier
start_datestringNoThe start date for the price data (format: YYYY-MM-DD). Provider reference (supplier schema): {"format":"date","type":"string"}.
tickerstringNoThe stock ticker symbol (e.g. AAPL, MSFT).

Pricing

Flat price per call. Failed calls are not charged.

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/financial-datasets/prices
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/financial-datasets/prices" \
  -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
Financial Datasets$0.03 per callJSONOct 30, 2026
Financial Datasets$0.03 per callJSONOct 30, 2026
Financial Datasets$0.03 per callJSONOct 30, 2026
Financial Datasets$0.03 per callJSONOct 30, 2026
Financial Datasets$0.03 per callJSONOct 30, 2026
Financial Datasets$0.03 per callJSONOct 30, 2026

Questions

FAQ

How do I use the Financial Datasets Get Historical Stock Prices API?

Send a POST request to https://api.sandbase.ai/v1/api/financial-datasets/prices 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 Financial Datasets Get Historical Stock Prices API cost?

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

What parameters does the Financial Datasets Get Historical Stock Prices API accept?

No parameters are required. Optional: cursor (string), end_date (string), interval (string), interval_multiplier (string), start_date (string) and ticker (string). The Parameters table and the Playground on this page list every field.

What does the Financial Datasets Get Historical Stock Prices API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Financial Datasets developer account or API key?

No. Financial Datasets Get Historical Stock Prices 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 Financial Datasets API access separately.