Players Transfers
This endpoint allows you to retrieve the transfers from players.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every minute.
Recommended Calls: Limit calls to 1 per minute.
Use Cases
Get transfers from a specific player_idhttps://football.sportdevs.com/players-transfers?player_id=eq.{player_id}
Get transfers from a specific from_team_id and to_team_name ex.(team_id)https://football.sportdevs.com/players-transfers?or=(from_team_id.eq.{team_id},to_team_name.eq.{team_id})
Query Parameters
- player_id integer
Default value:
eq.68421
The id of the player
- from_team_id integer
Default value:
eq.5279
The id of the team that the player have been transferred from
- to_team_id integer
Default value:
eq.491
The id of the team that the player have been transferred to
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of player's transfer
Note: This is a Primary Key.
- player_id integer
The id of the player
Note: This is a Foreign Key to
players.id
. - from_team_id integer
The id of the team that the player have been transferred from
Note: This is a Foreign Key to
teams.id
. - from_team_name text
The name of the team that the player have been transferred from
- from_team_hash_image character varying
Possible values:
<= 64 characters
The name image of the team that the player have been transferred from
- to_team_id integer
The id of the team that the player have been transferred to
Note: This is a Foreign Key to
teams.id
. - to_team_name text
The name of the team that the player have been transferred to
- to_team_hash_image character varying
Possible values:
<= 64 characters
The name image of the team that the player have been transferred to
- transfer_type integer
The type of the transfer
- transfer_fee integer
The fee of the transfer
- transfer_fee_description text
The description of the transfer fee
- transfer_date timestamp with time zone
The date of the transfer
- fee_value numeric
The transfer fee value
- fee_currency text
The transfer fee currency
[
{
"id": 1,
"player_id": 68421,
"from_team_id": 5279,
"from_team_name": "FK TSC Bačka Topola",
"from_team_hash_image": "4ec27b70c57bc71929b14a817ba22d023e4d619a56cc7fbc93fe0dae823b3a13",
"to_team_id": 491,
"to_team_name": "FK Napredak Kruševac",
"to_team_hash_image": "1292e04666d9c266416af31d00fa6512e0c988ed45a9547497c25a8afe0ff0cd",
"transfer_type": 3,
"transfer_fee": 0,
"transfer_fee_description": "Free",
"transfer_date": "2023-07-01T00:00:00+00:00",
"fee_value": 0,
"fee_currency": "EUR"
}
]