curl --request GET \
--url https://api.glassmarkets.io/v2/organizations/reported-metrics/coverage/depth/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/reported-metrics/coverage/depth/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/reported-metrics/coverage/depth/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"organization": {
"slug": "<string>",
"name": "<string>"
},
"asset": "<string>",
"exchange": {
"slug": "<string>",
"name": "<string>",
"icon_url": "<string>"
},
"pair": "<string>",
"timestamp": "<string>",
"bid_0bps_coverage": 123,
"bid_0.05bps_coverage": 123,
"bid_0.1bps_coverage": 123,
"bid_0.15bps_coverage": 123,
"bid_0.25bps_coverage": 123,
"bid_0.5bps_coverage": 123,
"bid_0.75bps_coverage": 123,
"bid_1bps_coverage": 123,
"bid_2bps_coverage": 123,
"bid_3bps_coverage": 123,
"bid_5bps_coverage": 123,
"bid_10bps_coverage": 123,
"bid_15bps_coverage": 123,
"bid_20bps_coverage": 123,
"bid_25bps_coverage": 123,
"bid_30bps_coverage": 123,
"bid_40bps_coverage": 123,
"bid_50bps_coverage": 123,
"bid_60bps_coverage": 123,
"bid_75bps_coverage": 123,
"bid_100bps_coverage": 123,
"bid_150bps_coverage": 123,
"bid_200bps_coverage": 123,
"bid_300bps_coverage": 123,
"bid_500bps_coverage": 123,
"ask_0bps_coverage": 123,
"ask_0.05bps_coverage": 123,
"ask_0.1bps_coverage": 123,
"ask_0.15bps_coverage": 123,
"ask_0.25bps_coverage": 123,
"ask_0.5bps_coverage": 123,
"ask_0.75bps_coverage": 123,
"ask_1bps_coverage": 123,
"ask_2bps_coverage": 123,
"ask_3bps_coverage": 123,
"ask_5bps_coverage": 123,
"ask_10bps_coverage": 123,
"ask_15bps_coverage": 123,
"ask_20bps_coverage": 123,
"ask_25bps_coverage": 123,
"ask_30bps_coverage": 123,
"ask_40bps_coverage": 123,
"ask_50bps_coverage": 123,
"ask_60bps_coverage": 123,
"ask_75bps_coverage": 123,
"ask_100bps_coverage": 123,
"ask_150bps_coverage": 123,
"ask_200bps_coverage": 123,
"ask_300bps_coverage": 123,
"ask_500bps_coverage": 123
}
]Get reported depth coverage
Returns the market maker’s share of the pair’s market-wide depth at each bps level, computed from reported depth, in daily buckets, as bid_<level>bps_coverage and ask_<level>bps_coverage. Market makers see their own organization’s values; project owners see every market maker’s values for the assets they own. With interval=a each row covers the whole range and has no timestamp.
curl --request GET \
--url https://api.glassmarkets.io/v2/organizations/reported-metrics/coverage/depth/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/reported-metrics/coverage/depth/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/reported-metrics/coverage/depth/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"organization": {
"slug": "<string>",
"name": "<string>"
},
"asset": "<string>",
"exchange": {
"slug": "<string>",
"name": "<string>",
"icon_url": "<string>"
},
"pair": "<string>",
"timestamp": "<string>",
"bid_0bps_coverage": 123,
"bid_0.05bps_coverage": 123,
"bid_0.1bps_coverage": 123,
"bid_0.15bps_coverage": 123,
"bid_0.25bps_coverage": 123,
"bid_0.5bps_coverage": 123,
"bid_0.75bps_coverage": 123,
"bid_1bps_coverage": 123,
"bid_2bps_coverage": 123,
"bid_3bps_coverage": 123,
"bid_5bps_coverage": 123,
"bid_10bps_coverage": 123,
"bid_15bps_coverage": 123,
"bid_20bps_coverage": 123,
"bid_25bps_coverage": 123,
"bid_30bps_coverage": 123,
"bid_40bps_coverage": 123,
"bid_50bps_coverage": 123,
"bid_60bps_coverage": 123,
"bid_75bps_coverage": 123,
"bid_100bps_coverage": 123,
"bid_150bps_coverage": 123,
"bid_200bps_coverage": 123,
"bid_300bps_coverage": 123,
"bid_500bps_coverage": 123,
"ask_0bps_coverage": 123,
"ask_0.05bps_coverage": 123,
"ask_0.1bps_coverage": 123,
"ask_0.15bps_coverage": 123,
"ask_0.25bps_coverage": 123,
"ask_0.5bps_coverage": 123,
"ask_0.75bps_coverage": 123,
"ask_1bps_coverage": 123,
"ask_2bps_coverage": 123,
"ask_3bps_coverage": 123,
"ask_5bps_coverage": 123,
"ask_10bps_coverage": 123,
"ask_15bps_coverage": 123,
"ask_20bps_coverage": 123,
"ask_25bps_coverage": 123,
"ask_30bps_coverage": 123,
"ask_40bps_coverage": 123,
"ask_50bps_coverage": 123,
"ask_60bps_coverage": 123,
"ask_75bps_coverage": 123,
"ask_100bps_coverage": 123,
"ask_150bps_coverage": 123,
"ask_200bps_coverage": 123,
"ask_300bps_coverage": 123,
"ask_500bps_coverage": 123
}
]Authorizations
Token-based authentication with required prefix "Token ". Example: "Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b"
Query Parameters
Comma seperated list of assets <asset>,<asset>.Defaults to all assets the user has access to if not provided.
10025File name of the CSV download. Defaults to data.csv.
1M- Aggregated in 1 month periods.1w- Aggregated in 1 week periods.1d- Aggregated in 1 day periods.1h- Aggregated in 1 hour periods.5m- Aggregated in 5 minute periods.c- Will return all the data for the specified time range using the biggest periods possible.a- Will return the aggregate of the data for the specified time range.
1M, 1w, 1d, 1h, 5m, c, a 130-minutes- 30-minutes1-hour- 1-hour3-hours- 3-hours6-hours- 6-hours12-hours- 12-hours1-day- 1-day7-days- 7-days1-month- 1-month3-months- 3-months6-months- 6-months1-year- 1-year
30-minutes, 1-hour, 3-hours, 6-hours, 12-hours, 1-day, 7-days, 1-month, 3-months, 6-months, 1-year 1Comma seperated list of organization slugs <slug>,<slug>.Defaults to all organizations the user is member of, if not provided.Available organizations are returned in the /v1/organizations endpoint.
100Set to csv to download the rows as a CSV file.
csv Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes

