Get market statistics
curl --request GET \
--url https://partners-api.sandbox.securitize.io/stocks/v1/stocks/market-statistics \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://partners-api.sandbox.securitize.io/stocks/v1/stocks/market-statistics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://partners-api.sandbox.securitize.io/stocks/v1/stocks/market-statistics"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"symbol": "AAPL/USD",
"volume": 45211450,
"open": 229.81,
"close": 230.12,
"changeFromPreviousClose": 1.12,
"percentChangeFromPreviousClose": 0.49,
"high52Weeks": 260.1,
"low52Weeks": 164.08,
"high": 232.05,
"low": 229.4,
"last": 231.24
}{
"message": "No API key found in request"
}{
"statusCode": 404,
"message": "SYMBOL_NOT_FOUND",
"error": "Not Found"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}Prices
Get market statistics
Volume, the day’s open, close, high and low, and the 52-week range, for an asset’s detail screen. Figures are numbers, not decimal strings, and are refreshed every few minutes.
GET
/
stocks
/
market-statistics
Get market statistics
curl --request GET \
--url https://partners-api.sandbox.securitize.io/stocks/v1/stocks/market-statistics \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://partners-api.sandbox.securitize.io/stocks/v1/stocks/market-statistics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://partners-api.sandbox.securitize.io/stocks/v1/stocks/market-statistics"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"symbol": "AAPL/USD",
"volume": 45211450,
"open": 229.81,
"close": 230.12,
"changeFromPreviousClose": 1.12,
"percentChangeFromPreviousClose": 0.49,
"high52Weeks": 260.1,
"low52Weeks": 164.08,
"high": 232.05,
"low": 229.4,
"last": 231.24
}{
"message": "No API key found in request"
}{
"statusCode": 404,
"message": "SYMBOL_NOT_FOUND",
"error": "Not Found"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}