SportAPI Documentation
EN
S Product documentationSport Line API
v1
Service & pricing ↗ Get access ↗
Sport Line API / SportAPI Icons and Media Assets

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:

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

Example for sportId: 1:

https://cdn.sportapi.net/sports/v1/color/1.webp

Country Icon

Replace {countryId} with the country ID:

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

Example for countryId: 218:

https://cdn.sportapi.net/flags/v1/color/218.webp

Tournament Icon

Replace {tournamentId} with the tournament ID:

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

Example for tournamentId: 118737:

https://cdn.sportapi.net/tournaments/v1/color/118737.webp

Team and Participant Icons

Use the following template for teams and participants:

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:

opp_1_icon: 8bd073a686a067e6732d8d1688a517c0.png
iconName:    8bd073a686a067e6732d8d1688a517c0

https://cdn.sportapi.net/opp/v1/color/8bd073a686a067e6732d8d1688a517c0.webp

For details about these fields and ID sources, see the menu and events method documentation.