Skip to main content
POST
/
api
/
yahoo
/
finance
/
quotes
/
history
/yahoo/finance/quotes/history
curl --request POST \
  --url https://api.anysite.io/api/yahoo/finance/quotes/history \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "symbol": "<string>",
  "count": 2,
  "timeout": 300,
  "interval": "1d",
  "range": "1mo"
}
'
[
  {
    "date_at": 123,
    "@type": "@yahoo_finance_bar",
    "open": 123,
    "high": 123,
    "low": 123,
    "close": 123,
    "adj_close": 123,
    "volume": 123
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.anysite.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
symbol
string
required

Ticker symbol

Minimum string length: 1
Examples:

"TSLA"

"AAPL"

"BTC-USD"

count
integer
required

Maximum number of bars to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
interval
enum<string>
default:1d

Bar interval: 1d, 1wk, or 1mo

Available options:
1d,
1wk,
1mo
range
enum<string>
default:1mo

Time range: 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, or max

Available options:
1mo,
3mo,
6mo,
1y,
2y,
5y,
10y,
max

Response

Successful Response

date_at
integer
required
@type
string
default:@yahoo_finance_bar
open
number | null
high
number | null
low
number | null
close
number | null
adj_close
number | null
volume
integer | null