Skip to content
API v2 docs

Managers & referees

Agency players

GET

/v2/agencies/{id}/players

All plans

Markdown copyOpen in the playground →

Every player an agency represents, the most valuable first, each with his team and estimated market value (null where the source has no value). Available since 2026-11-23.

The whole list behind AgencyDetail.playerCount, in one response without paging. Each row includes the player's position (since 2026-11-25), null when the source has none.

Parameters

id

pathrequired

DataSportsAPI agency id, a positive integer

Response

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}/players"
Example
{ "data": [ { "player": { "id": 868812, "name": "Vinícius Júnior", "slug": "vinicius-junior", "shortName": "Vinícius Jr.", "image": "…" },
    "team": { "id": 2829, "name": "Real Madrid", … }, "marketValue": { "amount": 135000000, "currency": "EUR" } }, … ],
  "meta": { "count": 132 } }