The Odds Text widget lets you display live betting odds inline within article text. Instead of a full odds card, you get a small formatted number that updates automatically — useful for placing the current line next to a team name or bet mention in a sentence without interrupting the reading flow.Documentation Index
Fetch the complete documentation index at: https://docs.tally.site/llms.txt
Use this file to discover all available pages before exploring further.
Use case
Inline odds are ideal for articles that reference a specific bet in prose. For example: “The Lakers enter tonight’s game as 4.5-point favorites” — where the spread value comes from a live Odds Text widget rather than being hard-coded. The number stays current without any editorial updates.Embed code
Place the SDK script tag once on the page, then add a<span> with data-tallysight-widget-type="odds-text" inline in your article content:
Controlling the odds source
Theconfig-odds-by attribute controls which sportsbook’s odds the widget displays. Set it to best-odds to show the best available line across all sportsbooks in your workspace, or pass a specific sportsbook slug to pin the widget to a single book:
How it renders
The widget renders as an inline element containing the formatted odds value — for example,-4.5 or +110. It fits naturally into a sentence alongside surrounding text. The odds format follows the same geolocation-based auto-detection used by other Tallysight widgets: American odds for US visitors, decimal for European visitors, and so on. You can override this with data-tallysight-widget-config-format if you need a fixed format.