# Get a player's media for a country (v1)

Returns up to 2 recent media items for the player as shown in `country`, and how many more exist. None returns `data: null`.

- Platform: Sofascore
- Request: `GET https://api.toolzerhub.com/v1/sofascore/player/media/summary`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/sofascore/players/get-sports-player-media-summary

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | query | yes | integer | Player id, from a lineup, a squad or Search Sports. |
| `country` | query | no | string | Two-letter country code in upper case, such as US or GB. Default: US. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/player/media/summary?id=<id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
