SoccersAPIWidgets V2

Configurator guide

Step-by-step guide to create, customize, save and publish a Widgets V2 configuration.

The Widgets V2 configurator is where you decide how the widget will look, what it can show, where it is allowed to run and which code should be copied to your website.

The most important rule is simple: publish the configuration before copying the embed code. The public widget loads the active published configuration, not the temporary changes that are still open in your browser.

Recommended order

Configure the widget, add the domain, save the setup if you want to reuse it, publish it, then copy the code.

Saved, published and domains

The admin lets you save several named configurations. Public embeds still load by uid, widget-id and domain, but each approved domain can be mapped to the configuration it should load.

Saved configuration

A reusable draft or template stored in the admin.

Published configuration

The version visitors see on your website.

Approved domain

The host where the widget is allowed to run.

If you need two different layouts live at the same time on two different domains, save both configurations and assign each domain to the right setup from the Domains area.

1. Open the configurator

In the SoccersAPI admin, open the Widgets V2 area and choose the Livescore widget product.

If you already have configurations, open the one you want to edit. If this is a new setup, create a new configuration first.

Use a clear name such as:

  • Main site livescore
  • Spanish homepage widget
  • Partner site embed
  • Testing configuration

Good names help when one account has several websites, domains or layout versions.

2. Choose the widget type

Widgets V2 can publish different football experiences depending on your plan:

WidgetTypical use
LivescoreDaily match list, live scores and match access
Match detailsFull match page with summary, events, lineups, statistics and more
LeagueOne competition page with fixtures, standings, teams and stats
LeaguesCountry and competition directory
TeamTeam profile, fixtures, results and squad views
PlayerPlayer profile, career and statistics

Free plans are limited to the hosted iframe livescore experience. Paid plans can use the broader widget set when the plan includes it.

3. Add the allowed domain

Before testing the widget on a real website, add the exact domain where it will be used.

Examples:

Website URLAdd this domain
https://example.com/scoresexample.com
https://www.example.com/livewww.example.com
https://scores.example.comscores.example.com

Domain validation protects your widget configuration from being copied to unapproved websites.

If you test from a different domain than the one saved in the admin, the widget may show an access error even if the configuration is correct.

The Domains area now works like a small editor:

Choose New domain in the domain selector.

Type the host, for example example.com.

Click Add domain.

To change an existing domain, select it, rewrite the value and click Save.

Use the Loads field to choose which saved configuration that domain should use.

Use Delete only when the widget should no longer run on that host.

Adding a domain approves the host. The Loads field decides which saved configuration the domain should use after publishing.

4. Configure the layout

Start with the general structure before fine-tuning colors.

Typical layout decisions:

  • show or hide the main widget header
  • show or hide entity headers for teams, leagues and players
  • choose compact or expanded spacing
  • decide how match details open
  • choose which tabs are visible
  • choose whether the widget should prioritize live matches, today's matches or selected competitions

For iframes, also choose a practical height. A livescore widget usually needs enough vertical space to avoid feeling cut off on a busy match day. If the generated iframe includes height=1200, keep the iframe style consistent with that value on your page.

Common examples:

Page typeRecommended layout
Homepage livescore blockShow header, compact spacing, modal match details
Full live score pageShow header, full tabs, comfortable spacing
Article sidebarCompact spacing, fewer tabs, no unexpected sounds
Football page with entity navigationNative embed, entity headers enabled, modal or internal navigation
Dynamic Pages domainNative embed, entity headers enabled, page/router navigation after add-on activation

5. Configure match details and entity views

Match, team, league and player screens can include several views. The exact availability depends on data coverage and plan access.

Common match detail sections:

  • summary
  • pre-match information
  • events
  • lineups
  • statistics
  • standings
  • head-to-head
  • TV or broadcast information when available
  • odds when available and enabled

Common entity screens:

  • league fixtures and standings
  • team fixtures, results and squad
  • player profile, career and statistics
  • country and competition navigation

If a tab has no data for a match or competition, the widget may hide it or show a lighter empty state.

6. Customize the theme

Use the theme controls to match the widget with your website.

Recommended order:

Choose light or dark style.
Set the primary color.
Adjust header and accent colors.
Review typography and spacing.
Preview a match modal and at least one entity view.

Avoid checking only the first screen. Open a match, a league and a team/player view before publishing. Some layout issues only appear inside details or modal screens.

7. Review plan-locked options

The configurator shows options that may be locked depending on your plan. This is expected.

  • iframe delivery
  • one approved domain
  • one saved configuration
  • monthly traffic cap
  • SoccersAPI branding or promotional placements may appear
  • client monetization options are locked
  • native Web Component embed
  • more domains
  • more saved configurations
  • custom branding
  • featured leagues
  • sounds
  • navigation options
  • affiliate links
  • bookmaker links and odds modules
  • top and bottom banners
  • optional Dynamic Pages add-on by domain

If a section says it is locked, publishing the configuration will not activate that feature until the plan includes it.

8. Set Pro options

The Pro options area is for commercial and plan-gated features.

Use it to configure:

  • your affiliate links
  • your bookmaker links
  • top banners
  • bottom banners
  • featured leagues
  • sound alerts
  • branding and white-label options when included

Free widgets may still show SoccersAPI branding or SoccersAPI promotional placements. Paid widgets are the right option when you want a cleaner commercial experience for your own site.

Use Pro options with a specific goal:

GoalOptions to review
Monetize outbound trafficAffiliate links, bookmaker links, bookmaker odds
Sell direct sponsorshipTop banners and bottom banners
Match your brandBranding controls, logo, custom CSS
Create a richer football hubNavigation controls and segmented widgets
Remove visible SoccersAPI brandingUltra white-label controls

9. Save and publish the configuration

Save after important changes and always publish before copying code.

Saving a named configuration:

  • stores the selected layout and styling
  • lets you load or reuse the same setup later
  • does not necessarily change the public widget by itself

Publishing:

  • updates the public active widget configuration
  • makes the embed code valid for the selected uid and widget-id
  • clears the difference between preview and production

If you copy the code before publishing, the public page may show an old version or a widget_not_found error.

10. Copy the embed code

After publishing, copy the code for the delivery mode you want to use.

Free plan:

  • use the iframe code
  • paste it into the page where the widget should appear
  • keep the recommended height unless you have tested a different one

Paid plans:

  • use the native Web Component embed when available
  • paste the code into the page where the widget should appear
  • make sure the page domain is approved in the admin
  • use Dynamic Pages only on domains where the add-on is active

If you have several saved configurations, publish the one you want public before copying the code. The copied code does not carry a saved configuration id.

11. Test from the final website

Test the widget from the real page and domain, not only from the admin preview.

Check:

  • the widget loads without access errors
  • the approved domain is correct
  • the language is correct
  • the height is comfortable on desktop and mobile
  • match details open correctly
  • entity headers appear as expected
  • locked features are not showing on Free plans
  • Pro options only show when the plan includes them
  • traffic and branding behavior matches the selected plan

Also test on mobile. If the widget is inside a narrow article or sidebar, the iframe or container must be allowed to use the full available width.

12. Update an existing widget

To change a published widget:

  1. Open the saved configuration.
  2. Make the changes.
  3. Preview the main widget and detail views.
  4. Save the configuration if you want to keep that named version.
  5. Publish the updated configuration.
  6. Refresh the website page where the widget is embedded.

In most cases, you do not need to replace the embed code when only changing colors, tabs, layout, Pro options or branding. Save and publish the updated configuration, then refresh the website page.

You only need new code if you change the delivery mode, the uid, the widget-id, the language parameter or the iframe height.

Example workflows

Launch a Free livescore iframe

  1. Open the Livescore configurator.
  2. Keep iframe delivery.
  3. Add the website domain.
  4. Adjust colors and layout.
  5. Publish current.
  6. Copy the iframe code.
  7. Paste it on the approved domain.
  8. Test on desktop and mobile.

Prepare a Pro affiliate widget

  1. Open or create a Pro configuration.
  2. Add the production domain.
  3. Enable the match detail tabs you want.
  4. Add affiliate links and bookmaker links.
  5. Configure top or bottom banners if needed.
  6. Publish current.
  7. Copy the native Web Component embed.
  8. Test that commercial placements appear only where intended.

Keep a seasonal layout ready

  1. Create a saved configuration called Summer tournament layout.
  2. Adjust colors, featured leagues and banners.
  3. Save it as a configuration.
  4. Do not publish until you want it live.
  5. When ready, select it and use Publish selected.

Common mistakes

ProblemMost likely causeWhat to do
widget_not_foundCode copied before publishing, wrong widget-id or wrong user/configurationPublish again and copy fresh code
Domain access errorCurrent website domain is not approvedAdd the exact domain in the admin
Free widget shows limited optionsFree plan restrictions are activeUpgrade to a paid plan for Pro options
Paid options do not appearThe selected plan does not include that featureCheck the plan limits
Public widget differs from previewUnpublished changes or old embed codePublish and refresh the public page
Iframe feels too shortPage is using a smaller height than the generated codeIncrease iframe height in the copied code
Entity header missingHeader option is disabled or an old published configuration is being loadedEnable it, publish and test again

Publishing checklist

Before considering the widget live, confirm:

  • the configuration is saved
  • the configuration is published
  • the correct domain is approved
  • the correct plan is active
  • the correct delivery mode is being used
  • the copied code uses the right uid
  • the copied code uses the right widget-id
  • mobile layout has been checked
  • match details and entity views have been checked
  • Pro options and branding match the plan

On this page