laliga_squad
Retrieve a club's current La Liga squad, including player details, photos, positions, shirt numbers, and loan status. Requires team slug and subscription slug.
Instructions
A club's CURRENT squad — each entry has person (name, date_of_birth, country, height), photos, position id, shirt_number, opta_id, loan status. (The subscription arg is required by the API but the roster returned is the current one, not season-historical.)
Returns: {total, squads:[{id, opta_id, person:{name, date_of_birth, country, height}, photos, position, shirt_number, role, current, loan}]}
Auth: works without a key; LALIGA_SUBSCRIPTION_KEY unlocks more if set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Team slug (e.g. real-madrid). Required — part of the URL path. | |
| subscription | Yes | Subscription slug (required by the API; e.g. laliga-easports-2025). |