A live market in an article. Hover the chart for earlier odds, or click through to trade on outcome.xyz.
Embed a market
On outcome.xyz, open the market and click the embed button (</>) under the chart. Pick the options and copy the code.
1473 is the market’s outcome id. Here it’s Arsenal, one option of the English Premier League winner question. For a question, any option’s id works, and the card shows the whole question. The id is in the market’s URL on outcome.xyz: /o{id} for a single market, or ?outcome={id} on a question page.
Options
src URL with 0, for example ?chart=0&buy=0.
The card fills the iframe, so the iframe’s size sets its shape. The embed button offers three:
Without the chart, the card is shorter. The embed button on outcome.xyz gives you the exact size.
Before you go live
- Links in the embed carry no
utmparameters, so outcome.xyz can’t attribute those visitors to you. For attributed links, see Showcase markets. - Outcome isn’t available in some jurisdictions. See Risks.