{
  "openapi": "3.0.1",
  "info": {
    "title": "Resy Scraper | Restaurants and Open Tables",
    "description": "Resy scraper for restaurants and open tables: phone, website, rating, price level, booking rules, today's open slots for your party size and the next open date from each booking calendar. 20 New York restaurants in 8 seconds, 48 fields each. Filter by city, cuisine, price or hours. No Resy account.",
    "version": "1.0",
    "x-build-id": "5n22NbbcwPMiRFsuf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~resy-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-resy-scraper",
        "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/silentflow~resy-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-resy-scraper",
        "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/silentflow~resy-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-resy-scraper",
        "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": {
          "cities": {
            "title": "🏙️ Cities",
            "type": "array",
            "description": "Resy cities to search, by English name (<code>New York</code>, <code>Los Angeles</code>, <code>Miami</code>, <code>Chicago</code>), Resy code (<code>ny</code>, <code>la</code>) or slug (<code>new-york-ny</code>). Resy lists over 2,000 cities, mostly in the US. Restaurants come nearest the city center first; New York alone has about 2,600. Add several cities to cover a whole market in one run.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Resy links",
            "type": "array",
            "description": "Paste resy.com pages copied from a browser:<ul><li>a restaurant: <code>https://resy.com/cities/new-york-ny/venues/carbone</code></li><li>a city: <code>https://resy.com/cities/miami-fl</code></li></ul>A <code>?date=2026-11-20&seats=4</code> in a restaurant link wins over the date and party size below. Use links to watch a list of hard-to-book restaurants on a schedule.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "query": {
            "title": "🔎 Keyword",
            "type": "string",
            "description": "Narrow each city to a name, a neighborhood or a style: <code>Tribeca</code>, <code>rooftop</code>, <code>omakase</code>, <code>Carbone</code>. Leave empty for every restaurant of the city."
          },
          "maxItems": {
            "title": "🔢 Max restaurants",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many restaurants, across cities and links. 20 restaurants took 11 seconds in our test. Set it to what you need, the cost grows with it.",
            "default": 100
          },
          "cuisine": {
            "title": "🍝 Cuisine",
            "type": "string",
            "description": "Pick one of Resy's cuisines, or type another one as Resy writes it (<code>Georgian</code>, <code>Cocktail Bar</code>). Leave empty for every cuisine."
          },
          "priceRange": {
            "title": "💲 Price range",
            "type": "array",
            "description": "Keep only these Resy price levels, from <code>$</code> (inexpensive) to <code>$$$$</code> (very expensive). Pick several to keep a band. Leave empty for every price.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4"
              ],
              "enumTitles": [
                "$",
                "$$",
                "$$$",
                "$$$$"
              ]
            }
          },
          "date": {
            "title": "📅 Date",
            "type": "string",
            "description": "The day to list open tables for: <code>2026-11-20</code>, or a span ahead such as <code>3 days</code>. Leave empty for today in each restaurant's own time zone."
          },
          "partySize": {
            "title": "👥 Party size",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of guests, from 1 to 20. Open tables, next open dates and booking links are all for this party size.",
            "default": 2
          },
          "timeRange": {
            "title": "🕖 Time window",
            "type": "string",
            "description": "Keep only the tables that start in this window, in the restaurant's local time: <code>18:00-21:00</code>, <code>7pm-9pm</code>, <code>11:30-14:00</code>. Leave empty for the whole day."
          },
          "onlyAvailable": {
            "title": "✅ Only restaurants with an open table",
            "type": "boolean",
            "description": "Deliver only the restaurants that have at least one open table on the date, for the party size and in the time window. Pair it with a schedule to be told when a fully booked place opens up.",
            "default": false
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}