# Resy Restaurant Scraper (`moving_beacon-owner1/my-actor-43`) Actor

Extracts restaurant information from Resy: venue search by query and geolocation, full venue details, 30-day availability calendars, and optional daily bookable time slots. Read-only feature — does not make reservations.

- **URL**: https://apify.com/moving\_beacon-owner1/my-actor-43.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Categories:** Automation, Developer tools, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Resy Restaurant Scraper

Scrapes restaurant data from [Resy](https://resy.com): venue search by query + geo, full venue details, 30-day availability calendars, and optional per-day bookable time slots. Read-only — does not place reservations.


### What you get

Each item in the dataset is one venue record:

#### Identity & location
| Field | Description |
|---|---|
| `venue_id` | Resy's numeric venue id |
| `name` | Restaurant name |
| `url_slug` | Slug used in resy.com URLs (e.g. `carbone-new-york`) |
| `resy_url` | Direct link to the Resy listing |
| `neighborhood`, `locality`, `region`, `country` | Location breakdown |
| `city_code`, `city_name`, `city_url_slug` | Resy's city identifiers |
| `address_1`, `postal_code` | Street address (from detail) |
| `latitude`, `longitude` | Coordinates |

#### Core attributes
| Field | Description |
|---|---|
| `cuisine` | Cuisine label set by the restaurant |
| `price_range_id` | Resy's 1–4 price tier |
| `currency_code`, `currency_symbol` | Currency for prices |
| `max_party_size` | Largest party that can book |
| `phone`, `website` | Contact info |
| `rating_average`, `rating_count` | Aggregate ratings |
| `description` | Long-form "About" text (extracted from typed content blocks) |
| `content_blocks` | Full dict of all named content blocks (about, policies, etc.) |
| `images` | Up to 8 image URLs |
| `collections` | Curated lists this venue appears on ("Date Night", "Outdoor", etc.) |

#### Platform & tier flags
| Field | Description |
|---|---|
| `booking_platform` | Which platform owns the reservation (Resy / Tock / …) |
| `is_global_dining_access` | True if a GDA-tier venue |
| `is_gdc`, `is_gns`, `is_rga`, `is_tock_inventory` | Other inventory-tier flags |
| `waitlist` | True if a waitlist is available |
| `feature_recaptcha` | Whether Resy requires CAPTCHA before booking |
| `requires_reservation_transfers` | Reservation-transfer policy flag |
| `reopen_date` | If temporarily closed, the date they expect to reopen |
| `travel_time_minutes` | Resy's computed travel time from your search geo |

#### Calendar (when `daysAhead > 0`)
| Field | Description |
|---|---|
| `calendar.days_checked` | Number of days the calendar request returned |
| `calendar.days_available` | Days with reservation availability |
| `calendar.available_dates` | List of ISO dates with reservation availability |
| `calendar.sold_out_dates` | List of ISO dates sold out |
| `calendar.event_available_dates` | Dates with ticketed-event availability |
| `calendar.walkin_available_dates` | Dates with walk-in capacity |
| `calendar.days_by_status` | Full per-date map of `{reservation, event, walk-in}` statuses |

#### Slots (when `includeSlots: true`)
| Field | Description |
|---|---|
| `slots` | Dict of `date → [{start, end, type, min_party, max_party, config_token}]` |

### Input

| Field | Required | Default | Notes |
|---|---|---|---|
| `searchTerm` | no | `italian` | Free-text query. Leave empty to skip search. |
| `latitude` | no | `40.7128` | Geographic anchor for search (default: Manhattan). |
| `longitude` | no | `-74.0060` | Geographic anchor for search. |
| `city` | no | `ny` | Resy city slug — used when resolving venues by `url_slug`. |
| `venues` | no | `[]` | List of `url_slug`s or numeric ids to scrape directly. |
| `maxResults` | no | `20` | Max search results. Larger values multiply availability API calls. |
| `partySize` | no | `2` | Used for calendar + slot queries. |
| `daysAhead` | no | `0` | `0` skips availability. Up to `90`. |
| `includeSlots` | no | `false` | When `true`, also fetches the actual bookable slots per available day. |
| `apiKey` | no | Resy's public key | Override only if Resy rotates the web app key. |
| `authToken` | no | — | Optional. Unlocks user-specific data. |
| `proxyConfiguration` | no | Apify default | Not required for Resy. Available for high-volume runs. |

You must provide at least one of `searchTerm` or `venues`. If both are present, results are unioned.

### Example input

```json
{
  "searchTerm": "italian",
  "latitude": "40.7128",
  "longitude": "-74.0060",
  "city": "ny",
  "venues": ["carbone-new-york", "lartusi"],
  "maxResults": 25,
  "partySize": 2,
  "daysAhead": 14,
  "includeSlots": true,
  "proxyConfiguration": { "useApifyProxy": true }
}
````

This searches for "italian" near Manhattan, also explicitly scrapes Carbone and L'Artusi, fetches a 14-day calendar for party of 2, and for each available day fetches the bookable time slots.

# Actor input Schema

## `searchTerm` (type: `string`):

Free-text query (cuisine, restaurant name, neighborhood, etc.). Leave empty to skip search and only resolve the venues listed below.

## `latitude` (type: `string`):

Geographic anchor for search. Default is Manhattan (40.7128).

## `longitude` (type: `string`):

Geographic anchor for search. Default is Manhattan (-74.0060).

## `city` (type: `string`):

Resy's city slug, used when resolving venues by url\_slug. Examples: ny, la, chi, sf, mia, dc, atl, london, austin.

## `venues` (type: `array`):

Venue url\_slugs (e.g. 'carbone-new-york') or numeric venue ids. Use this to scrape exact restaurants by url\_slug from resy.com/cities/{city}/venues/{slug}.

## `maxResults` (type: `integer`):

Cap on search results before enrichment. Each result triggers further API calls when availability is enabled, so keep this reasonable.

## `partySize` (type: `integer`):

Number of guests for availability queries.

## `daysAhead` (type: `integer`):

0 = skip availability entirely (search/venue data only). 30 = full month. Resy generally exposes ~60 days.

## `includeSlots` (type: `boolean`):

When enabled (and daysAhead > 0), fetches actual reservation time slots for each available day. Adds one API call per available date per venue.

## `apiKey` (type: `string`):

Resy's public web-app api\_key. The default works at the time of build; if Resy rotates it, copy a new value from resy.com's network tab (look for the Authorization header).

## `authToken` (type: `string`):

User-specific Resy auth\_token. Only needed if you want fields tied to a logged-in account (favorites, etc.). Get it from resy.com DevTools after login.

## `proxyConfiguration` (type: `object`):

Resy's read endpoints are IP-tolerant; no proxy is required. Apify proxy is left available in case you scale up enough to hit rate limits.

## Actor input object example

```json
{
  "searchTerm": "italian",
  "latitude": "40.7128",
  "longitude": "-74.0060",
  "city": "ny",
  "venues": [],
  "maxResults": 20,
  "partySize": 2,
  "daysAhead": 0,
  "includeSlots": false,
  "apiKey": "VbWk7s3L4KiK5fzlO7JD3Q5EYolJI7n5",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/my-actor-43").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "proxyConfiguration": { "useApifyProxy": True } }

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/my-actor-43").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call moving_beacon-owner1/my-actor-43 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=moving_beacon-owner1/my-actor-43",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Resy Restaurant Scraper",
        "description": "Extracts restaurant information from Resy: venue search by query and geolocation, full venue details, 30-day availability calendars, and optional daily bookable time slots. Read-only feature — does not make reservations.",
        "version": "0.0",
        "x-build-id": "3wcxXzTBkZTLBCJFV"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/moving_beacon-owner1~my-actor-43/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-moving_beacon-owner1-my-actor-43",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/moving_beacon-owner1~my-actor-43/runs": {
            "post": {
                "operationId": "runs-sync-moving_beacon-owner1-my-actor-43",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/moving_beacon-owner1~my-actor-43/run-sync": {
            "post": {
                "operationId": "run-sync-moving_beacon-owner1-my-actor-43",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchTerm": {
                        "title": "Search term",
                        "type": "string",
                        "description": "Free-text query (cuisine, restaurant name, neighborhood, etc.). Leave empty to skip search and only resolve the venues listed below.",
                        "default": "italian"
                    },
                    "latitude": {
                        "title": "Latitude",
                        "type": "string",
                        "description": "Geographic anchor for search. Default is Manhattan (40.7128).",
                        "default": "40.7128"
                    },
                    "longitude": {
                        "title": "Longitude",
                        "type": "string",
                        "description": "Geographic anchor for search. Default is Manhattan (-74.0060).",
                        "default": "-74.0060"
                    },
                    "city": {
                        "title": "City slug",
                        "type": "string",
                        "description": "Resy's city slug, used when resolving venues by url_slug. Examples: ny, la, chi, sf, mia, dc, atl, london, austin.",
                        "default": "ny"
                    },
                    "venues": {
                        "title": "Specific venues (optional)",
                        "type": "array",
                        "description": "Venue url_slugs (e.g. 'carbone-new-york') or numeric venue ids. Use this to scrape exact restaurants by url_slug from resy.com/cities/{city}/venues/{slug}.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max search results",
                        "minimum": 1,
                        "maximum": 250,
                        "type": "integer",
                        "description": "Cap on search results before enrichment. Each result triggers further API calls when availability is enabled, so keep this reasonable.",
                        "default": 20
                    },
                    "partySize": {
                        "title": "Party size",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Number of guests for availability queries.",
                        "default": 2
                    },
                    "daysAhead": {
                        "title": "Days of availability to check",
                        "minimum": 0,
                        "maximum": 90,
                        "type": "integer",
                        "description": "0 = skip availability entirely (search/venue data only). 30 = full month. Resy generally exposes ~60 days.",
                        "default": 0
                    },
                    "includeSlots": {
                        "title": "Fetch individual bookable slots",
                        "type": "boolean",
                        "description": "When enabled (and daysAhead > 0), fetches actual reservation time slots for each available day. Adds one API call per available date per venue.",
                        "default": false
                    },
                    "apiKey": {
                        "title": "Resy API key (advanced)",
                        "type": "string",
                        "description": "Resy's public web-app api_key. The default works at the time of build; if Resy rotates it, copy a new value from resy.com's network tab (look for the Authorization header).",
                        "default": "VbWk7s3L4KiK5fzlO7JD3Q5EYolJI7n5"
                    },
                    "authToken": {
                        "title": "Resy auth token (advanced, optional)",
                        "type": "string",
                        "description": "User-specific Resy auth_token. Only needed if you want fields tied to a logged-in account (favorites, etc.). Get it from resy.com DevTools after login."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Resy's read endpoints are IP-tolerant; no proxy is required. Apify proxy is left available in case you scale up enough to hit rate limits.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
