Skip to main content
POST
/
api
/
morningstar
/
quotes
/morningstar/quotes
curl --request POST \
  --url https://api.anysite.io/api/morningstar/quotes \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "symbol": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@morningstar_quote",
    "performance_id": "<string>",
    "name": "<string>",
    "ticker": "<string>",
    "exchange": "<string>",
    "currency": "<string>",
    "price": 123,
    "change": 123,
    "change_percent": 123,
    "open": 123,
    "day_high": 123,
    "day_low": 123,
    "previous_close": 123,
    "bid": 123,
    "ask": 123,
    "volume": 123,
    "average_volume": 123,
    "market_cap": 123,
    "year_high": 123,
    "year_low": 123,
    "pre_market_price": 123,
    "pre_market_change": 123,
    "post_market_price": 123,
    "post_market_change": 123,
    "trading_status": "<string>",
    "quote_at": "<string>"
  }
]

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"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@morningstar_quote
performance_id
string | null
name
string | null
ticker
string | null
exchange
string | null
currency
string | null
price
number | null
change
number | null
change_percent
number | null
open
number | null
day_high
number | null
day_low
number | null
previous_close
number | null
bid
number | null
ask
number | null
volume
integer | null
average_volume
integer | null
market_cap
integer | null
year_high
number | null
year_low
number | null
pre_market_price
number | null
pre_market_change
number | null
post_market_price
number | null
post_market_change
number | null
trading_status
string | null
quote_at
string | null