{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"748c1bd0-e08f-4536-9377-c38f512fd2c2","catalogType":"api","categories":["data"],"dataPlatform":"nhl","dataPlatformLogoUrl":"https://api.sh/logos/nhl.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Search NHL Player via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, q, and retrieve structured data including search query string submitted, unique NHL player identifier, player full name, player position code, and player sweater number to resolve player ids, power search autocomplete, and lookup alumni and retirees.","descriptionTranslations":{"ar":"ابحث عن لاعبي NHL النشطين والمعتزلين بالاسم الكامل أو الجزئي عبر OpenAny REST لدعم الإكمال التلقائي والحصول على معرفات اللاعبين. أرسل نص البحث مع خيارات تصفية الحالة النشطة والحد الأقصى للنتائج لاسترجاع معرفات اللاعبين والمراكز والفرق وأرقام القمصان والقياسات وروابط الملفات بصيغة JSON.","ja":"OpenAny REST で現役・引退を問わず NHL 選手を氏名または部分一致で検索し、オートコンプリートや後続 API 向けの選手 ID 解決に活用できます。検索語に現役フィルタや件数上限を組み合わせ、選手 ID、ポジション、所属チーム、背番号、体格、プロフィール URL を JSON で返します。","zh":"通过 OpenAny REST 按完整或部分姓名搜索现役与退役 NHL 球员，用于自动补全并解析下游接口所需的球员 ID。传入搜索关键词以及可选的现役状态和数量限制，即可获取匹配的球员 ID、位置、球队缩写、球衣号码、身高体重、出生地与主页链接。"},"effectContentHtml":"","executionMode":"sync","id":"52fe5775-540e-4648-97c0-d95d04f84e8f","includedContentHtml":"","inputs":[{"description":"Player name or part of it.","location":"query","name":"q","nullable":false,"required":true,"type":"string"},{"description":"`true` active players only, `false` retired only.","location":"query","name":"active","nullable":false,"required":false,"type":"boolean"},{"description":"Results (1-100, default 20).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/nhl.png","method":"GET","name":"NHL player search API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eNHL Player Search API\u003c/h2\u003e\n\u003cp\u003eSend required \u003ccode\u003eq\u003c/code\u003e (a player name or partial name such as \u003ccode\u003emcdavid\u003c/code\u003e) with optional \u003ccode\u003eactive\u003c/code\u003e (\u003ccode\u003etrue\u003c/code\u003e for active players only, \u003ccode\u003efalse\u003c/code\u003e for retired only) and \u003ccode\u003elimit\u003c/code\u003e (1–100, default 20). Each item in \u003ccode\u003eplayers[]\u003c/code\u003e returns \u003ccode\u003eplayer_id\u003c/code\u003e, \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eposition_code\u003c/code\u003e, \u003ccode\u003eteam_abbrev\u003c/code\u003e, \u003ccode\u003esweater_number\u003c/code\u003e, measurables, and \u003ccode\u003eurl\u003c/code\u003e.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eGET query: required q (player name or partial name); optional active (\u003ccode\u003etrue\u003c/code\u003e/\u003ccode\u003efalse\u003c/code\u003e), limit (1–100, default 20), raw=0, fields, fresh=1.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · NHL player search API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eResolve player IDs\u003c/strong\u003e: Turn user-typed names into player_id values for the Player Profile and Player Game Log APIs.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePower search autocomplete\u003c/strong\u003e: Set limit=10 and active=true for fast active-player typeahead pickers.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eLookup alumni and retirees\u003c/strong\u003e: Set active=false to search retired NHL players and inspect last_team_abbrev and last_season_id.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eq\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSearch query string submitted\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNumber of matching players returned\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eapplied_filters.active\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eActive/retired filter applied, if any\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].player_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUnique NHL player identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer full name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].active\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWhether the player is currently active\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].position_code\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer position code\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].team_abbrev\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrent or latest team abbreviation\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].sweater_number\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePlayer sweater number\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eplayers[].url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCanonical nhl.com player profile URL\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/nhl/v1/players/search \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode limit=1 \\\n  --data-urlencode output=json \\\n  --data-urlencode q=mcdavid \\\n  --data-urlencode raw=0\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe 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.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/52fe5775-540e-4648-97c0-d95d04f84e8f\"\u003ePublished NHL Player Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eCan I search with just a partial name or last name?\u003c/h3\u003e\n\u003cp\u003eYes. The q parameter matches full or partial player names such as mcdavid.\u003c/p\u003e\n\u003ch3\u003eHow do I filter to active or retired players only?\u003c/h3\u003e\n\u003cp\u003ePass active=true for active players only, active=false for retired players only, or omit active to search both.\u003c/p\u003e\n\u003ch3\u003eHow many results can a single search return?\u003c/h3\u003e\n\u003cp\u003eSet limit between 1 and 100; the default is 20.\u003c/p\u003e\n\u003ch3\u003eWhat can I do with the returned player_id?\u003c/h3\u003e\n\u003cp\u003ePass player_id directly to the NHL Player Profile API or NHL Player Game Log API.\u003c/p\u003e\n\u003ch3\u003eDoes the response include imperial and metric measurables?\u003c/h3\u003e\n\u003cp\u003eYes. Each player record includes height_in_inches, height_in_centimeters, weight_in_pounds, and weight_in_kilograms.\u003c/p\u003e\n\u003ch3\u003eHow do caching and output options work?\u003c/h3\u003e\n\u003cp\u003eOutput is JSON only. Pass fresh=1 to skip the 24-hour cache and raw=0 to omit bulky raw source blocks.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nhl/nhl-player-profile-and-career-stats-api\"\u003eNHL Player Profile API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nhl/nhl-player-game-log-api\"\u003eNHL Player Game Log API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nhl/nhl-team-roster-api\"\u003eNHL Team Roster API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/nhl/nhl-player-search-api?offering=52fe5775-540e-4648-97c0-d95d04f84e8f","providerId":"apish","publicPath":"/v1/agent-apis/apish/nhl/v1/players/search","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"limit":"1","output":"json","q":"mcdavid","raw":"0"}},"response_body":{"applied_filters":{"active":null},"cached":false,"count":1,"credits_used":1,"fetched_at":"2026-11-19T12:22:42.235Z","players":[{"active":false,"birth_city":"Sudbury","birth_country":"CAN","birth_state_province":"ON","height":"6'1\"","height_in_centimeters":185,"height_in_inches":73,"last_season_id":null,"last_team_abbrev":null,"last_team_id":null,"name":"Brian McDavid","player_id":8457287,"position_code":"D","sweater_number":null,"team_abbrev":null,"team_id":null,"url":"https://www.nhl.com/player/8457287","weight_in_kilograms":86,"weight_in_pounds":190}],"q":"mcdavid"}}],"seoDescription":"Search NHL Player via REST or MCP powered by Apish. Pay per call, no subscription. Integrate structured JSON into apps and AI agents with one API key.","updatedAt":"2026-12-03T02:43:05.576Z","usageInstructionsHtml":""}}