Resy
List Resy's operating locations (cities)
Returns Resy's full list of operating locations (cities), optionally filtered by a free-text substring and/or country. This is the discovery source for the location value used throughout the rest of this family (resy-search's/resy-restaurant's location_code, resy-cuisines'/resy-events'/resy-event-detail's location).
get/resy/locations
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/resy/locations
- Auth: API key in header x-api-key
Query parameters
qstring
Case-insensitive substring match against a location's name, code, or url_slug
countrystring
Case-insensitive exact match against a location's country name
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"locations": [
{
"code": "ny",
"country": "United States",
"country_code": "US",
"id": "1",
"name": "New York",
"time_zone": "America/New_York",
"url_slug": "new-york-ny"
}
]
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.