Skip to content

About

Resy scraper API: Resy Restaurant Details, Resy Restaurant Search as clean JSON. Python examples with requests, Scrapy, asyncio and the DataGuru SDK.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Resy Scraper API

Scrape Resy with a JSON API. This repo has working Python examples for DataGuru's Resy scraper APIs: Resy Restaurant Details and Resy Restaurant Search.

DataGuru runs the scraping, proxies, retries and parsing, and returns clean JSON. You pay only for successful requests, from $0.0012 per request, out of a prepaid balance: no subscription. New accounts get $1.00 of free credit.

Resy APIs

API What it returns Price Page
Resy Restaurant Details Get a Resy restaurant from its URL, including cuisine, price band, rating, descriptions and booking notes, address and coordinates, phone, website, social links, party sizes, guides it features in, photos and the open reservation times for a date and party size. $0.0022 https://dataguru.cc/apis/resy-restaurant-details/
Resy Restaurant 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. $0.0012 https://dataguru.cc/apis/resy-restaurant-search/

Quick start

  1. Create a free account and an API key at dashboard.dataguru.cc.
  2. Install and run:
git clone https://github.com/dataguru-cc/resy-scraper-api.git
cd resy-scraper-api
pip install -r requirements.txt
export DATAGURU_API_KEY="your key"
python examples/sdk_example.py resy-restaurant-details

Examples

Every example covers all 2 Resy APIs. Pass an API name to run just one; with no name each script runs them all, and each call is billed at the price above.

File Style Run
examples/sdk_example.py DataGuru Python SDK (pip install dataguru-sdk), one function per API, saves JSON to output/ python examples/sdk_example.py
examples/requests_example.py Plain requests, synchronous python examples/requests_example.py
examples/async_example.py asyncio + httpx, concurrent with a limit python examples/async_example.py
examples/scrapy_spider.py Scrapy spider, items to JSON/CSV scrapy runspider examples/scrapy_spider.py -O resy.json

All requests use the header Authorization: Api-Key YOUR_API_KEY. Errors return {"success": false, "error": {"code", "message", "request_id"}}, with HTTP 402 when the balance runs out and 429 (with Retry-After) when rate limited. Failed requests are not charged.

API reference

Resy Restaurant Details

Get a Resy restaurant from its URL, including cuisine, price band, rating, descriptions and booking notes, address and coordinates, phone, website, social links, party sizes, guides it features in, photos and the open reservation times for a date and party size.

Parameter Type Required Description
date string no Date to check open reservation times for, YYYY-MM-DD (default today at the restaurant).
party_size integer no Number of guests for the reservation times (1-20, default 2).
restaurant_url string yes Full Resy restaurant URL (e.g. https://resy.com/cities/new-york-ny/venues/crazy-pizza).

Response fields: id, name, url, url_slug, cuisine, price_range, price_range_level, rating, rating_count, rating_scale, description, why_we_like_it, tagline, need_to_know, from_the_venue, large_party_message, address, neighborhood, city, latitude, longitude, time_zone, currency, phone, website, menu_url, social, min_party_size, max_party_size, restaurant_group, collections, awards, links, images, reopen_date, is_active, availability, plus _metadata

curl -X POST "https://api.dataguru.cc/api/v1/resy/restaurants/details" \
  -H "Authorization: Api-Key $DATAGURU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"restaurant_url": "https://resy.com/cities/new-york-ny/venues/crazy-pizza"}'
Response schema

Values are type placeholders from the API's published schema, not real data.

{
  "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,
  "rating_scale": 0,
  "description": "string",
  "why_we_like_it": "string",
  "tagline": "string",
  "need_to_know": "string",
  "from_the_venue": "string",
  "large_party_message": "string",
  "address": {
    "full": "string",
    "street": "string",
    "street_2": "string",
    "city": "string",
    "region": "string",
    "postal_code": "string",
    "country": "string",
    "country_code": "string",
    "cross_streets": [
      "string"
    ]
  },
  "neighborhood": "string",
  "city": {
    "code": "string",
    "url_slug": "https://example.com/..."
  },
  "latitude": 0.0,
  "longitude": 0.0,
  "time_zone": "string",
  "currency": "USD",
  "phone": "string",
  "website": "string",
  "menu_url": "https://example.com/...",
  "social": [
    {
      "network": "string",
      "handle": "string"
    }
  ],
  "min_party_size": 0,
  "max_party_size": 0,
  "restaurant_group": "string",
  "collections": [
    {
      "name": "string",
      "description": "string"
    }
  ],
  "awards": [
    "string"
  ],
  "links": [
    {
      "label": "string",
      "url": "https://example.com/..."
    }
  ],
  "images": [
    "string"
  ],
  "reopen_date": "2026-01-01T12:00:00Z",
  "is_active": false,
  "availability": {
    "date": "2026-01-01T12:00:00Z",
    "party_size": 0,
    "status": "available",
    "times_count": 0,
    "times": [
      {
        "time": "string",
        "start": "string",
        "end": "string",
        "seating_type": "string"
      }
    ]
  },
  "_metadata": {
    "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e",
    "execution_time_ms": 842,
    "endpoint": "Resy Restaurant Details",
    "mode": "live",
    "format": "json",
    "timestamp": "2026-01-01T12:00:00+00:00"
  }
}

Resy Restaurant 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.

Parameter Type Required Description
city string no Resy city as a code ("ny", "la", "chi"), city slug ("new-york-ny") or name ("Miami"). Default ny.
date string no Date to check open reservation times for, YYYY-MM-DD (default today in the city).
limit integer no Maximum number of restaurants to return (1-100). Default: 20.
party_size integer no Number of guests for the reservation times (1-20, default 2).
query string no Optional cuisine, restaurant name or keyword, e.g. "italian" or "sushi". Leave empty to list restaurants in the city.

Response fields: query, city, date, party_size, total_results, results_count, results, plus _metadata

curl -X POST "https://api.dataguru.cc/api/v1/resy/restaurants/search" \
  -H "Authorization: Api-Key $DATAGURU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "pizza", "city": "new-york-ny"}'
Response schema

Values are type placeholders from the API's published schema, not real data.

{
  "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"
  }
}

More

License

The example code is MIT licensed. Use of the DataGuru API is subject to the terms of service.

About

Resy scraper API: Resy Restaurant Details, Resy Restaurant Search as clean JSON. Python examples with requests, Scrapy, asyncio and the DataGuru SDK.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors