NHL Teams API
Get NHL Teams data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, and retrieve structured data including unique NHL team identifier, underlying NHL franchise identifier, three-letter team abbreviation, full NHL team name, and team nickname without city to populate team selectors, group clubs by geography, and feed downstream nhl calls.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
NHL Teams API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
NHL Teams API
Call this endpoint with no required query parameters to retrieve all 32 NHL clubs. Each entry in teams[] provides team_id, franchise_id, abbreviation, name, common_name, place_name, conference, division, logo, and logo_dark.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | GET query: no required parameters; optional raw=0, fields, fresh=1. |
| Selected implementation | apish · NHL teams API |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Populate team selectors: Use teams[].abbreviation, name, and logo/logo_dark to build light- and dark-mode club pickers.
- Group clubs by geography: Organize franchises by conference and division for standings and schedule navigation.
- Feed downstream NHL calls: Pass teams[].abbreviation into the Schedule, Roster, Prospects, and Team Player Stats APIs.
Returned Data
| Field | Meaning |
|---|---|
count |
Total number of NHL teams returned |
teams[].team_id |
Unique NHL team identifier |
teams[].franchise_id |
Underlying NHL franchise identifier |
teams[].abbreviation |
Three-letter team abbreviation (e.g. EDM, TOR) |
teams[].name |
Full NHL team name |
teams[].common_name |
Team nickname without city |
teams[].place_name |
Team city or geographic market name |
teams[].conference |
Conference name (Eastern or Western) |
teams[].division |
Division name |
teams[].logo |
Primary team logo URL |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/apish/nhl/v1/teams \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode output=json \
--data-urlencode raw=0
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published NHL Teams API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent NHL teams API · GET · View API reference | $0.002 / billing credit | 0 | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/nhl/v1/teams- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
cachedbooleancountintegercredits_usedintegerfetched_atstringteamsobject[]abbreviationstringcommon_namestringconferencestringdivisionstringfranchise_idintegerlogostringlogo_darkstringnamestringplace_namestringteam_idinteger
Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/nhl/v1/teams?output=json&raw=0' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "cached": false, "count": 32, "credits_used": 1, "fetched_at": "2026-11-19T12:22:49.934Z", "teams": [ { "abbreviation": "ANA", "common_name": "Ducks", "conference": "Western", "division": "Pacific", "franchise_id": 32, "logo": "https://assets.nhle.com/logos/nhl/svg/ANA_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/ANA_dark.svg", "name": "Anaheim Ducks", "place_name": "Anaheim", "team_id": 24 }, { "abbreviation": "BOS", "common_name": "Bruins", "conference": "Eastern", "division": "Atlantic", "franchise_id": 6, "logo": "https://assets.nhle.com/logos/nhl/svg/BOS_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/BOS_dark.svg", "name": "Boston Bruins", "place_name": "Boston", "team_id": 6 }, { "abbreviation": "BUF", "common_name": "Sabres", "conference": "Eastern", "division": "Atlantic", "franchise_id": 19, "logo": "https://assets.nhle.com/logos/nhl/svg/BUF_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/BUF_dark.svg", "name": "Buffalo Sabres", "place_name": "Buffalo", "team_id": 7 }, { "abbreviation": "CGY", "common_name": "Flames", "conference": "Western", "division": "Pacific", "franchise_id": 21, "logo": "https://assets.nhle.com/logos/nhl/svg/CGY_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/CGY_dark.svg", "name": "Calgary Flames", "place_name": "Calgary", "team_id": 20 }, { "abbreviation": "CAR", "common_name": "Hurricanes", "conference": "Eastern", "division": "Metropolitan", "franchise_id": 26, "logo": "https://assets.nhle.com/logos/nhl/svg/CAR_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/CAR_dark.svg", "name": "Carolina Hurricanes", "place_name": "Carolina", "team_id": 12 }, { "abbreviation": "CHI", "common_name": "Blackhawks", "conference": "Western", "division": "Central", "franchise_id": 11, "logo": "https://assets.nhle.com/logos/nhl/svg/CHI_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/CHI_dark.svg", "name": "Chicago Blackhawks", "place_name": "Chicago", "team_id": 16 }, { "abbreviation": "COL", "common_name": "Avalanche", "conference": "Western", "division": "Central", "franchise_id": 27, "logo": "https://assets.nhle.com/logos/nhl/svg/COL_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/COL_dark.svg", "name": "Colorado Avalanche", "place_name": "Colorado", "team_id": 21 }, { "abbreviation": "CBJ", "common_name": "Blue Jackets", "conference": "Eastern", "division": "Metropolitan", "franchise_id": 36, "logo": "https://assets.nhle.com/logos/nhl/svg/CBJ_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/CBJ_dark.svg", "name": "Columbus Blue Jackets", "place_name": "Columbus", "team_id": 29 }, { "abbreviation": "DAL", "common_name": "Stars", "conference": "Western", "division": "Central", "franchise_id": 15, "logo": "https://assets.nhle.com/logos/nhl/svg/DAL_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/DAL_dark.svg", "name": "Dallas Stars", "place_name": "Dallas", "team_id": 25 }, { "abbreviation": "DET", "common_name": "Red Wings", "conference": "Eastern", "division": "Atlantic", "franchise_id": 12, "logo": "https://assets.nhle.com/logos/nhl/svg/DET_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/DET_dark.svg", "name": "Detroit Red Wings", "place_name": "Detroit", "team_id": 17 }, { "abbreviation": "EDM", "common_name": "Oilers", "conference": "Western", "division": "Pacific", "franchise_id": 25, "logo": "https://assets.nhle.com/logos/nhl/svg/EDM_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/EDM_dark.svg", "name": "Edmonton Oilers", "place_name": "Edmonton", "team_id": 22 }, { "abbreviation": "FLA", "common_name": "Panthers", "conference": "Eastern", "division": "Atlantic", "franchise_id": 33, "logo": "https://assets.nhle.com/logos/nhl/svg/FLA_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/FLA_dark.svg", "name": "Florida Panthers", "place_name": "Florida", "team_id": 13 }, { "abbreviation": "LAK", "common_name": "Kings", "conference": "Western", "division": "Pacific", "franchise_id": 14, "logo": "https://assets.nhle.com/logos/nhl/svg/LAK_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/LAK_dark.svg", "name": "Los Angeles Kings", "place_name": "Los Angeles", "team_id": 26 }, { "abbreviation": "MIN", "common_name": "Wild", "conference": "Western", "division": "Central", "franchise_id": 37, "logo": "https://assets.nhle.com/logos/nhl/svg/MIN_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/MIN_dark.svg", "name": "Minnesota Wild", "place_name": "Minnesota", "team_id": 30 }, { "abbreviation": "MTL", "common_name": "Canadiens", "conference": "Eastern", "division": "Atlantic", "franchise_id": 1, "logo": "https://assets.nhle.com/logos/nhl/svg/MTL_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/MTL_dark.svg", "name": "Montréal Canadiens", "place_name": "Montréal", "team_id": 8 }, { "abbreviation": "NSH", "common_name": "Predators", "conference": "Western", "division": "Central", "franchise_id": 34, "logo": "https://assets.nhle.com/logos/nhl/svg/NSH_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/NSH_dark.svg", "name": "Nashville Predators", "place_name": "Nashville", "team_id": 18 }, { "abbreviation": "NJD", "common_name": "Devils", "conference": "Eastern", "division": "Metropolitan", "franchise_id": 23, "logo": "https://assets.nhle.com/logos/nhl/svg/NJD_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/NJD_dark.svg", "name": "New Jersey Devils", "place_name": "New Jersey", "team_id": 1 }, { "abbreviation": "NYI", "common_name": "Islanders", "conference": "Eastern", "division": "Metropolitan", "franchise_id": 22, "logo": "https://assets.nhle.com/logos/nhl/svg/NYI_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/NYI_dark.svg", "name": "New York Islanders", "place_name": "NY Islanders", "team_id": 2 }, { "abbreviation": "NYR", "common_name": "Rangers", "conference": "Eastern", "division": "Metropolitan", "franchise_id": 10, "logo": "https://assets.nhle.com/logos/nhl/svg/NYR_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/NYR_dark.svg", "name": "New York Rangers", "place_name": "NY Rangers", "team_id": 3 }, { "abbreviation": "OTT", "common_name": "Senators", "conference": "Eastern", "division": "Atlantic", "franchise_id": 30, "logo": "https://assets.nhle.com/logos/nhl/svg/OTT_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/OTT_dark.svg", "name": "Ottawa Senators", "place_name": "Ottawa", "team_id": 9 }, { "abbreviation": "PHI", "common_name": "Flyers", "conference": "Eastern", "division": "Metropolitan", "franchise_id": 16, "logo": "https://assets.nhle.com/logos/nhl/svg/PHI_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/PHI_dark.svg", "name": "Philadelphia Flyers", "place_name": "Philadelphia", "team_id": 4 }, { "abbreviation": "PIT", "common_name": "Penguins", "conference": "Eastern", "division": "Metropolitan", "franchise_id": 17, "logo": "https://assets.nhle.com/logos/nhl/svg/PIT_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/PIT_dark.svg", "name": "Pittsburgh Penguins", "place_name": "Pittsburgh", "team_id": 5 }, { "abbreviation": "SJS", "common_name": "Sharks", "conference": "Western", "division": "Pacific", "franchise_id": 29, "logo": "https://assets.nhle.com/logos/nhl/svg/SJS_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/SJS_dark.svg", "name": "San Jose Sharks", "place_name": "San Jose", "team_id": 28 }, { "abbreviation": "SEA", "common_name": "Kraken", "conference": "Western", "division": "Pacific", "franchise_id": 39, "logo": "https://assets.nhle.com/logos/nhl/svg/SEA_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/SEA_dark.svg", "name": "Seattle Kraken", "place_name": "Seattle", "team_id": 55 }, { "abbreviation": "STL", "common_name": "Blues", "conference": "Western", "division": "Central", "franchise_id": 18, "logo": "https://assets.nhle.com/logos/nhl/svg/STL_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/STL_dark.svg", "name": "St. Louis Blues", "place_name": "St. Louis", "team_id": 19 }, { "abbreviation": "TBL", "common_name": "Lightning", "conference": "Eastern", "division": "Atlantic", "franchise_id": 31, "logo": "https://assets.nhle.com/logos/nhl/svg/TBL_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/TBL_dark.svg", "name": "Tampa Bay Lightning", "place_name": "Tampa Bay", "team_id": 14 }, { "abbreviation": "TOR", "common_name": "Maple Leafs", "conference": "Eastern", "division": "Atlantic", "franchise_id": 5, "logo": "https://assets.nhle.com/logos/nhl/svg/TOR_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/TOR_dark.svg", "name": "Toronto Maple Leafs", "place_name": "Toronto", "team_id": 10 }, { "abbreviation": "UTA", "common_name": "Mammoth", "conference": "Western", "division": "Central", "franchise_id": 40, "logo": "https://assets.nhle.com/logos/nhl/svg/UTA_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/UTA_dark.svg", "name": "Utah Mammoth", "place_name": "Utah", "team_id": 68 }, { "abbreviation": "VAN", "common_name": "Canucks", "conference": "Western", "division": "Pacific", "franchise_id": 20, "logo": "https://assets.nhle.com/logos/nhl/svg/VAN_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/VAN_dark.svg", "name": "Vancouver Canucks", "place_name": "Vancouver", "team_id": 23 }, { "abbreviation": "VGK", "common_name": "Golden Knights", "conference": "Western", "division": "Pacific", "franchise_id": 38, "logo": "https://assets.nhle.com/logos/nhl/svg/VGK_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/VGK_dark.svg", "name": "Vegas Golden Knights", "place_name": "Vegas", "team_id": 54 }, { "abbreviation": "WSH", "common_name": "Capitals", "conference": "Eastern", "division": "Metropolitan", "franchise_id": 24, "logo": "https://assets.nhle.com/logos/nhl/svg/WSH_secondary_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/WSH_secondary_dark.svg", "name": "Washington Capitals", "place_name": "Washington", "team_id": 15 }, { "abbreviation": "WPG", "common_name": "Jets", "conference": "Western", "division": "Central", "franchise_id": 35, "logo": "https://assets.nhle.com/logos/nhl/svg/WPG_light.svg", "logo_dark": "https://assets.nhle.com/logos/nhl/svg/WPG_dark.svg", "name": "Winnipeg Jets", "place_name": "Winnipeg", "team_id": 52 } ] }