Back to explore

finance

Stocks

Credits: 0.001

History

POST /v1/stock/History

Get the historic open-close for a given day

Request

datestring

date to retrieve as YYYY-MM-DD

stockstring

the stock symbol e.g AAPL

Response

closenumber

the close price

datestring

the date

highnumber

the peak price

lownumber

the low price

opennumber

the open price

symbolstring

the stock symbol

volumenumber

the volume

Request

Response

{
    "symbol": "AAPL",
    "open": 117.64,
    "close": 116.79,
    "high": 117.72,
    "low": 115.83,
    "date": "2020-10-01"
}

Credits: 0.0001

Price

POST /v1/stock/Price

Get the last price for a given stock ticker

Request

symbolstring

stock symbol e.g AAPL

Response

pricenumber

the last price

symbolstring

the stock symbol e.g AAPL

Request

Response

{
    "symbol": "AAPL",
    "price": 131.265
}

Credits: 0.001

Quote

POST /v1/stock/Quote

Get the last quote for the stock

Request

symbolstring

the stock symbol e.g AAPL

Response

ask_pricenumber

the asking price

ask_sizenumber

the ask size

bid_pricenumber

the bidding price

bid_sizenumber

the bid size

symbolstring

the stock symbol

timestampstring

the UTC timestamp of the quote

Request

Response

{
    "symbol": "AAPL",
    "ask": 131.12,
    "bid": 131.11,
    "ask_size": 7,
    "bid_size": 4,
    "timestamp": "2021-06-18T13:49:23.678Z"
}