Skip to main content
POST
/
api
/
nasdaq
/
quotes
/
history
/nasdaq/quotes/history
curl --request POST \
  --url https://api.anysite.io/api/nasdaq/quotes/history \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "symbol": "<string>",
  "count": 2,
  "timeout": 300,
  "asset_class": "stocks",
  "date_from": "<string>",
  "date_to": "<string>"
}
'
[
  {
    "date": "<string>",
    "@type": "@nasdaq_historical_bar",
    "open": 123,
    "high": 123,
    "low": 123,
    "close": 123,
    "volume": 123
  }
]

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:

"AAPL"

"TSLA"

"QQQ"

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
asset_class
enum<string>
default:stocks

Asset class of the symbol

Available options:
stocks,
etf,
index
date_from
string | null

Start date in YYYY-MM-DD format

Pattern: ^\d{4}-\d{2}-\d{2}$
date_to
string | null

End date in YYYY-MM-DD format

Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Successful Response

date
string
required
@type
string
default:@nasdaq_historical_bar
open
number | null
high
number | null
low
number | null
close
number | null
volume
integer | null