API Hop

Documentation

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
Default limit: 2
GET /v1/yelp/place
Default limit: 2
GET /v1/yelp/reviews
Default limit: 2

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.

http
Authorization: Bearer YOUR_API_KEY

Yelp: Search places

GET https://api.apihop.ai/v1/yelp/search

Request parameters

FieldTypeConstraintsExample
querystringOptional business search text. Omit to browse businesses in the selected area. At most 8,192 UTF-8 bytes.; query: optional; UTF-8 bytes: 8192coffee shop
languagestringProvider-supported language code, such as en.; language: optional-
locationstringLocation 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: optionalAustin, TX
latitudenumberLatitude; requires longitude.; latitude: optional; min: -90; max: 90-90
longitudenumberLongitude; requires latitude.; longitude: optional; min: -180; max: 180-180
pageintegerOne-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: 2001
limitintegerMaximum 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: 1001
sort_bystringOmit this field or use recommended for Yelp's native business lookup order. Rating, review-count, and distance sorting are unsupported.; sort_by: optional; recommendedrecommended
devicestringDevice presentation for the source request.; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanDo not archive source or parsed response artifacts.; zero_trace: optionaltrue
startintegerResult offset within the first 200 businesses. Use this or page; a final page can contain fewer than limit results.; start: optional; min: 0; max: 1990
lstringSource 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-
cfltstringComma-separated native category aliases.; cflt: optional; UTF-8 bytes: 2000-
attrsstringComma-separated native attribute filters, for example GoodForKids,DogsAllowed.; attrs: optional; UTF-8 bytes: 2000-
yelp_domainstringYelp 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.ptyelp.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 supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • latitude => longitude; longitude => latitude
  • location XOR (latitude AND longitude): required; query optional
  • NOT (page AND start); (page - 1) * limit < 200; omitted page = 1, limit = 20; start <= 199
  • l => NOT latitude AND NOT longitude; l = g:west,south,east,north OR p:region:city::neighborhood; neighborhood => location
  • g: -180 <= west < east <= 180; -90 <= south < north <= 90

Examples

bash
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

FieldTypeConstraintsExample
idstringThe provider's identifier, as returned by its search results.; id: REQUIREDhalcyon-austin-2
devicestringDevice presentation for the source request.; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanDo not archive source or parsed response artifacts.; zero_trace: optionaltrue
yelp_domainstringYelp 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.ptyelp.at
full_menubooleanReturn the full business menu when available. A missing menu falls back to place details.; full_menu: optionaltrue
menu_namestringSelect 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_alertbooleanInclude the business operating-status alert when available.; business_alert: optionaltrue

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 supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[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

bash
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

FieldTypeConstraintsExample
idstringThe business alias from its Yelp URL, such as halcyon-austin-2.; id: REQUIREDhalcyon-austin-2
languagestringProvider-supported language code, such as en.; language: optional-
pageintegerOne-based page number.; page: optional; min: 1; max: 10001
limitintegerMaximum number of items to return. The provider may return fewer.; limit: optional; min: 1; max: 1001
sort_bystringThe provider's supported sort order.; sort_by: optional; recommended, newest, oldest, highest_rating, lowest_rating, elitesrecommended
devicestringDevice presentation for the source request.; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanDo not archive source or parsed response artifacts.; zero_trace: optionaltrue
querystringText to search for on the selected service. At most 8,192 UTF-8 bytes.; query: optional-
yelp_domainstringYelp 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.ptyelp.at
ratingstringComma-separated review star ratings.; rating: optional; UTF-8 bytes: 9; ^[1-5](,[1-5]){0,4}$-
startintegerZero-based offset in recommended reviews.; start: optional; min: 0; max: 1000000
not_recommendedbooleanReturn reviews that Yelp does not currently recommend.; not_recommended: optionaltrue
not_recommended_startintegerZero-based offset in not-recommended reviews.; not_recommended_start: optional; min: 0; max: 1000000

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 supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[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_start
  • not_recommended_start => not_recommended = true; not_recommended = true => NOT start; rating: distinct 1..5, comma-separated

Examples

bash
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.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}