# thefork.restaurant

A restaurant's page on TheFork: address, ratings, average price, chef, distinctions, opening hours, menu with prices and set menus.

TheFork restaurant, one of the TheFork scrapers.

| | |
| --- | --- |
| Id | `thefork.restaurant` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/thefork.restaurant/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `restaurant` | string | yes | The restaurant, as TheFork's id of it (`122`: the `restaurant_id` of a `thefork.search` record) or the address of its page (`https://www.thefork.com/restaurant/la-grande-cascade-r122`). Limit: at least 1 characters, at most 600 characters. |

- `restaurant` is the number after `-r` in the address of the restaurant's page, or that address on any of TheFork's sites. The page is read in English.
- `menu` is the à la carte menu the restaurant gave TheFork, item after item, each with its section's heading and its price in `currency`; `set_menus` are the menus that can be booked.
- `hours` has a row a day and period, such as `Mon 12:30-14:00`, in the restaurant's own time; `24:00` is midnight.
- `features` is what the page lists of the restaurant's ambience, dishes, the guests it suits and its amenities. Reviews are not returned, and TheFork shows no telephone number.
- An id TheFork has no restaurant under ends `failed` with `not_found`, and costs nothing — see [the reasons of this family](https://docs.enrichednow.com/results-and-statuses.md#thefork).

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `restaurant_id` | integer | TheFork's id of the restaurant: the number after `-r` in its page's address. |
| `name` | string | The restaurant's name. |
| `url` | string | The restaurant's page on TheFork. |
| `cuisine` | string or null | The restaurant's main cuisine, e.g. `French`. |
| `address` | string or null | The street address. |
| `postal_code` | string or null | The postal code. |
| `city` | string or null | The city, as the address writes it. |
| `country` | string or null | The country. |
| `latitude` | number or null | The latitude, in decimal degrees. |
| `longitude` | number or null | The longitude. |
| `rating` | number or null | TheFork's rating, out of 10. Null for a restaurant not rated yet. |
| `review_count` | integer or null | How many ratings it is of. |
| `average_price` | number or null | The average price of a meal, as the restaurant states it, in `currency`. |
| `currency` | string or null | The currency of the prices, an ISO 4217 code such as `EUR`. |
| `top_chart_rank` | integer or null | The restaurant's place in TheFork's chart of the city's top 100, when it is in it. |
| `bookable` | boolean or null | True when a table can be booked through TheFork. |
| `distinctions` | array of string | The distinctions the page shows, as TheFork names them: `MICHELIN`, `INSIDER`, `TOPHOST`, `TOPCHART`, … |
| `rating_label` | string or null | The word TheFork puts on the rating, e.g. `Excellent`. |
| `food_rating` | number or null | The average rating of the food, out of 10. |
| `service_rating` | number or null | The average rating of the service, out of 10. |
| `ambience_rating` | number or null | The average rating of the ambience, out of 10. |
| `tripadvisor_rating` | number or null | The Tripadvisor rating the page shows, out of 5. |
| `tripadvisor_review_count` | integer or null | How many Tripadvisor reviews that rating is of. |
| `chef` | string or null | The chef the page names. |
| `description` | string or null | The restaurant's description, in the language the restaurant wrote it. |
| `michelin_stars` | integer or null | The restaurant's MICHELIN stars, when it has any. |
| `offer` | string or null | The offer the page puts forward, e.g. a discount on the à la carte menu. |
| `discount_percent` | integer or null | The largest discount the restaurant offers through TheFork, in percent. |
| `hours` | array of string | The opening hours, a row per day and period: `Mon 12:30-14:00`, in the restaurant's own time (`24:00` is midnight). Empty when the page lists none. |
| `features` | array of string | What the page lists of the restaurant's ambience, dishes, the guests it suits and its amenities, e.g. `Romantic`, `Seafood platter`, `Good for groups`, `Wheelchair Accessible`. |
| `dietary_options` | array of string | The diets the restaurant caters for, e.g. `Vegetarian dishes`. |
| `transport` | string or null | How to get there by public transport, as the page states it. |
| `parking` | string or null | Where to park, as the page states it. |
| `menu` | array of object | The à la carte menu the restaurant gave TheFork, item after item in the menu's order, each with its section and price. |
| `menu[].section` | string or null | The heading of the menu's section the item is in, e.g. `Desserts`. |
| `menu[].name` | string | The dish or drink, as the menu writes it. |
| `menu[].price` | number or null | Its price, in the record's `currency`. |
| `menu[].description` | string or null | What the menu says of it. |
| `set_menus` | array of object | The set menus that can be booked, with their prices. |
| `set_menus[].name` | string | The set menu's name. |
| `set_menus[].price` | number or null | Its price, in the record's `currency`. |
| `set_menus[].description` | string or null | What it includes, in TheFork's words. |
| `set_menus[].conditions` | string or null | When it is served, as the page states it. |
| `image` | string or null | The first photo at the top of the page. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/thefork.restaurant/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"restaurant":"https://www.thefork.com/restaurant/la-grande-cascade-r122"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "thefork.restaurant",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "restaurant": "https://www.thefork.com/restaurant/la-grande-cascade-r122"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "restaurant_id": 122,
      "name": "La Grande Cascade",
      "url": "https://www.thefork.com/restaurant/la-grande-cascade-r122",
      "cuisine": "French",
      "address": "Bois de Boulogne, allée de Longchamp",
      "postal_code": "75016",
      "city": "Paris",
      "country": "France",
      "latitude": 48.86379,
      "longitude": 2.24011,
      "rating": 9.6,
      "review_count": 5779,
      "average_price": 200,
      "currency": "EUR",
      "top_chart_rank": 52,
      "bookable": true,
      "distinctions": [
        "MICHELIN",
        "TOPCHART",
        "INSIDER"
      ],
      "rating_label": "Excellent",
      "food_rating": 9.6,
      "service_rating": 9.5,
      "ambience_rating": 9.6,
      "tripadvisor_rating": 4.5,
      "tripadvisor_review_count": 1157,
      "chef": null,
      "description": null,
      "michelin_stars": 1,
      "offer": "40% off the 'a la carte' menu",
      "discount_percent": 40,
      "hours": [
        "Mon 12:30-14:00",
        "Mon 19:30-21:30",
        "Tue 12:30-14:00"
      ],
      "features": [
        "Outdoor dining",
        "Romantic",
        "Crab"
      ],
      "dietary_options": [
        "Gluten free",
        "Vegetarian dishes"
      ],
      "transport": "Bus Carrefour de Longchamp (L244)",
      "parking": "Valet parking",
      "menu": [
        {
          "section": "Drinks",
          "name": "Half a bottle of water",
          "price": 8.5,
          "description": null
        },
        {
          "section": "Drinks",
          "name": "Coffee",
          "price": 8.5,
          "description": null
        }
      ],
      "set_menus": [
        {
          "name": "Menu Itinéraire en 7 étapes",
          "price": 245,
          "description": "This preset menu includes: First course + Second course + Third course + Fourth course + Fifth course + Sixth course + Seventh course",
          "conditions": "This preset menu is available and for lunch on Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday for dinner on Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday Prévu pour l’ensemble de la table"
        },
        {
          "name": "Menu du jardin en 4 étapes",
          "price": 128,
          "description": "This preset menu includes: First course + Second course + Third course + Fourth course",
          "conditions": "This preset menu is available for dinner on Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday Prévu pour l’ensemble de la table"
        }
      ],
      "image": "https://cdn.thefork.com/tf-lab/image/upload/restaurant/27f03599-3039-41a7-9a7e-36cb359eff77/aade8655-1779-47bc-96f5-1bd402c4597f.jpg",
      "fetched_at": "2026-11-19T18:07:41.427574Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `hours`: 14 items, the first 3 shown.
- Shortened: `features`: 13 items, the first 3 shown.
- Shortened: `menu`: 17 items, the first 2 shown.
- Shortened: `set_menus`: 4 items, the first 2 shown.
- Left out: `chef`: it is a person's name.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the TheFork scrapers](https://docs.enrichednow.com/results-and-statuses.md#thefork) are in their own section there.
