Player Profile for Search

Thời gian cập nhật: 2026-07-09 16:37

Introduction

• This API endpoint supports searching for basketball player information by player name, with fuzzy matching supported.

• Note: The request must include the parameter cmd=new, e.g. http://api.isportsapi.com/sport/basketball/player/search?api_key=&cmd=new&name=James.

Related Plans

You can use this api by subscribing plans:  Live Data.

Request

  • Path: /sport/basketball/player/search
  • Method: GET
  • Calls: This interface is limited to 60 seconds/call;
  • Parameters:
ParameterValueRequiredDescription
cmdstringtrueFixed value new. Required for this endpoint to return data correctly.
namestringtruePlayer name to search for. Supports fuzzy search.

Response

ParameterValueDescription
playerId string Unique ID of the player.
number int Jersey number. Returns 0 if not available.
name string Player name.
teamId string Unique ID of the team the player belongs to.
place stringPosition of the player, e.g. Forward. Returns empty if not available.
birthday intPlayer's date of birth (Unix timestamp, GMT+0). Returns 0 if not available.
height intHeight, unit: cm, e.g. 192. Returns 0 if not available.
weight intWeight, unit: kg, e.g. 77. Returns 0 if not available.
photo stringPlayer photo URL.

The image is hosted for reference only — please save it locally rather than calling this URL directly in production. Returns empty if not available.
nbaAge longYears since the player joined the NBA. Returns 0 for non-NBA players.
salary stringSalary, unit: ten thousand USD, e.g. 3565. Returns empty if not available.
country string Player's nationality/country. Returns empty if not available.
isNational boolean true: player is on a national team roster
false: player is not on a national team roster

Example Request

Example Response

    • This API endpoint supports searching for basketball player information by player name, with fuzzy matching supported.\n\n • Note: The request must include the parameter cmd=new, e.g. http://api.isportsapi.com/sport/basketball/player/search?api_key=&cmd=new&name=James.
    Contact

    Liên hệ