field-hockey-stick-ballSports Player API

API for fetching sports player details: stats and profiles

Sports player API Documentation

A Sports Player API is like a personal sports encyclopedia, providing detailed information about athletes across various sports. It's a valuable tool for fans, analysts, and developers to stay up-to-date on player stats, news, and even historical records. Think of it as a database of information that makes it easy to track player performance and build engaging sports-related projects.

Base URL

https://santechapi.vercel.app

Authentication

headers : {
"token" : {YOUR API KEY}
}

Endpoint: sports/player/{:q}

Parameters:

  • {q}: random sports player from the user

HTTP Method: Get

Example request

GET /sports/player/dhoni

Example Response

200

Error Handling

402

In case of an error, the API will respond with an appropriate HTTP status code and an error message in the response body.

Last updated

Was this helpful?