Data API · Players
Search players
GET/api/v1/datas/players/search
Finds players available to the authenticated account by ID, by name, or by both. The name is matched against first name, middle name, surname, nickname and known name; every typed word has to appear, so "lionel", "messi", "lionel messi", "messi lionel" and "lionel mes" all find Lionel Messi. Matching ignores case and accents: "coric" finds Ćorić and Čorić, "djokovic" and "dokovic" find Đoković, "muller" and "mueller" find Müller, "obrien" finds O'Brien, and Serbian Cyrillic is read as Latin. Results are ordered by how well the name matches (an exact name, then a full name that starts with the text, then a first name, surname or nickname that starts with it, then words that start a name, then text found inside a name), then by player prominence, then by how much of the full name the text covers. A search with no matches returns 200 with an empty items list, not 404. Records have the same fields as /players.
Bearer authentication required · service: data_apiReference only — this page never sends API requests or exposes token controls.
Response formats
When format is listed below, use json for the response documented here, or csv and xml for downloads. JSON uses camelCase by default; set case=snake_case when supported for legacy key names. Nested response fields use dot notation; [] denotes an array item and {key} a dynamic object key.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| format | string | Required | Response format. Allowed: json, csv, xml. |
| id | integer | Optional | Player ID. Required when name is absent; combined with name, both must match. Minimum 1. |
| name | string | Optional | Name to search for: first name, surname, both in either order, nickname or known name. Required when id is absent. 2 to 100 characters, at least two of them letters or digits. Only the first 5 words are used. |
| page | integer | Optional | Page number. Default: 1. Minimum 1. |
| perPage | integer | Optional | Items per page. Default: 20. Minimum 1; maximum 100. |
| case | string | Optional | JSON response key style. Default: camelCase. Allowed: camelCase, snake_case. |
Response attributes
| Attribute | Type | Description |
|---|---|---|
| items | array | Matching player records, best match first. |
| items[].id | integer | Player ID, the same ID as /players/{id}. |
| items[].name | string|null | Given name. |
| items[].surname | string|null | Family name. |
| items[].middleName | string|null | Middle name. |
| items[].nickname | string|null | Player nickname. |
| items[].birthDate | string|null | Birth date (YYYY-MM-DD). |
| items[].height | integer|null | Height in centimeters. |
| items[].weight | number|null | Weight in kilograms. |
| items[].leg | string|null | Preferred foot. |
| items[].gender | string|null | Player gender. |
| items[].dateCreate | string|null | Record creation time (ISO 8601). |
| items[].dateUpdate | string|null | Record update time (ISO 8601). |
| items[].teamId | integer | Team of the latest squad the account can see the player in. |
| items[].teamName | string|null | Name of that team. |
| items[].providerId | integer|null | Provider identifier. |
| meta | object | Pagination metadata. |
| meta.currentPage | integer | Current page number. |
| meta.perPage | integer | Requested page size. |
| meta.total | integer | Total number of matching records. |
| meta.lastPage | integer | Last available page number. |
| meta.from | integer|null | Position of the first item on this page. |
| meta.to | integer|null | Position of the last item on this page. |
| links | object | Pagination URLs. |
| links.first | string | URL of the first page. |
| links.last | string | URL of the last page. |
| links.previous | string|null | URL of the previous page, when available. |
| links.next | string|null | URL of the next page, when available. |