Places
Countries and the cities inside them, with counts. Guide: Countries covered.
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/countries | Countries that have listings, with how many creators and games each has. |
| GET | /v1/countries/{code} | One country and its cities. |
| GET | /v1/cities | Cities that have creators, biggest first. |
List countries
GET /v1/countries. Countries that have listings, with how many creators and games each has.
| Parameter | Where | What it does |
|---|---|---|
| empty | query | true also returns countries with no listings yet, so you get all 54. |
| limit | query | Rows per page, 1 to 100. Default 20. |
| cursor | query | The next_cursor from the page before. |
Shell
curl "https://developers.arena54.com/api/v1/countries" \
-H "Authorization: Bearer $A54_KEY"Get a country
GET /v1/countries/{code}. One country and its cities.
| Parameter | Where | What it does |
|---|---|---|
| code | path | Two-letter country code. |
Shell
curl "https://developers.arena54.com/api/v1/countries/NG" \
-H "Authorization: Bearer $A54_KEY"List cities
GET /v1/cities. Cities that have creators, biggest first.
| Parameter | Where | What it does |
|---|---|---|
| country | query | Two-letter country code. |
| limit | query | Rows per page, 1 to 100. Default 20. |
| cursor | query | The next_cursor from the page before. |
Shell
curl "https://developers.arena54.com/api/v1/cities?country=NG" \
-H "Authorization: Bearer $A54_KEY"