cURL
curl --request GET \
--url 'https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC' \
--header 'Authorization: ApiKey <key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC"
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/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC', 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/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC"
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/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC")
.header("Authorization", "ApiKey <key>")
.asString();[
{
"organization": {
"slug": "example-mm",
"name": "Example Market Maker"
},
"value": 80,
"hit_target_day_count": 24,
"target_day_count": 30
}
]Market maker metrics
Get market-maker target uptime
Returns the share of active depth and spread target-days met per visible market maker. A target-day passes when its average meets the threshold or at least 75% of its hours meet it. Missing hours count as misses for the hourly check. Uses completed hours within the selected range, limited to its most recent 366 days.
GET
/
v2
/
organizations
/
market-maker-metrics
/
uptime
/
targets
/
cURL
curl --request GET \
--url 'https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC' \
--header 'Authorization: ApiKey <key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/market-maker-metrics/uptime/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC"
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/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC', 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/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC"
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/targets/?time_start=2026-10-01T00%3A00%3A00Z&time_end=2026-10-02T00%3A00%3A00Z&asset=BTC")
.header("Authorization", "ApiKey <key>")
.asString();[
{
"organization": {
"slug": "example-mm",
"name": "Example Market Maker"
},
"value": 80,
"hit_target_day_count": 24,
"target_day_count": 30
}
]Authorizations
metricsApiKeyAuthtokenAuth
Scoped API key with required prefix "ApiKey ". Available scopes: metrics:read, reported_metrics:write and mm_metrics:read.
Query Parameters
Required string length:
1 - 255Example:
"BTC"
Example:
"2026-10-02T00:00:00Z"
Example:
"2026-10-01T00:00:00Z"

