API Hop Docs
Yelp endpoint reference
Search Yelp businesses and retrieve business details, menus and reviews.
Concurrency limit
AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.
GET /v1/yelp/search GET /v1/yelp/place GET /v1/yelp/reviews Search Yelp businesses and retrieve business details, menus and reviews.
Authentication and billing
The default price is $0.0003 (300 credits) per successful request. Use your API Hop API key. Availability depends on active gateways and key permissions. Check the current catalog and your account for the price per successful request; account-specific pricing takes precedence. Successful empty results are billable. Failed requests release the credit reservation. Requests time out after 60 seconds, with no automatic retry or pagination. Settlement failures never repeat the upstream request.
Authorization: Bearer YOUR_API_KEYYelp: Search places
GET https://api.apihop.ai/v1/yelp/search
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Optional business search text. Omit to browse businesses in the selected area. At most 8,192 UTF-8 bytes.; query: optional; UTF-8 bytes: 8192 | coffee shop |
language | string | Provider-supported language code, such as en.; language: optional | - |
location | string | Location to search around, such as Austin, TX. Yelp Business Lookup requires exactly one of location or coordinates. If Yelp cannot resolve the location, a completed lookup returns HTTP 200 with an empty results array and search_parameters.location_not_found: true.; location: optional | Austin, TX |
latitude | number | Latitude; requires longitude.; latitude: optional; min: -90; max: 90 | -90 |
longitude | number | Longitude; requires latitude.; longitude: optional; min: -180; max: 180 | -180 |
page | integer | One-based page within the first 200 businesses. The starting offset (page - 1) × limit must be less than 200. With limit 20, pages 1 through 10 are available. Keep the other search parameters unchanged.; page: optional; min: 1; max: 200 | 1 |
limit | integer | Maximum businesses to return, from 1 to 100; defaults to 20. The final page stops at Yelp's 200-result lookup window.; limit: optional; min: 1; max: 100 | 1 |
sort_by | string | Omit this field or use recommended for Yelp's native business lookup order. Rating, review-count, and distance sorting are unsupported.; sort_by: optional; recommended | recommended |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
start | integer | Result offset within the first 200 businesses. Use this or page; a final page can contain fewer than limit results.; start: optional; min: 0; max: 199 | 0 |
l | string | Source geographic box g:west,south,east,north or neighborhood selection p:region:city::neighborhood. A neighborhood requires location. Cannot be combined with coordinates.; l: optional; UTF-8 bytes: 750 | - |
cflt | string | Comma-separated native category aliases.; cflt: optional; UTF-8 bytes: 2000 | - |
attrs | string | Comma-separated native attribute filters, for example GoodForKids,DogsAllowed.; attrs: optional; UTF-8 bytes: 2000 | - |
yelp_domain | string | Yelp regional domain.; yelp_domain: optional; yelp.at, yelp.be, yelp.ca, yelp.ch, yelp.cl, yelp.co.jp, yelp.co.nz, yelp.co.uk, yelp.com, yelp.com.ar, yelp.com.au, yelp.com.br, yelp.com.hk, yelp.com.mx, yelp.com.ph, yelp.com.sg, yelp.com.tr, yelp.com.tw, yelp.cz, yelp.de, yelp.dk, yelp.es, yelp.fi, yelp.fr, yelp.ie, yelp.it, yelp.my, yelp.nl, yelp.no, yelp.pl, yelp.pt | yelp.at |
Validation rules
Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/latitude => longitude; longitude => latitudelocation XOR (latitude AND longitude): required; query optionalNOT (page AND start); (page - 1) * limit < 200; omitted page = 1, limit = 20; start <= 199l => NOT latitude AND NOT longitude; l = g:west,south,east,north OR p:region:city::neighborhood; neighborhood => locationg: -180 <= west < east <= 180; -90 <= south < north <= 90
Examples
curl --get "https://api.apihop.ai/v1/yelp/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=coffee shop" \
--data-urlencode "location=Austin, TX"Yelp: Get place details
GET https://api.apihop.ai/v1/yelp/place
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
id | string | The provider's identifier, as returned by its search results.; id: REQUIRED | halcyon-austin-2 |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
yelp_domain | string | Yelp regional domain.; yelp_domain: optional; yelp.at, yelp.be, yelp.ca, yelp.ch, yelp.cl, yelp.co.jp, yelp.co.nz, yelp.co.uk, yelp.com, yelp.com.ar, yelp.com.au, yelp.com.br, yelp.com.hk, yelp.com.mx, yelp.com.ph, yelp.com.sg, yelp.com.tr, yelp.com.tw, yelp.cz, yelp.de, yelp.dk, yelp.es, yelp.fi, yelp.fr, yelp.ie, yelp.it, yelp.my, yelp.nl, yelp.no, yelp.pl, yelp.pt | yelp.at |
full_menu | boolean | Return the full business menu when available. A missing menu falls back to place details.; full_menu: optional | true |
menu_name | string | Select a native menu slug from the business menu URL; requires full_menu=true.; menu_name: optional; UTF-8 bytes: 128; ^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$ | - |
business_alert | boolean | Include the business operating-status alert when available.; business_alert: optional | true |
Validation rules
Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/id: /^[A-Za-z0-9][A-Za-z0-9_-]{0,255}$/; menu_name => full_menu = true
Examples
curl --get "https://api.apihop.ai/v1/yelp/place" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=halcyon-austin-2"Yelp: Get reviews
GET https://api.apihop.ai/v1/yelp/reviews
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
id | string | The business alias from its Yelp URL, such as halcyon-austin-2.; id: REQUIRED | halcyon-austin-2 |
language | string | Provider-supported language code, such as en.; language: optional | - |
page | integer | One-based page number.; page: optional; min: 1; max: 1000 | 1 |
limit | integer | Maximum number of items to return. The provider may return fewer.; limit: optional; min: 1; max: 100 | 1 |
sort_by | string | The provider's supported sort order.; sort_by: optional; recommended, newest, oldest, highest_rating, lowest_rating, elites | recommended |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: optional | - |
yelp_domain | string | Yelp regional domain.; yelp_domain: optional; yelp.at, yelp.be, yelp.ca, yelp.ch, yelp.cl, yelp.co.jp, yelp.co.nz, yelp.co.uk, yelp.com, yelp.com.ar, yelp.com.au, yelp.com.br, yelp.com.hk, yelp.com.mx, yelp.com.ph, yelp.com.sg, yelp.com.tr, yelp.com.tw, yelp.cz, yelp.de, yelp.dk, yelp.es, yelp.fi, yelp.fr, yelp.ie, yelp.it, yelp.my, yelp.nl, yelp.no, yelp.pl, yelp.pt | yelp.at |
rating | string | Comma-separated review star ratings.; rating: optional; UTF-8 bytes: 9; ^[1-5](,[1-5]){0,4}$ | - |
start | integer | Zero-based offset in recommended reviews.; start: optional; min: 0; max: 100000 | 0 |
not_recommended | boolean | Return reviews that Yelp does not currently recommend.; not_recommended: optional | true |
not_recommended_start | integer | Zero-based offset in not-recommended reviews.; not_recommended_start: optional; min: 0; max: 100000 | 0 |
Validation rules
Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/id: /^[A-Za-z0-9][A-Za-z0-9_-]{0,255}$/; page => NOT start AND NOT not_recommended_startnot_recommended_start => not_recommended = true; not_recommended = true => NOT start; rating: distinct 1..5, comma-separated
Examples
curl --get "https://api.apihop.ai/v1/yelp/reviews" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=halcyon-austin-2"Responses and errors
The native JSON response and numeric precision are preserved. The example below illustrates an empty successful result, not a live call. HTTP 400 means invalid input; 401 authentication required; 402 insufficient credit; 403 unavailable or unauthorized; 405 unsupported method; 429 rate limit; 5xx service or upstream failure. Keep X-Request-Id for diagnosis.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}