Resy Restaurant Search
POST /api/v1/resy/restaurants/search
Search Resy restaurants in a city, optionally by cuisine, name or keyword, and get matching restaurants with cuisine, price band, ratings, neighborhood, coordinates, phone, photos and the open reservation times for a date and party size.
Overview
Search Resy restaurants in a city, optionally by cuisine, name or keyword, and get matching restaurants with cuisine, price band, ratings, neighborhood, coordinates, phone, photos and the open reservation times for a date and party size.
POST /api/v1/resy/restaurants/search
Method: POST Path: /api/v1/resy/restaurants/search Category: Travel
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| city | string | Optional | Resy city as a code ("ny", "la", "chi"), city slug ("new-york-ny") or name ("Miami"). Default ny. |
| date | string | Optional | Date to check open reservation times for, YYYY-MM-DD (default today in the city). |
| limit | integer | Optional | Maximum number of restaurants to return (1-100). |
| party_size | integer | Optional | Number of guests for the reservation times (1-20, default 2). |
| query | string | Optional | Optional cuisine, restaurant name or keyword, e.g. "italian" or "sushi". Leave empty to list restaurants in the city. |
Request Example
Resy Restaurant Search Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/resy/restaurants/search" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"city": "ny", "date": "example", "limit": "20", "party_size": "2", "query": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "query": "string", "city": { "name": "string", "code": "string", "url_slug": "https://example.com/...", "country_code": "string", "time_zone": "string" }, "date": "2026-01-01T12:00:00Z", "party_size": 0, "total_results": 0, "results_count": 0, "results": [ { "id": 0, "name": "string", "url": "https://example.com/...", "url_slug": "https://example.com/...", "cuisine": [ "string" ], "price_range": "string", "price_range_level": 0, "rating": 0.0, "rating_count": 0, "neighborhood": "string", "locality": "string", "region": "string", "country": "string", "city": "string", "city_code": "string", "latitude": 0.0, "longitude": 0.0, "distance_miles": 0.0, "phone": "string", "currency": "USD", "max_party_size": 0, "description": "string", "collections": [ "string" ], "images": [ "string" ], "available_times": [ { "time": "string", "start": "string", "end": "string", "seating_type": "string" } ], "available_times_count": 0 } ], "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Resy Restaurant Search", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Keywords that were searched (empty when listing a whole city). |
| city | object | Yes | |
| city.name | string | Yes | City searched, e.g. 'New York'. |
| city.code | string | Yes | Resy city code, e.g. 'ny'. |
| city.url_slug | string | Yes | City slug used in resy.com URLs, e.g. 'new-york-ny'. |
| city.country_code | string | null | No | |
| city.time_zone | string | null | No | |
| date | string | Yes | Date that open reservation times are for (YYYY-MM-DD). |
| party_size | integer | Yes | Party size that open reservation times are for. |
| total_results | integer | null | No | Total matching restaurants reported by Resy. |
| results_count | integer | Yes | Number of restaurants returned. |
| results | array<object> | Yes | |
| results[].id | integer | null | No | Resy venue ID. |
| results[].name | string | Yes | |
| results[].url | string | Yes | Restaurant page on resy.com. |
| results[].url_slug | string | Yes | |
| results[].cuisine | array<string> | No | |
| results[].price_range | string | null | No | Price band, '$' to '$$$$'. |
| results[].price_range_level | integer | null | No | Price band as a number, 1-4. |
| results[].rating | number | null | No | Average diner rating out of 5. |
| results[].rating_count | integer | null | No | |
| results[].neighborhood | string | null | No | |
| results[].locality | string | null | No | |
| results[].region | string | null | No | State or region code. |
| results[].country | string | null | No | |
| results[].city | string | null | No | |
| results[].city_code | string | null | No | |
| results[].latitude | number | null | No | |
| results[].longitude | number | null | No | |
| results[].distance_miles | number | null | No | Distance from the city center, in miles. |
| results[].phone | string | null | No | |
| results[].currency | string | null | No | |
| results[].max_party_size | integer | null | No | |
| results[].description | string | null | No | Short editorial description. |
| results[].collections | array<string> | No | Resy guides that feature the restaurant. |
| results[].images | array<string> | No | |
| results[].available_times | array<object> | No | Open reservation times for the requested date and party size. |
| results[].available_times[].time | string | Yes | Reservation time in the restaurant's local time, HH:MM. |
| results[].available_times[].start | string | Yes | Reservation start, local time, 'YYYY-MM-DD HH:MM:SS'. |
| results[].available_times[].end | string | null | No | Expected end of the seating, local time. |
| results[].available_times[].seating_type | string | null | No | Seating area offered, e.g. 'Dining Room', 'Bar', 'Patio'. |
| results[].available_times_count | integer | No |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/resy/restaurants/search?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
city,date,limit,party_size,query ny,example,20,2,example
Pricing & Rate Limits
Endpoint Pricing
$0.0012 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |