Scraper API
TheForkthefork.searchAvailable
TheFork restaurants in a city
The restaurants on a page of TheFork's list for the city: name, address and coordinates, cuisine, rating and how many ratings it is of, average price, offers, distinctions such as a MICHELIN award, and tags.
Give it a city on TheFork, by its id or the address of its page, and a page.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 3, 1 required
- Record
- 27 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/thefork.search/runs
sent, and answered
a record of the run27 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 27 fields are set down here; the whole record is below.

What it is used for
- Survey a city's restaurants
- The restaurants TheFork lists for a city, with cuisine, rating, average price, offers and distinctions, ready for a table.
- See who discounts
offersandprice_rangeshow which restaurants in a city run a discount and at what level of price.- Build a list of venues
- Collect the bookable restaurants of a city with their addresses and coordinates, for a guide, a map or a sales list.
What you send
A city on TheFork, by its id or the address of its page, and a page. These are its 3 inputs, as its schema has them.
citystring Required- TheFork's id of the city, as the address of its page carries it (thefork.com/restaurants/paris-c415144 is 415144), or that address.
pageinteger Optional- The page of the list, from 1 to 14. A page holds up to 25 restaurants.Default
1 max_resultsinteger Optional- Return at most this many restaurants of the page.
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/thefork.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"city":"415144"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("thefork.search", {"city": "415144"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("thefork.search", { city: "415144" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "thefork.search", map[string]any{"city": "415144"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("thefork.search", Map.of("city", "415144"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run thefork.search --input-json '{"city":"415144"}'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The restaurants on a page of TheFork's list for the city: name, address and coordinates, cuisine, rating and how many ratings it is of, average price, offers, distinctions such as a MICHELIN award, and tags. A record has 27 fields. One we could not read is null, never an empty string or a zero.
{
"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,
"uuid": "27f03599-3039-41a7-9a7e-36cb359eff77",
"distinctions": [
{
"label": "MICHELIN",
"kind": "MICHELIN_1_star",
"rank": null
},
{
"label": "TOPCHART",
"kind": null,
"rank": 52
}
],
"payment_methods": [
"Credit Card",
"Mastercard",
"TheFork Pay"
],
"price_range": 4,
"offers": [
"Up to -40%",
"Yums x2"
],
"booked_today": 7,
"tags": [
"Paris 16th",
"INSIDER",
"SELECTION INSIDER - Gourmet tables"
],
"image": "https://cdn.thefork.com/tf-lab/image/upload/restaurant/27f03599-3039-41a7-9a7e-36cb359eff77/aade8655-1779-47bc-96f5-1bd402c4597f.jpg",
"position": 7,
"page": 1,
"fetched_at": "2026-11-19T18:07:41.440604Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: payment_methods: 5 items, the first 3 shown; tags: 40 items, the first 3 shown.
The fields of a record
restaurant_idinteger- TheFork's id of the restaurant: the number after
-rin its page's address. namestring- The restaurant's name.
urlstring- The restaurant's page on TheFork.
cuisinestring or null- The restaurant's main cuisine, e.g.
French. addressstring or null- The street address.
postal_codestring or null- The postal code.
citystring or null- The city, as the address writes it.
countrystring or null- The country.
latitudenumber or null- The latitude, in decimal degrees.
longitudenumber or null- The longitude.
ratingnumber or null- TheFork's rating, out of 10. Null for a restaurant not rated yet.
review_countinteger or null- How many ratings it is of.
average_pricenumber or null- The average price of a meal, as the restaurant states it, in
currency. currencystring or null- The currency of the prices, an ISO 4217 code such as
EUR. top_chart_rankinteger or null- The restaurant's place in TheFork's chart of the city's top 100, when it is in it.
bookableboolean or null- True when a table can be booked through TheFork.
uuidstring or null- TheFork's other, long id of the restaurant.
distinctionslist of objects- The distinctions the card shows: a MICHELIN award, TheFork's own marks.Each holds
label,kind,rank. payment_methodslist of strings- The means of payment the restaurant accepts, as TheFork lists them.
price_rangeinteger or null- TheFork's price band, 1 (cheapest) to 4.
offerslist of strings- The offers the card shows, e.g. a discount on the bill or TheFork's loyalty points.
booked_todayinteger or null- How many times the card says the restaurant was booked today.
tagslist of strings- TheFork's tags on the restaurant: cuisines, dishes, area, features and occasions.
imagestring or null- The restaurant's main photo.
positioninteger- The restaurant's position on the page, from 1.
pageinteger- The page it was on.
fetched_atdatetime- When the page was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One run reads one page of the list, up to 25 restaurants, in TheFork's own order.
- The first 14 pages of a city's list: 350 restaurants.
- Prices are the average price of a meal the restaurant states, in its own currency.
- Reviews are not returned.
The bounds its schema sets
page- 1 to 14; 1 unless you say otherwise
max_results- 1 to 25
Questions
What does TheFork restaurants in a city return?
The restaurants on a page of TheFork's list for the city: name, address and coordinates, cuisine, rating and how many ratings it is of, average price, offers, distinctions such as a MICHELIN award, and tags. A record has 27 fields, among them restaurant_id, name, url, cuisine, address and postal_code. A value that could not be read is null, never an empty string or a zero.
What do I send?
A city on TheFork, by its id or the address of its page, and a page. The input city is required. Optional: page and max_results.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: page 1 to 14 (1 unless you say otherwise); max_results 1 to 25. A run may take up to 5 minutes.
What does it not do?
One run reads one page of the list, up to 25 restaurants, in TheFork's own order. The first 14 pages of a city's list: 350 restaurants. Prices are the average price of a meal the restaurant states, in its own currency. Reviews are not returned.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id thefork.search and the same input. It costs what the same API call costs.
TheFork
TheFork's public lists of a city's restaurants and restaurant pages, in the cities of Europe it serves: ratings, prices, menus and opening hours.
TheFork restaurant
thefork.restaurantA restaurant on TheFork, by its id or the address of its page. What its page states: address and coordinates, ratings overall and for food, service and ambience, average price, chef, distinctions and offers, opening hours, ambience and amenities, the à la carte menu with prices, and the set menus.
- Industry
- Travel, food and places
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.