cURL
curl --request GET \
--url 'https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50' \
--header 'Authorization: ApiKey <key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50"
headers = {"Authorization": "ApiKey <key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'ApiKey <key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "ApiKey <key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50")
.header("Authorization", "ApiKey <key>")
.asString();{
"mode": "aggregate",
"time_start": "2026-09-24T00:00:00Z",
"time_end": "2026-10-01T00:00:00Z",
"totals": [
{
"organization": {
"slug": "example-mm",
"name": "Example Market Maker"
},
"value": 74.29,
"contributing_value_count": 5
}
],
"rows": [
{
"exchange": {
"slug": "binance",
"name": "Binance",
"icon_url": "https://s2.coinmarketcap.com/static/img/exchanges/64x64/630.png"
},
"asset": "ONDO",
"pair": "ONDO/USDT",
"timestamp": "2026-09-30T00:00:00Z",
"spread_bps": 70.91,
"organization": {
"slug": "example-mm",
"name": "Example Market Maker"
},
"is_trusted": true,
"spread_uptime": null,
"bid_100bps": 100,
"ask_100bps": 100,
"bid_50bps": null,
"ask_50bps": null,
"bid_200bps": null,
"ask_200bps": null
}
]
}
Market maker metrics
Get market-maker uptime rollup
Returns overall uptime per market-maker organization in totals. Set mode and organization to also get uptime per exchange and pair in rows; mode=daily also needs day. With the default depth_interval=1d a range longer than 366 days is cut to its last 366 days.
GET
/
v2
/
organizations
/
market-maker-metrics
/
uptime
/
rollup
/
cURL
curl --request GET \
--url 'https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50' \
--header 'Authorization: ApiKey <key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50"
headers = {"Authorization": "ApiKey <key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'ApiKey <key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "ApiKey <key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/rollup/?bps=10,50&time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&depth_bps=10,50")
.header("Authorization", "ApiKey <key>")
.asString();{
"mode": "aggregate",
"time_start": "2026-09-24T00:00:00Z",
"time_end": "2026-10-01T00:00:00Z",
"totals": [
{
"organization": {
"slug": "example-mm",
"name": "Example Market Maker"
},
"value": 74.29,
"contributing_value_count": 5
}
],
"rows": [
{
"exchange": {
"slug": "binance",
"name": "Binance",
"icon_url": "https://s2.coinmarketcap.com/static/img/exchanges/64x64/630.png"
},
"asset": "ONDO",
"pair": "ONDO/USDT",
"timestamp": "2026-09-30T00:00:00Z",
"spread_bps": 70.91,
"organization": {
"slug": "example-mm",
"name": "Example Market Maker"
},
"is_trusted": true,
"spread_uptime": null,
"bid_100bps": 100,
"ask_100bps": 100,
"bid_50bps": null,
"ask_50bps": null,
"bid_200bps": null,
"ask_200bps": null
}
]
}
Authorizations
metricsApiKeyAuthtokenAuth

