search_restaurants
opentable.caSearches https://opentable.ca by location, keyword, dining date, time, and party size. Returns the first server-paginated page of restaurant records with IDs, profile slugs, cuisine, ratings, pricing, neighborhood, address, coordinates, photos, and all other non-empty restaurant details exposed by OpenTable.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_restaurants?
Searches https://opentable.ca by location, keyword, dining date, time, and party size. Returns the first server-paginated page of restaurant records with IDs, profile slugs, cuisine, ratings, pricing, neighborhood, address, coordinates, photos, and all other non-empty restaurant details exposed by OpenTable. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass location, keyword, date, time, party_size and get the result back without maintaining a scraper.
Response
{
"query": {},
"source": "<string>",
"location": {},
"page_size": 0,
"page_number": 0,
"restaurants": [
{}
],
"result_mode": "<string>",
"total_count": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/40dc11e9-e1aa-4e2b-91ad-ba325cc7666a/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "40dc11e9-e1aa-4e2b-91ad-ba325cc7666a",
"variables": {
"location": "Toronto",
"keyword": "sushi",
"date": "",
"time": "19:00",
"party_size": 2
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="40dc11e9-e1aa-4e2b-91ad-ba325cc7666a") — the "search_restaurants" function, which searches https://opentable.ca by location, keyword, dining date, time, and party size. Returns the first server-paginated page of restaurant records with IDs, profile slugs, cuisine, ratings, pricing, neighborhood, address, coordinates, photos, and all other non-empty restaurant details exposed by OpenTable.. It takes location (str), keyword (str), date (str), time (str), party_size (int). Return the result as structured JSON.