Discover/Tock API
live

Tock APItock.com

Search Tock restaurants by city and keyword. Get cuisine, address, accolades (Michelin, James Beard), FAQs, and contact details via 2 endpoints.

Endpoint health
verified 6d ago
search_restaurants
get_restaurant_details
2/2 passing latest checkself-healing
Endpoints
2
Updated
22d ago

What is the Tock API?

The Tock API provides 2 endpoints for retrieving restaurant data from exploretock.com. Use search_restaurants to find restaurants by city slug and keyword, returning names, slugs, and image URLs. Use get_restaurant_details to pull a specific restaurant's full profile — including cuisine type, structured address, contact email, website, FAQs, and accolades such as Michelin stars and James Beard awards with year and achievement details.

Try it
City slug for browsing restaurants (e.g. 'chicago', 'new-york', 'san-francisco')
Maximum number of restaurant results to return
Search keyword to filter restaurants (e.g. 'italian', 'sushi', 'steakhouse'). Empty string returns all featured restaurants.
api.parse.bot/scraper/56407e7b-33ee-493f-b58a-62046858269c/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/56407e7b-33ee-493f-b58a-62046858269c/search_restaurants?city=chicago&limit=5' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace tock-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Tock Restaurant Search API — discover restaurants and inspect details."""
from parse_apis.tock_restaurant_search_api import Tock, City, RestaurantNotFound

client = Tock()

# Search for restaurants in Chicago — limit caps total items fetched.
for summary in client.restaurants.search(city=City.CHICAGO, limit=5):
    print(summary.name, summary.url)

# Drill into one result: take the first match and get full details.
hit = client.restaurants.search(query="sushi", city=City.NEW_YORK, limit=1).first()
if hit:
    restaurant = hit.details()
    print(restaurant.name, restaurant.cuisine, restaurant.price_range)
    print(restaurant.address.street, restaurant.address.city, restaurant.address.state)
    for accolade in restaurant.accolades:
        print(accolade.type, accolade.year, accolade.rating)

# Direct fetch by slug when the slug is already known.
try:
    alinea = client.restaurants.get(slug="alinea")
    print(alinea.name, alinea.cuisine)
    for faq in alinea.faqs:
        print(faq.question, faq.answer[:80])
except RestaurantNotFound as exc:
    print(f"Restaurant not found: {exc.slug}")

print("exercised: restaurants.search / summary.details / restaurants.get / error handling")
All endpoints · 2 totalmissing one? ·

Search for restaurants on Tock by query keyword and city. Returns restaurant listings from the city browse page. Results include name, slug, URL, and image. The query filters by keyword match against the city's restaurant carousel; an empty query returns all featured restaurants. Pagination is not supported — the limit parameter caps the returned array.

Input
ParamTypeDescription
citystringCity slug for browsing restaurants (e.g. 'chicago', 'new-york', 'san-francisco')
limitintegerMaximum number of restaurant results to return
querystringSearch keyword to filter restaurants (e.g. 'italian', 'sushi', 'steakhouse'). Empty string returns all featured restaurants.
Response
{
  "type": "object",
  "fields": {
    "city": "string, the city slug searched",
    "query": "string, the search keyword used",
    "restaurants": "array of restaurant summary objects with slug, name, url, and image_url",
    "total_found": "integer, number of restaurants returned"
  }
}

About the Tock API

Searching Restaurants

The search_restaurants endpoint accepts a city slug (e.g. chicago, new-york, san-francisco), an optional query keyword (e.g. italian, sushi, steakhouse), and an optional limit. It returns a list of restaurant objects, each containing a slug, name, url, and image_url, along with a total_found count. The slug values from these results feed directly into the details endpoint.

Restaurant Detail Fields

The get_restaurant_details endpoint accepts a single required slug and returns a full restaurant profile. Contact fields include email and website. Location is structured as an address object with street, city, state, postal_code, and country. The cuisine field names the restaurant's food category. The accolades array contains objects with type, achievement, rating, year, and icon — covering recognitions like Michelin stars and James Beard awards. A faqs array exposes the question-and-answer content Tock publishes on each restaurant page.

Coverage Notes

City coverage depends on Tock's own restaurant listings, which skew toward major US metropolitan areas and select international cities. The search_restaurants endpoint browses city-level pages and does not return paginated results beyond the limit parameter — if a city has hundreds of listings, setting an appropriate limit is necessary to control response size. Accolade data is only present for restaurants that have published recognition information on Tock.

Reliability & maintenanceVerified

The Tock API is a managed, monitored endpoint for tock.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when tock.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official tock.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
6d ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a Michelin-star restaurant finder by querying accolades across multiple city slugs
  • Aggregate contact emails and websites for restaurant outreach lists filtered by cuisine type
  • Populate a travel app's dining section with Tock restaurant names, images, and addresses for a given city
  • Track James Beard award winners by year using the accolades array from get_restaurant_details
  • Cross-reference Tock FAQ content with reservation platform listings to enrich dining guides
  • Generate structured location data (street, city, state, postal_code) for mapping restaurant clusters
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Tock have an official public developer API?+
Tock does not publish a public developer API or documented data access program for third-party developers as of mid-2025.
What does the accolades field in get_restaurant_details actually contain?+
The accolades array returns objects with five fields: type (e.g. Michelin, James Beard), achievement (the specific award or star level), rating, year, and icon (an image URL for the badge). Only restaurants with published recognition on Tock will have a populated accolades array; others return an empty array.
Can I retrieve real-time reservation availability or menu pricing through this API?+
Not currently. The API covers restaurant identity, contact, address, cuisine, accolades, and FAQ data. Reservation slots and menu pricing are not exposed in either endpoint. You can fork this API on Parse and revise it to add an endpoint targeting reservation or menu data.
Does search_restaurants support pagination to retrieve all results for a large city?+
The endpoint returns up to the number specified by the limit parameter in a single response. There is no cursor or offset pagination exposed. For cities with large restaurant counts, increasing the limit value is the only way to retrieve more results in one call. You can fork this API on Parse and revise it to add offset-based pagination if your use case requires it.
Is restaurant data available for cities outside the United States?+
Coverage depends on what Tock lists for a given city slug. Tock does include some international cities, but depth of listings varies significantly compared to major US markets like Chicago, New York, and San Francisco. Passing an international city slug will return results where Tock has listings, but an empty or sparse result does not indicate the city is unsupported — it may simply have fewer Tock-listed venues.
Page content last updated . Spec covers 2 endpoints from tock.com.
Related APIs in Food DiningSee all →
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
resy.com, opentable.com API
Search and compare restaurants across Resy and OpenTable by cuisine, location, and price range, then sort results by price or ratings to find the best dining option. Retrieve comprehensive restaurant details including addresses, contact information, descriptions, and customer ratings all in one place.
toasttab.com API
Search for restaurants on ToastTab.com by location and keyword. Retrieve restaurant profiles, contact details, hours, and full menus — including item names, prices, descriptions, and customization options.
opentable.ca API
Search and discover restaurants on OpenTable, view detailed information like menus and reviews, and check real-time dining availability across metro areas. Find top-rated restaurants in your location and instantly see which tables are open for your preferred date and time.
thefork.it API
Search and discover Italian restaurants by cuisine, location, or ratings, then access detailed information like menus, reviews, and availability across major cities in Italy. Find top-rated dining options and compare restaurant details to plan your perfect meal.
resy.com API
Search for restaurants across cities and check real-time availability to find open reservation slots on Resy. Discover trending and top-rated venues with detailed information about dining options, menus, and available time slots across selected dates.
timeout.com API
Discover restaurants, events, attractions, and city guides across multiple locations with the Time Out API. Search for things to do, browse upcoming events and movies, explore new restaurant openings, find hotels, and access curated content like Time Out Market recommendations and cultural listings.
theinfatuation.com API
Access restaurant reviews, ratings, and guides from The Infatuation. Search by keyword and location, browse cities and neighborhoods, and retrieve detailed review data including cuisine type, address, pricing, and editorial ratings.