NHL Records API
National Hockey League records and stats
Live Technical Metrics
Pre-calculated · updated every 20 min| Uptime Status | ⬜ Unknown — not yet probed |
|---|---|
| Server Latency | N/A |
| Hosting Server | Not disclosed |
| Content-Type | Not disclosed |
| Cache-Control | Not set |
| CORS Support | ❓ Unknown — verify before deploying |
| Authentication | ✅ None required — call the API directly without a key |
| Category | Sports & Fitness |
Quick Integration Code
✅ No API key neededfetch("https://gitlab.com/dword4/nhlapi/-/blob/master/records-api.md")
.then(response => {
if (!response.ok) throw new Error(`HTTP ${response.status}`);
return response.json();
})
.then(data => console.log(data))
.catch(error => console.error("Request failed:", error));
import requests
url = "https://gitlab.com/dword4/nhlapi/-/blob/master/records-api.md"
headers = {
"Accept": "application/json",
# "Authorization": "Bearer YOUR_TOKEN_HERE",
}
response = requests.get(url, headers=headers, timeout=10)
response.raise_for_status()
data = response.json()
print(data)
curl -X GET "https://gitlab.com/dword4/nhlapi/-/blob/master/records-api.md" \
-H "Accept: application/json" \
-H "User-Agent: MyApp/1.0" \
--max-time 10 \
--silent | python3 -m json.tool
Sample JSON Response — Sports & Fitness
Sports & Fitness{
"game": {
"id": 2417370,
"date": "2024-11-19",
"home_team": {
"id": 14,
"name": "Los Angeles Lakers",
"abbreviation": "LAL"
},
"visitor_team": {
"id": 2,
"name": "Boston Celtics",
"abbreviation": "BOS"
},
"home_team_score": 108,
"visitor_team_score": 122,
"period": 4,
"postseason": false,
"season": 2024,
"status": "Final"
}
}