API Hop logo API Hop

Guides

OpenTable, Yelp & Tripadvisor Reviews API Guide

Call OpenTable, Yelp, and Tripadvisor reviews APIs in Python at $0.0003/req. Compare official costs, parameters, pagination rules, and full code.

Reviewed:

OpenTable offers no self-serve public API for restaurant reviews, Yelp Places API now starts around $229 per month, and TripAdvisor Terra Discover bills roughly $0.015 per entity. Through the API Hop OpenTable API, TripAdvisor API, and Yelp API, seven synchronous GET endpoints run behind one Bearer key at $0.0003 per successful request (300 credits in the console catalog, $0.30 per 1,000 calls; the API reference docs note a $0.00039/req baseline) to pull business search, menus, and filtered reviews in Python within 10 minutes.

Key Takeaways

  • Seven read-only GET endpoints share one flat pay-as-you-go rate: Coverage spans OpenTable reviews (/v1/opentable/reviews), TripAdvisor search/place/reviews (3 endpoints), and Yelp search/place/reviews (3 endpoints), all priced at $0.0003/req in the catalog with zero monthly fees.
  • Official channels carry steep entry barriers: As of 2026-12-01, OpenTable restricts API access to approved restaurant and POS partners. Yelp retired its daily free tier in favor of $229+/month plans, and TripAdvisor replaced its legacy Content API with Terra Discover at $15 per 1,000 entities after a one-time 1,000-entity allowance.
  • OpenTable exposes reviews only, so supply a valid restaurant slug: API Hop does not expose /v1/opentable/search. Extract the restaurant id slug (such as central-park-boathouse-new-york-2) from OpenTable URLs or upstream search results before calling /v1/opentable/reviews.
  • Pagination and geo parameters enforce strict mutual exclusions: Yelp search caps lookups at the first 200 results ((page - 1) * limit < 200) and requires either location or coordinates, while TripAdvisor next_page_token expires after 1 hour and cannot be combined with offset.
  • $10 minimum deposit funds 33,333 hospitality API calls: Top up from $10 on the API Hop Pricing page with non-expiring credits. USDT/USDC crypto, Brazil PIX, and Indonesia QRIS/GoPay/DANA are supported without a US credit card.

Five Ways to Access Restaurant & Hospitality Review Data in 2026

Before writing your collector, compare the five standard paths for pulling OpenTable, TripAdvisor, and Yelp data (verified 2026-12-01):

OptionPlatforms CoveredPricing & Entry BarrierEst. Cost for 10,000 CallsMain Limitations
OpenTable Partner APIOpenTable onlyPartner/POS contract approval (OAuth 2.0)Not publicly disclosedNo self-serve registration for independent developers or AI analytics teams
Yelp Places API (ex-Fusion)Yelp onlyMonthly subscription from $229/month (~$5.91/1K overage)$229.00+No ongoing free tier, truncated review excerpts, strict anti-caching terms
TripAdvisor Terra DiscoverTripAdvisor only$0.015/entity first 1K ($9–$15/1K; 1,000 lifetime free entities)$90.00–$150.00Legacy Content API retired; 10 QPS cap and AI training prohibited
SerpApi / Scraper PlatformsPartial (Yelp/TripAdvisor; often lacks direct OpenTable reviews)Monthly plans (SerpApi Starter $25/1K, Developer $75/5K)$100.00–$250.00Unused monthly quotas expire; multi-platform pipelines often need separate actors
API Hop Hospitality DataOpenTable + TripAdvisor + Yelp (7 endpoints)Pure prepaid pay-as-you-go: $0.0003/req ($0/mo)$3.00Read-only JSON only; valid empty responses are billed; 60s timeout, no auto-retry

Note: The $0.0003/req catalog rate (300 credits) reflects the 2026-12-01 snapshot, while endpoint reference docs cite a $0.00039/req default baseline. Actual charges follow your live console catalog and account overrides. For broader multi-page scraping patterns, see our Walmart API Python guide.

Prerequisites

Prepare three items before running the examples:

  1. API Hop API Key: Create an account on the API Hop Pricing page and generate a Bearer key. Credits start at $10 (never expire, zero monthly fee) with no US credit card or enterprise KYB required, supporting USDT/USDC crypto, Brazil PIX, and Indonesia QRIS/GoPay/DANA.
  2. Local Environment: Python 3.9+ with requests installed, or curl.
  3. Endpoint Contracts: Bookmark the OpenTable overview, TripAdvisor reference, and Yelp reference.
pip install -U requests
export APIHOP_API_KEY="sk-your-apihop-key"

Quickstart: Pull Your First Reviews in 2 Minutes

All seven endpoints accept GET query parameters only with an empty body and reject html, output, json_restrictor, or no_cache. First, test OpenTable reviews with curl ($0.0003):

curl --get "https://api.apihop.ai/v1/opentable/reviews" \
  -H "Authorization: Bearer $APIHOP_API_KEY" \
  --data-urlencode "id=central-park-boathouse-new-york-2" \
  --data-urlencode "page=1"

Next, run a 10-line Python lookup against Yelp search ($0.0003):

import os
import requests

resp = requests.get(
    "https://api.apihop.ai/v1/yelp/search",
    headers={"Authorization": f"Bearer {os.environ['APIHOP_API_KEY']}"},
    params={"query": "coffee shop", "location": "Austin, TX", "limit": 5},
    timeout=60,
)
resp.raise_for_status()
payload = resp.json()
print("success:", payload.get("success"), "keys:", list(payload["data"]["content"].keys()))

Expected output: success: True keys: [...], preserving the upstream JSON payload and numeric precision under data.content.

Step-by-Step Guide: Seven Endpoints & Parameter Rules

The table below summarizes all seven live endpoints (catalog price $0.0003/req, verified 2026-12-01):

PlatformEndpointPurposeRequired ParamsPagination & Key Filters
OpenTableGET /v1/opentable/reviewsFetch restaurant reviewsid (slug)page (1–100), device, zero_trace
TripAdvisorGET /v1/tripadvisor/searchSearch places & diningquerylocation, ssrc (a/r/A/h/g/f), limit (1–100), offset XOR next_page_token
TripAdvisorGET /v1/tripadvisor/placeFetch place profileid (int or canonical URL)language, tripadvisor_domain, device, zero_trace
TripAdvisorGET /v1/tripadvisor/reviewsPull filtered reviewsid (int or canonical URL)limit (1–20), rating (1..5), month (1..12), sort_by, type_of_visit
YelpGET /v1/yelp/searchSearch local businesseslocation XOR (latitude, longitude)query, page XOR start, (page-1)*limit < 200, cflt, attrs
YelpGET /v1/yelp/placeBusiness details & menuid (alias)full_menu, menu_name (requires full_menu=true), business_alert
YelpGET /v1/yelp/reviewsRecommended & hidden reviewsid (alias)page XOR start XOR not_recommended_start, rating, not_recommended

Step 1: Paginate OpenTable Restaurant Reviews

Pass a verified slug matching ^[A-Za-z0-9][A-Za-z0-9_-]{0,255}$ to /v1/opentable/reviews. Stopping as soon as an empty array returns avoids unnecessary page calls:

import os
import requests

API_KEY = os.environ["APIHOP_API_KEY"]
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

def fetch_opentable_reviews(restaurant_id: str, max_pages: int = 2) -> list:
    reviews = []
    for page in range(1, max_pages + 1):
        r = requests.get(
            "https://api.apihop.ai/v1/opentable/reviews",
            headers=HEADERS,
            params={"id": restaurant_id, "page": page, "zero_trace": "true"},
            timeout=60,
        )
        r.raise_for_status()
        content = r.json().get("data", {}).get("content", {})
        items = content.get("reviews") or content.get("results") or []
        if not items:
            break
        reviews.extend(items)
    return reviews

if __name__ == "__main__":
    data = fetch_opentable_reviews("central-park-boathouse-new-york-2", max_pages=2)
    print(f"Fetched {len(data)} OpenTable reviews")

Expected output: Fetched <N> OpenTable reviews. If page 1 comes back empty, the loop halts immediately without billing page 2.

Step 2: Search TripAdvisor Places and Filter Low-Star Reviews

Use /v1/tripadvisor/search with ssrc=r to restrict results to restaurants, extract the numeric id, and pass it to /v1/tripadvisor/reviews filtered by rating="1,2":

import os
import requests

HEADERS = {"Authorization": f"Bearer {os.environ['APIHOP_API_KEY']}"}

search_resp = requests.get(
    "https://api.apihop.ai/v1/tripadvisor/search",
    headers=HEADERS,
    params={"query": "steakhouse", "location": "Austin, TX", "ssrc": "r", "limit": 5},
    timeout=60,
)
search_resp.raise_for_status()
places = search_resp.json()["data"]["content"].get("results") or []
print("TripAdvisor candidates:", len(places))

if places:
    place_id = str(places[0].get("id") or places[0].get("location_id") or "")
    if place_id.isdigit():
        rev_resp = requests.get(
            "https://api.apihop.ai/v1/tripadvisor/reviews",
            headers=HEADERS,
            params={
                "id": place_id,
                "rating": "1,2",
                "sort_by": "newest",
                "limit": 20,
            },
            timeout=60,
        )
        rev_resp.raise_for_status()
        rev_items = rev_resp.json()["data"]["content"].get("results") or []
        print("Low-rating reviews fetched:", len(rev_items))

Expected output prints the candidate count and the number of 1–2 star reviews returned. Note that /v1/tripadvisor/reviews caps limit at 20, whereas /v1/tripadvisor/search allows up to 100.

Step 3: Pull Yelp Menus, Alerts, and Filtered Reviews

Call /v1/yelp/place with full_menu=true for full menu structures, and query /v1/yelp/reviews to filter by star rating or pull unrecommended reviews (not_recommended=true):

import os
import requests

HEADERS = {"Authorization": f"Bearer {os.environ['APIHOP_API_KEY']}"}
ALIAS = "halcyon-austin-2"

place_resp = requests.get(
    "https://api.apihop.ai/v1/yelp/place",
    headers=HEADERS,
    params={"id": ALIAS, "full_menu": "true", "business_alert": "true"},
    timeout=60,
)
place_resp.raise_for_status()

rev_resp = requests.get(
    "https://api.apihop.ai/v1/yelp/reviews",
    headers=HEADERS,
    params={"id": ALIAS, "sort_by": "newest", "rating": "1,2,3", "limit": 20},
    timeout=60,
)
rev_resp.raise_for_status()
print("Place status OK; reviews keys:", list(rev_resp.json()["data"]["content"].keys()))

Expected output prints the place confirmation and top-level review payload keys. When using not_recommended=true, omit page and start and paginate strictly via not_recommended_start.

Complete Working Example: Cross-Platform Review Aggregator

This full Python script combines OpenTable, TripAdvisor, and Yelp into one collector with exponential backoff on 429 and 5xx responses, never retrying client validation errors (400/401/402/403):

import json
import os
import time
import requests

BASE_URL = "https://api.apihop.ai"
API_KEY = os.environ["APIHOP_API_KEY"]

def call_api(path: str, params: dict, max_retries: int = 2) -> dict:
    headers = {"Authorization": f"Bearer {API_KEY}"}
    for attempt in range(max_retries + 1):
        resp = requests.get(f"{BASE_URL}{path}", headers=headers, params=params, timeout=60)
        if resp.status_code == 200:
            return resp.json()
        if resp.status_code in (429, 500, 502, 503, 504) and attempt < max_retries:
            wait = 2 ** (attempt + 1)
            time.sleep(wait)
            continue
        req_id = resp.headers.get("X-Request-Id", "unknown")
        raise RuntimeError(f"HTTP {resp.status_code} on {path} (req_id={req_id}): {resp.text[:200]}")
    raise RuntimeError("Exhausted retries")

def collect_restaurant_bundle(opentable_id: str, tripadvisor_id: str, yelp_alias: str) -> dict:
    ot = call_api("/v1/opentable/reviews", {"id": opentable_id, "page": 1})
    ta = call_api("/v1/tripadvisor/reviews", {"id": tripadvisor_id, "limit": 20, "sort_by": "newest"})
    yp = call_api("/v1/yelp/reviews", {"id": yelp_alias, "limit": 20, "sort_by": "newest"})
    return {
        "opentable": ot.get("data", {}).get("content", {}),
        "tripadvisor": ta.get("data", {}).get("content", {}),
        "yelp": yp.get("data", {}).get("content", {}),
    }

if __name__ == "__main__":
    bundle = collect_restaurant_bundle(
        opentable_id="central-park-boathouse-new-york-2",
        tripadvisor_id="27936245",
        yelp_alias="halcyon-austin-2",
    )
    print(json.dumps({k: list(v.keys())[:5] for k, v in bundle.items()}, ensure_ascii=False))

Expected output prints the top-level JSON keys from all three platforms and logs X-Request-Id on any failed call for fast debugging.

Error Handling

All requests time out after 60 seconds with zero automatic retries or duplicate upstream billing:

HTTP StatusMeaningBilled?Action
200 OKSuccess (including empty results: [])Yes (1 call)Parse data.content; halt pagination loop if empty
400 Bad RequestInvalid parameter or violated mutual exclusionNo (hold released)Fix page/start, location/lat-lng, or id regex
401 UnauthorizedMissing or invalid Bearer keyNoCheck APIHOP_API_KEY and header syntax
402 Payment RequiredInsufficient account balanceNoTop up credits on the API Hop Pricing page
403 ForbiddenKey lacks access to this endpointNoVerify console permissions and gateway status
405 Method Not AllowedNon-GET method sentNoSwitch to GET query params with empty body
429 Too Many RequestsConcurrency or rate limit reachedNo (hold released)Apply backoff (2s, 4s) and cap worker concurrency
5xx / 60s TimeoutUpstream or gateway errorNo (hold released)Retry up to 1–2 times and log X-Request-Id

Common Issues and Gotchas

  1. OpenTable has no search endpoint on API Hop: /v1/opentable/reviews strictly requires a slug matching ^[A-Za-z0-9][A-Za-z0-9_-]{0,255}$. Extract valid slugs from OpenTable URLs or search results before batching review pulls.
  2. Yelp search caps lookups at 200 businesses: /v1/yelp/search enforces (page - 1) * limit < 200 and start <= 199 (10 pages max at limit=20). For dense cities, partition searches with bounding boxes (l=g:west,south,east,north).
  3. TripAdvisor next_page_token expires in 1 hour and locks parameters: Keep the exact same account, device, limit, and filters across token pages, and never pass offset alongside next_page_token.
  4. Unsupported query flags trigger 400 immediately: Never send html, output, json_restrictor, or no_cache on any of these seven endpoints.
  5. Empty lookups still bill: If a query resolves cleanly on the upstream site with zero reviews or location_not_found: true, it counts as one successful billed request. Test small batches with limit=1 first.

Cost Estimation

Using the catalog rate of $0.0003 per successful request (with a $0.00039/req comparison range from reference docs, verified 2026-12-01):

  • Scenario A: Monthly competitor tracking (100 restaurants across TripAdvisor & Yelp, 5 review pages each)
    • Formula: 100 venues × (1 TA search + 5 TA review pages + 1 Yelp place + 5 Yelp review pages) = 1,200 requests
    • API Hop Cost: 1,200 × $0.0003 = $0.36 ($0.468 at the $0.00039/req baseline), compared to Yelp Places API’s $229/month floor.
  • Scenario B: Large-scale OpenTable sentiment dataset (500 venues × 4 pages = 2,000 requests)
    • Formula: 2,000 × $0.0003 = $0.60 ($0.78 at $0.00039/req).
    • Summarizing those 2,000 pages with GPT-6 Luna ($0.03/$0.15 per 1M tokens) adds under $0.15, keeping the entire end-to-end pipeline under $1.00.

What to Watch Next

  • Potential OpenTable search endpoint additions: Adding a venue search route later would remove the need to source OpenTable restaurant slugs externally.
  • Upstream page-size or anti-bot shifts on Yelp and TripAdvisor: TripAdvisor reviews currently cap at 20 items per page and Yelp at 100. Monitor page limits before adjusting production batch loops.
  • Entity deduplication across review sources: Match venues by coordinates and normalized street address when merging TripAdvisor, Yelp, and Google Maps records.

FAQ

Does OpenTable have an official public reviews API?

No. As of 2026-12-01, OpenTable does not offer a self-serve public API for restaurant reviews; official endpoints sit behind partner and POS agreements. You can pull public OpenTable reviews via GET /v1/opentable/reviews on the API Hop OpenTable API.

How much do TripAdvisor and Yelp APIs cost, and is there a free tier?

Yelp ended its daily free tier and now charges from roughly $229/month on Yelp Places API. TripAdvisor’s Terra Discover grants a one-time 1,000-entity allowance, then bills $0.009–$0.015 per entity. API Hop has no permanent free tier, but charges zero monthly fees—head to the API Hop Pricing page to start from a $10 prepaid deposit (33,333 requests at $0.0003/req) with non-expiring credits.

Where do I get the id for /v1/opentable/reviews?

Extract the alphanumeric restaurant slug from the OpenTable restaurant URL (for example, central-park-boathouse-new-york-2, matching ^[A-Za-z0-9][A-Za-z0-9_-]{0,255}$). Because there is no /v1/opentable/search endpoint yet, collect slugs from search engines or existing restaurant directories first.

Should TripAdvisor id be a number or a full URL?

Either format works. Both /v1/tripadvisor/place and /v1/tripadvisor/reviews accept a positive integer ID up to 2147483647 or a canonical HTTPS Tripadvisor place URL with no query string, fragment, port, or credentials.

Can I pull Yelp menus and unrecommended reviews?

Yes. Pass full_menu=true to GET /v1/yelp/place for menu data, and pass not_recommended=true with not_recommended_start to GET /v1/yelp/reviews for filtered reviews (omit page and start when doing so).

Can I use these APIs without a US credit card?

Yes. You can fund your account from $10 on the API Hop Pricing page using USDT/USDC crypto, Brazil PIX, or Indonesia QRIS/GoPay/DANA with no US credit card or business verification needed.

After pulling reviews, run sentiment classification with low-cost LLMs on the same balance, or check our Google Scholar & Patents API guide and Google Flights API guide for similar synchronous pagination patterns.


Verification note: Endpoint paths, regex constraints, the $0.0003/req catalog price (300 credits), and the $0.00039/req reference baseline were verified against the live API Hop catalog and docs on 2026-12-01. Official Yelp and TripAdvisor rates reflect published pricing as of 2026-12-01.