Skip to main content
POST
/
api
/
morningstar
/
quotes
/
history
/morningstar/quotes/history
curl --request POST \
  --url https://api.anysite.io/api/morningstar/quotes/history \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "symbol": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "datetime": "<string>",
    "@type": "@morningstar_bar",
    "open": 123,
    "high": 123,
    "low": 123,
    "last": 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"

"MA"

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

Response

Successful Response

datetime
string
required
@type
string
default:@morningstar_bar
open
number | null
high
number | null
low
number | null
last
number | null
volume
integer | null