Plugins

Scrape Yelp businesses (search + detail)

Two modes. Search (mode=search): give find_desc (a keyword or category) and find_loc (a city/area) and get the businesses as JSON - name, rating, reviewCount, priceRange, categories, address, neighborhoods, url, businessId, image and isAd. Filter with sort, price (1-4) and open_now, and collect up to max_results across pages. Detail (mode=detail): give a business url and get a rich object - phone, full address, website, hours, attributes, categories, specialties, review highlights, photos and popular dishes.

post/local/yelp

Request

  • Base URL: https://api.scrapeunblocker.com
  • URL: https://api.scrapeunblocker.com/local/yelp
  • Auth: API key in header x-scrapeunblocker-key

Query parameters

modestring

'search' (find businesses) or 'detail' (one business).

find_descstring nullable

Search keyword or category, e.g. 'coffee' or 'plumbers'.

find_locstring nullable

Location to search, e.g. 'San Francisco, CA' or '94109'.

urlstring nullable

Detail mode: a Yelp business URL or /biz alias, e.g. 'https://www.yelp.com/biz/gary-danko-san-francisco'.

sortstring

Search ordering: recommended, rating, review_count, distance.

pricestring nullable

Price filter 1-4 ($ to $$$$); combine like '1,2'.

open_nowboolean

Search: only businesses open now.

max_resultsinteger

Search: how many businesses to collect across pages (10 per page).

startinteger

Search: result offset to start from.

proxy_countrystring nullable

Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE'). Defaults to US.

Response

JSON with a businesses array (search) or a business object (detail).

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.