> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.datafortennis.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.datafortennis.com/_mcp/server.

# List players

GET https://api.datafortennis.com/v1/players

Reference: https://docs.datafortennis.com/api-reference/list-players

## Authentication

- `Authorization` header (bearer token, required) — Private development credential: keyId.secret; rotate/revoke through the offline operations CLI.

## Request

### Query parameters

- `release` (string, optional)
- `limit` (string, optional)
- `cursor` (string, optional)
- `q` (string, optional)
- `country` (string, optional)
- `hand` (enum, optional)
  - Allowed values: `left`, `right`, `ambidextrous`, `unknown`
- `id` (string, optional)

### Headers

- `Idempotency-Key` (string, optional) — Optional client logical-operation identifier. Scoped to principal, channel and operation class. A different canonical request conflicts; expired replay returns 410. RapidAPI retries without this stable identifier are separate attempts/operations.

## Response

### 200

Pinned release data. Missing families return an empty array and coverage reasons.

- `data` (list of Player, required)
- `meta` (ListPlayersResponseMeta, required, nullable)
- `page` (ListPlayersResponsePage, required, nullable)
- `error` (ListPlayersResponseError, required, nullable)

## Errors

### 400 Bad Request Error

Invalid input

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 401 Unauthorized Error

Invalid credential

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 403 Forbidden Error

Scope denied

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 404 Not Found Error

Unknown resource

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 409 Conflict Error

Idempotency key conflicts with its bound request

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 410 Gone Error

Cursor or idempotency replay window expired

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 413 Content Too Large Error

Response budget exceeded

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 414 URI Too Long Error

URI too long

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 422 Unprocessable Entity Error

Unsupported combination or date window

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 429 Too Many Requests Error

Request budget exceeded

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 503 Service Unavailable Error

Temporarily unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

## Types

### Player

- `id` (string, required)
- `canonical_id` (string, required)
- `identity_status` (enum, required)
  - Allowed values: `independent`, `linked`, `ambiguous`, `separate`
- `name` (string, required, nullable)
- `census_matches` (string, required)
- `birth_date` (string, required, nullable)
- `height_cm` (integer, required, nullable)
- `weight_kg` (integer, required, nullable)
- `affiliation_country` (string, required, nullable)
- `hand` (enum, required)
  - Allowed values: `left`, `right`, `ambidextrous`, `unknown`
- `backhand` (enum, required)
  - Allowed values: `one_handed`, `two_handed`, `unknown`
- `pro_year` (integer, required, nullable)
- `source_as_of` (string, required, nullable)
- `profile_quality` (enum, required)
  - Allowed values: `unknown`, `source_snapshot`
- `missing` (map from string to enum, required)
  - Allowed values: `absent`, `blank`, `unknown_code`, `zero_template`, `invalid_date`, `out_of_range`, `conflict`
- `links` (PlayerLinks, required)

### ListPlayersResponseMeta

- `release_id` (string, required)
- `epoch` (string, required)
- `schema_version` (string, required)
- `quality_version` (string, required)
- `availability` (list of Coverage, required, nullable)
- `calendar` (ListPlayersResponseMetaCalendar, optional)
- `capability` (ListPlayersResponseMetaCapability, optional)

### ListPlayersResponsePage

- `limit` (integer, required)
- `next_cursor` (string, required, nullable)

### ListPlayersResponseError

### ErrorData

### ErrorMeta

### ErrorPage

### ErrorError

- `code` (string, required)
- `message` (string, required)
- `request_id` (string, required)

### PlayerLinks

- `matches` (string, required)

### Coverage

- `family` (string, required)
- `discipline` (string, required)
- `census` (string, required)
- `available` (string, required)
- `missing` (string, required)
- `unknown` (string, required)
- `not_applicable` (string, required)
- `known_applicable` (string, required)
- `missing_assessment` (string, required)
- `partial` (string, required)
- `usable_rows` (string, required)
- `derived_rows` (string, required)
- `definition` (enum, optional)
  - Allowed values: `enrichment/1`
- `grain` (enum, optional)
  - Allowed values: `point`, `side_stroke_summary`, `clock_evidence`
- `point_numerator` (string, optional, nullable)
- `point_denominator` (string, optional, nullable)
- `density` (string, optional, nullable)
- `conflict_rows` (string, optional)
- `category` (string, optional)

### ListPlayersResponseMetaCalendar

- `precision` (enum, required)
  - Allowed values: `day`
- `unknown_dates_excluded` (boolean, required)
- `complete_calendar` (boolean, required)

### ListPlayersResponseMetaCapability

- `family` (enum, required)
  - Allowed values: `rally`, `strokes`, `time_evidence`
- `status` (enum, required)
  - Allowed values: `supported`, `not_projected_in_release`
- `definition` (enum, required)
  - Allowed values: `enrichment/1`

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "string",
      "canonical_id": "string",
      "identity_status": "independent",
      "name": "string",
      "census_matches": "string",
      "birth_date": "string",
      "height_cm": 1,
      "weight_kg": 1,
      "affiliation_country": "string",
      "hand": "left",
      "backhand": "one_handed",
      "pro_year": 1,
      "source_as_of": "string",
      "profile_quality": "unknown",
      "missing": {},
      "links": {
        "matches": "string"
      }
    }
  ],
  "meta": {
    "release_id": "string",
    "epoch": "string",
    "schema_version": "string",
    "quality_version": "string",
    "availability": [
      {
        "family": "string",
        "discipline": "string",
        "census": "string",
        "available": "string",
        "missing": "string",
        "unknown": "string",
        "not_applicable": "string",
        "known_applicable": "string",
        "missing_assessment": "string",
        "partial": "string",
        "usable_rows": "string",
        "derived_rows": "string",
        "definition": "enrichment/1",
        "grain": "point",
        "point_numerator": "string",
        "point_denominator": "string",
        "density": "string",
        "conflict_rows": "string",
        "category": "string"
      }
    ],
    "calendar": {
      "precision": "day",
      "unknown_dates_excluded": true,
      "complete_calendar": true
    },
    "capability": {
      "family": "rally",
      "status": "supported",
      "definition": "enrichment/1"
    }
  },
  "page": {
    "limit": 1,
    "next_cursor": "string"
  },
  "error": null
}
```

**SDK Code**

```python
import requests

url = "https://api.datafortennis.com/v1/players"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.datafortennis.com/v1/players';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.datafortennis.com/v1/players"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.datafortennis.com/v1/players")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.datafortennis.com/v1/players")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.datafortennis.com/v1/players', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.datafortennis.com/v1/players");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.datafortennis.com/v1/players")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```