Embeddable football widgets for displaying live matches, league standings, and match schedules. All widgets support automatic timezone detection and customizable base URLs.
Include the widget script in your HTML:
<script src="https://your-domain.com/hello-widget.js" defer></script>
Use the base-url attribute to configure where links point to:
<league-widget league-id="10" base-url="https://betbrothers.football"></league-widget>
base-url value.
Leave it empty for relative URLs or provide your full domain for absolute URLs.
Set the widget language using the lang attribute (supported: en, es, el, ru):
<all-matches-widget lang="es" show-date-picker="true"></all-matches-widget>
<all-matches-widget lang="el" show-date-picker="true"></all-matches-widget> <!-- Greek -->
<all-matches-widget lang="ru" show-date-picker="true"></all-matches-widget> <!-- Russian -->
<league-widget>)Displays all matches for a specific league.
| Parameter | Type | Required | Description |
|---|---|---|---|
league-id |
string | Yes | League identifier (see list below) |
base-url |
string | No | Domain for links (e.g., "https://betbrothers.football") |
lang |
string | No | Language (en, es). Default: en |
<league-widget-standing>)Displays league standings table with positions, points, and form.
| Parameter | Type | Required | Description |
|---|---|---|---|
league-id |
string | Yes | League identifier (see list below) |
base-url |
string | No | Domain for links |
lang |
string | No | Language (en, es). Default: en |
<all-matches-widget>)Displays matches from all leagues with optional date picker and status filters.
| Parameter | Type | Required | Description |
|---|---|---|---|
base-url |
string | No | Domain for links |
date |
string | No | Specific date (YYYY-MM-DD format, e.g., "2025-12-18") |
show-date-picker |
boolean | No | Show date navigation (true/false, default: false) |
show-status-filters |
boolean | No | Show status filters (All/Live/Finished/Scheduled, default: false) |
show-league-filter |
boolean | No | Show league/competition dropdown filter (default: false) |
league-ids |
string | No | Comma-separated league IDs to limit filter options (e.g., "1,10,7,8") |
enable-links |
boolean | No | Enable links on leagues and matches (default: false) |
open-in-new-window |
boolean | No | Open links in new window (default: false) |
lang |
string | No | Language (en, es, el, ru). Default: en |
<h2h-widget>)Displays head-to-head match history between two teams with statistics and filters.
| Parameter | Type | Required | Description |
|---|---|---|---|
team1 |
string | Yes | First team slug (e.g., "athletic-bilbao") |
team2 |
string | Yes | Second team slug (e.g., "barcelona") |
base-url |
string | No | Domain for links (e.g., "https://betbrothers.football") |
enable-links |
boolean | No | Enable/disable match links (default: true) |
lang |
string | No | Language (en, es). Default: en |
<horizontal-matches-widget>)Displays matches in a horizontal scrollable layout with date picker and competition filter. Perfect for embedding in headers or sidebars.
| Parameter | Type | Required | Description |
|---|---|---|---|
league-ids |
string | No | Comma-separated league IDs to filter (e.g., "1,10,7,8"). If not provided, shows all leagues. |
base-url |
string | No | Domain for links (e.g., "https://betbrothers.football") |
enable-links |
boolean | No | Enable links on matches (default: false) |
open-in-new-window |
boolean | No | Open links in new window (default: false) |
lang |
string | No | Language (en, es). Default: en |
<league-matches-widget>)Displays league matches with a round picker for navigation. Includes league header with season info, current round, and progress bar.
| Parameter | Type | Required | Description |
|---|---|---|---|
league-id |
string | Yes | League identifier (see list below) |
base-url |
string | No | Domain for links (e.g., "https://betbrothers.football") |
enable-links |
boolean | No | Enable links on matches and teams (default: false) |
open-in-new-window |
boolean | No | Open links in new window (default: false) |
lang |
string | No | Language (en, es, el, ru). Default: en |
<match-widget>)Displays full match content including header, timeline, statistics, lineups, H2H, and standings. Perfect for embedding a complete match page.
| Parameter | Type | Required | Description |
|---|---|---|---|
match-id |
string | Yes | Match identifier |
base-url |
string | No | Domain for links (e.g., "https://betbrothers.football") |
enable-links |
boolean | No | Enable links on teams, leagues, and matches (default: false) |
open-in-new-window |
boolean | No | Open links in new window (default: false) |
lang |
string | No | Language (en, es, el, ru). Default: en |
<league-full-widget>)Complete league page experience with tabs for Overview, Fixtures, Results, Standings, and Statistics. All content is non-clickable (no external links). Perfect for embedding a full league experience.
| Parameter | Type | Required | Description |
|---|---|---|---|
league-id |
string | Yes | League identifier (see list below) |
default-tab |
string | No | Initial tab to display: overview, fixtures, results, standings, statistics (default: overview) |
lang |
string | No | Language (en, es, el, ru). Default: en |
Use these league IDs with league-id parameter:
league-id="1"
league-id="10"
league-id="7"
league-id="8"
league-id="16"
league-id="9"
league-id="19"
league-id="12"
league-id="107"
league-id="117"
league-id="2492"
league-id="133"
league-id="69"
league-id="68"
league-id="141"
league-id="24"
league-id="204"
league-id="304"
league-id="2119"
league-id="25"
league-id="139"
league-id="523"
league-id="2"
league-id="2468"
league-id="129"
league-id="132"
league-id="296"
league-id="140"
league-id="325"
league-id="524"
league-id="326"
league-id="14"
league-id="1500"
league-id="11"
league-id="13"
league-id="155"
league-id="128"
league-id="17"
league-id="639"
league-id="37"
league-id="36"
league-id="35"
league-id="100"
league-id="187"
league-id="346"
league-id="371"
league-id="61"
league-id="579"
league-id="136"
league-id="134"
league-id="137"
league-id="119"
league-id="120"
league-id="121"
league-id="122"
league-id="123"
league-id="153"
league-id="1833"
league-id="3101"
id field from the leagues API.
All widgets support the lang parameter for internationalization (e.g., lang="es" for Spanish).
Below are live examples of each widget in English. You can inspect the HTML to see the implementation.
base-url for proper link navigationFor more league IDs, API documentation, or custom widget requirements, please contact the development team or check the API documentation.