Rone Arena API
v1.9.5 GitHub

Make your first request

Call the hero list from the browser, from a terminal and from code. No key and no sign-up.

3 min read · Start here · Updated

1 Pick your base URL

Every address starts with the base URL. The home page shows it with a switch and a Copy button.

The top of the home page with four numbered marks
Select the picture to open it full size.
  1. Host switch. Primary or Mirror. Both serve the same API.
  2. Base URL. What every request starts with.
  3. Copy. Copies the base URL.
  4. Live table. Real numbers from the API, with the request that produced them written underneath.

2 Open it in the browser

Paste this into the address bar. You get the newest heroes as JSON.

https://arena.fastapicloud.dev/api/heroes?size=5

3 Call it from a terminal

The same request with curl.

curl "https://arena.fastapicloud.dev/api/heroes?size=5"

4 Call it from code

Rows sit in data.records, and each row's own fields are under data. A code of 0 means success.

const res = await fetch("https://arena.fastapicloud.dev/api/heroes?size=5");
const { data } = await res.json();
for (const row of data.records) {
  console.log(row.data.hero_id, row.data.hero.data.name);
}

All guides Next: Primary or Mirror: which host to use

Up and down to move, Enter to open, Esc to close