Endpoint Playground
Test Crawlora's Resy Locations API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/resy/locations" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| q | string | No | Case-insensitive substring match against a location's name, code, or url_slug | |
| country | string | No | Case-insensitive exact match against a location's country name |
{
"code": 200,
"msg": "OK",
"data": {
"total": 1,
"locations": [
{
"id": "1",
"code": "ny",
"name": "New York",
"url_slug": "new-york-ny",
"country": "United States",
"country_code": "US",
"latitude": 40.7128,
"longitude": -74.006,
"time_zone": "EST5EDT"
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
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). Credential-free.
{
"code": 200,
"msg": "OK",
"data": {
"total": 1,
"locations": [
{
"id": "1",
"code": "ny",
"name": "New York",
"url_slug": "new-york-ny",
"country": "United States",
"country_code": "US",
"latitude": 40.7128,
"longitude": -74.006,
"time_zone": "EST5EDT"
}
]
}
}curl "https://api.crawlora.net/api/v1/resy/locations" \
-H "x-api-key: $CRAWLORA_API_KEY"