Links, preview cards and embeds
URL formats for arenas, rounds and replays, the 1200x630 preview card images, and why Basement can't be shown in an iframe.
Every arena, round and replay in Basement has a plain URL, and each one unfurls into a 1200x630 preview card wherever links get previews. Links are also the only way to embed Basement, since the app can't be shown in an iframe. This page lists the URL formats and the card images.
Link to an arena, a round or a replay
| Format | Example | What opens |
|---|---|---|
/ | https://basement.fun/ | The feed, on whichever match the app picks first |
/a/ + arena id | https://basement.fun/a/skyball | The feed, starting on that arena |
/a/ + arena id + ?r= round | https://basement.fun/a/skyball?r=100 | That round. A round still running plays on its card. A finished one opens its replay. |
/r/ + arena id + / round | https://basement.fun/r/skyball/100 | The replay of that round |
Round numbers count up from 1 in each arena. The current and next round numbers for every arena are in GET /api/arenas.
Links the app shares carry two more parameters. s is the sharer's code for that one round, and i is their invite code. Both belong to one player's account, so leave them off links you build. A link without them opens the same round.
Arena ids
| Game | Arena id |
|---|---|
| Rush Hour | rush-hour |
| Clash | clash |
| Neon Knockout | knockout |
| Broadside | broadside |
| Skyball | skyball |
| Turf War | turf-war |
Neon Knockout's id is knockout, in links, card URLs and the API alike.
Preview cards
Arena, round and replay pages carry og: and twitter: tags, so apps that preview links, like X, Discord and Slack, show a card when someone pastes one. Once a round is over, its card shows the winner with a crown and the score. While it's open, the card shows the lineup facing off.

You can fetch the card images directly, to post them from a bot or show them on your own page:
| Image URL | What it shows | Cached for |
|---|---|---|
/og/skyball.png | Whichever Skyball round is taking picks when it's fetched | 30 seconds |
/og/skyball/100.png | Round 100: the lineup while it's open, the winner and score once it's over | 30 seconds while open, a week once it's over |
The arena card never shows a result, however late it's fetched, so it's safe for a "pick the next one" post. A round the server doesn't know answers 404. Card requests count toward the same read limit as the API, 300 per 10 seconds per network, so cache them on your side. A finished round's card never changes.
No iframes
Every page on production sends Content-Security-Policy: frame-ancestors 'none' and X-Frame-Options: DENY, so browsers refuse to load Basement in an iframe on any site, yours included. To show a match on your page, use the preview card image with a link to the round, or open Basement in a new tab. The link unfurls into a preview card wherever links get previews.