# 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 · https://arena.rone.dev/guides/first-request

## 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](https://arena.rone.dev/images/guides/home-base-url.png)

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);
}
```
