Agency contracts
GET
/
Markdown copyOpen in the playground →
The agency's clients, one row per player, each with the type of deal he is on (dated, loan or freeAgent; null where the source cannot say) and when it runs out. The earliest expiry is listed first and deals without a date go to the bottom. Available since 2026-11-24.
A free agent has team null. When the few contracts that end first are enough, AgencyDetail.expiringContracts already has them. Each row includes the player's position (since 2026-11-25), null when the source has none.
Parameters
idpathrequired
DataSportsAPI agency id, a positive integer
Response
- data
AgencyContract[]- meta
- count
- errors
- 404
not_found— DataSportsAPI has never assigned this id
The errors every /v2 call shares (key, plan, quota, rate) are listed under error codes.
curl -H "Authorization: Bearer sk_live_…" \
"https://api.datasportsapi.com/v2/agencies/{id}/contracts"Example
{ "data": [ { "player": { "id": 1039656, "name": "Alan Kardec", … }, "team": { "id": 1980, "name": "Juventude", … },
"kind": "dated", "contractUntil": "2026-12-31" }, … ],
"meta": { "count": 132 } }