List NHL teams
curl --request GET \
--url https://api.sportquanta.com/v1/nhl/teams \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sportquanta.com/v1/nhl/teams"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sportquanta.com/v1/nhl/teams', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sportquanta.com/v1/nhl/teams",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sportquanta.com/v1/nhl/teams"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.sportquanta.com/v1/nhl/teams")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sportquanta.com/v1/nhl/teams")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"items": [
{
"id": "<string>",
"canonical_id": "<string>",
"external_ids": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"full_name": "<string>",
"city": "<string>",
"name": "<string>",
"abbreviation": "<string>",
"code": "<string>",
"slug": "<string>",
"conference": "<string>",
"division": "<string>",
"venue_id": "<string>",
"min_year": 123,
"max_year": 123,
"active": true,
"logo_asset_key": "<string>",
"conference_rank": 123,
"division_rank": 123,
"playoff_seed": 123,
"wins": 123,
"losses": 123,
"ot_losses": 123,
"points": 123,
"points_percentage": 123,
"goals_for": 123,
"goals_against": 123,
"official_logo_url": "<string>",
"logo_url": "<string>"
}
]
},
"_meta": {
"request_id": "<string>",
"served_from": "live",
"cache_ttl_seconds": 123,
"provenance": {},
"availability": {}
}
}Teams, Players & Rosters
Teams
NHL-only route. Returns every canonical team sorted by
abbreviation as an items array, with the blob-store
logo_url materialized. The team docs also carry the
standings columns (records, OT losses, points, ranks) that
back /v1/nhl/standings.
Requires the odds entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.
GET
/
v1
/
nhl
/
teams
List NHL teams
curl --request GET \
--url https://api.sportquanta.com/v1/nhl/teams \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sportquanta.com/v1/nhl/teams"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sportquanta.com/v1/nhl/teams', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sportquanta.com/v1/nhl/teams",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sportquanta.com/v1/nhl/teams"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.sportquanta.com/v1/nhl/teams")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sportquanta.com/v1/nhl/teams")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"items": [
{
"id": "<string>",
"canonical_id": "<string>",
"external_ids": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"full_name": "<string>",
"city": "<string>",
"name": "<string>",
"abbreviation": "<string>",
"code": "<string>",
"slug": "<string>",
"conference": "<string>",
"division": "<string>",
"venue_id": "<string>",
"min_year": 123,
"max_year": 123,
"active": true,
"logo_asset_key": "<string>",
"conference_rank": 123,
"division_rank": 123,
"playoff_seed": 123,
"wins": 123,
"losses": 123,
"ot_losses": 123,
"points": 123,
"points_percentage": 123,
"goals_for": 123,
"goals_against": 123,
"official_logo_url": "<string>",
"logo_url": "<string>"
}
]
},
"_meta": {
"request_id": "<string>",
"served_from": "live",
"cache_ttl_seconds": 123,
"provenance": {},
"availability": {}
}
}Reference context: NHL.
Overview · Response conventions
Authorizations
Send a workspace API token in the Authorization: Bearer <token> header.
Response
Team catalog payload.
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Available options:
live, cache Response cache TTL; independent of source freshness. Omitted when zero.
Endpoint-specific availability context, including soccer roster coverage.