---
id: media-assets
title: SportAPI Icons and Media Assets
description: Reference for sport, country, tournament, and team icons available with SportAPI data.
version: v1
language: en
---

# SportAPI Icons and Media Assets

SportAPI provides ready-made icons for sports, countries, tournaments, teams, and
participants. They may be used in the client's public interface.

## Sport Icon

Replace `{sportId}` with the sport ID:

```text
https://cdn.sportapi.net/sports/v1/color/{sportId}.webp
```

Example for `sportId: 1`:

[https://cdn.sportapi.net/sports/v1/color/1.webp](https://cdn.sportapi.net/sports/v1/color/1.webp)

## Country Icon

Replace `{countryId}` with the country ID:

```text
https://cdn.sportapi.net/flags/v1/color/{countryId}.webp
```

Example for `countryId: 218`:

[https://cdn.sportapi.net/flags/v1/color/218.webp](https://cdn.sportapi.net/flags/v1/color/218.webp)

## Tournament Icon

Replace `{tournamentId}` with the tournament ID:

```text
https://cdn.sportapi.net/tournaments/v1/color/{tournamentId}.webp
```

Example for `tournamentId: 118737`:

[https://cdn.sportapi.net/tournaments/v1/color/118737.webp](https://cdn.sportapi.net/tournaments/v1/color/118737.webp)

## Team and Participant Icons

Use the following template for teams and participants:

```text
https://cdn.sportapi.net/opp/v1/color/{iconName}.webp
```

Take `iconName` from `opp_1_icon` or `opp_2_icon`. If the returned name includes a
`.png` extension, remove it before adding `.webp` in the CDN URL.

Example:

```text
opp_1_icon: 8bd073a686a067e6732d8d1688a517c0.png
iconName:    8bd073a686a067e6732d8d1688a517c0
```

[https://cdn.sportapi.net/opp/v1/color/8bd073a686a067e6732d8d1688a517c0.webp](https://cdn.sportapi.net/opp/v1/color/8bd073a686a067e6732d8d1688a517c0.webp)

For details about these fields and ID sources, see the [`menu`](../api-reference/menu.md)
and [`events`](../api-reference/events.md) method documentation.
