Race results and schedules on your website
Choose the widget for a ready-made standings table or schedule. For a race-by-race results page in your own layout, use the read-only API.
Find the written guide
This guide is for league owners and organizers. You need a Racey league that is public and active: the widget does not work for a draft, paused or demo league. If your league is not public yet, the Website embed card tells you so and links to your league settings.
You also need a website where you can add your own HTML, such as a WordPress "Custom HTML" block, a Wix "Embed code" element or a Squarespace "Code" block.
Open Website embed
- Open your league and go to Integrations.
- Find the Website embed card.
- Under Show, choose Standings or Schedule.
- Under Look, choose Auto to follow each visitor's light or dark setting, or pick Light or Dark to match your website.
- Under Pin this season, keep Follow current season so the widget moves on to each new season by itself, or choose one season to always show it.
The Preview shows exactly what your visitors will see.
Copy the code
Select Copy under Paste this into your website. The code has two parts: a frame that shows the widget, and one script line that sizes the frame to fit, so your visitors don't get a scroll bar inside your page. Copy both lines together.
Paste it into your website
Add an HTML or custom-code block where you want the table, paste the code, and publish your page. You never need to update the code: new results and schedule changes appear by themselves.
You can add both widgets to the same page, or put each on its own page. Copy the code once for each.
Good to know
- The widget always shows Powered by Racey, with links back to your league page on Racey.
- On a phone or in a narrow sidebar it drops the less important columns instead of making visitors scroll sideways.
- Following the current season, the standings keep showing your last finished season's final table until the next season has results.
- The widget only shows what is already public on your league page. It sets no cookies and shows nothing about your visitors' Racey accounts.
If you change your league's web address
The code you pasted contains your league's web address. If you change the web address in your league settings, the old code stops showing your league. Copy the new code from Website embed and paste it into your website again.
Build a custom page with the API
From your website’s server, request season details to find the upcoming round and the ID of a completed round. Request results for the completed round, select the race session, then display each driver’s finishing position and name. Championship points come from the standings endpoint. Keep your API key on your server. Open the Racey Public API reference.
Check it worked
- Your website shows the same table as the Preview on the Website embed card.
- The widget shows Powered by Racey at the bottom.
- After your next race results are published, the standings on your website update without you touching the code.