Skip to main content
GET
Search

Overview

Search across hockey teams, players, and leagues by name.

Code Examples

Parameters

string
required
Search term (minimum 2 characters)
string
Filter type: all, athletes, competitions, competitors

Response Structure

array
Matching players
array
Matching leagues/tournaments
array
Matching teams
Use search to find team, player, or league IDs, then use those IDs in other endpoints.

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

query
string
required

Search query

Example:

"Rangers"

filter
enum<string>
default:all

Filter type: all, competitions, competitors, athletes

Available options:
all,
competitions,
competitors,
athletes

Response

200

Search results retrieved successfully

Last modified on June 29, 2026