Pro
This reference is open to everyone. Calls need an API key, and keys come with Pro at no extra charge.
Compare plans →
Resources / Locations
Locations
Venues and their rooms. Shows name a location and, often, a room.
The object
name string
The location's name.
address1, address2, city, state, postal_code string
Its address.
rooms array
Each room's id, name, and capacity.
archived boolean
No longer used.
The location object
{ "id": 3, "name": "The Basement", "address1": "1820 W Chicago Ave", "address2": null, "city": "Chicago", "state": "IL", "postal_code": "60622", "archived": false, "rooms": [ { "id": 7, "name": "Main room", "capacity": 68 } ]}
List locations
GET
/v1/locations
Every location, with its rooms.
Query parameters
limit integer
Up to 200 a page, 50 by default.
after string
The last page's `next`, for the page after it.
curl
curl https://api.cocoscout.com/v1/locations \ -H "Authorization: Bearer cs_live_…"
Get a location
GET
/v1/locations/{id}
One location.
curl
curl https://api.cocoscout.com/v1/locations/4812 \ -H "Authorization: Bearer cs_live_…"