Search businesses
One page of the businesses Yelp lists for a search, 10 at most, and the sponsored ones it shows with them: each business with its Yelp rating, categories, price, address, coordinates, this week's hours and a review's excerpt.
yelp/businesses/search5 credits a callv1.0.0When to use it
You need the businesses Yelp lists for a search, as its results page shows them: what you would type in Yelp's search box (query: pizza, dentist, plumber, a business's name) and where (location: a city, a ZIP code, a neighborhood, an address). Each comes with its Yelp rating out of 5 and review count, categories, price level, street and neighborhood, coordinates, this week's opening hours, the excerpt of a review that matched the search, the highlights the business chose, its order or quote buttons, and its main photo. Narrow the list as Yelp's page does: a category (category), features (features: offers delivery, outdoor seating, free Wi-Fi), price levels (price), a box on the map (map_area); sort it by Yelp's recommendation, rating or review count. Follow next for the following page: Yelp lists 240 businesses at most for a search, 24 pages. The sponsored results Yelp shows with them (above the list and below it) come too, in the page's order, marked sponsored: where each was shown, the advertiser's campaign, the offer it promotes and its phone, to see who advertises on a search. For a business's reviews, use yelp/reviews/list with its url or id.
Try it
The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "yelp", "operation": "businesses/search", "options": { "query": "pizza", "location": "Brooklyn, NY", "page": 2 } }'
An example answer. Run it on your own input.
{ "object": "run", "id": "run_7dh7ekqu7ttge5ln2r6lot6dqa", "livemode": true, "source": "yelp", "operation": "businesses/search", "version": "1.0.0", "schema_url": "https://api.lobstr.io/v2/catalog/yelp/businesses/search", "options": { "query": "pizza", "location": "Brooklyn, NY", "page": 2 }, "fields": null, "status": "succeeded", "count": 2, "has_more": false, "next": null, "cost": { "credits": 5 }, "results": [ { "object": "business", "id": "Ab3Kd8Zq1Vx6Mb2Ny9Lr4T", "alias": "acme-pizza-brooklyn", "position": 11, "sponsored": false, "ad": null, "name": "Acme Pizza", "alternate_names": [], "phone": null, "categories": [ { "alias": "pizza", "title": "Pizza", "root": "restaurants" } ], "price": { "display": "$$", "level": 2 }, "rating": { "value": 4.3, "scale": 5, "count": 117 }, "address": { "street": "100 5th Ave", "city": "Brooklyn", "neighborhoods": [ "Park Slope" ] }, "service_area": null, "location": { "latitude": 40.6752, "longitude": -73.981 }, "timezone": "America/New_York", "hours": { "monday": [ { "open": "11:30", "close": "21:00" } ], "tuesday": [ { "open": "11:30", "close": "21:00" } ], "wednesday": [ { "open": "11:30", "close": "21:00" } ], "thursday": [ { "open": "11:30", "close": "21:00" } ], "friday": [ { "open": "11:30", "close": "23:00" } ], "saturday": [ { "open": "12:00", "close": "01:00" } ], "sunday": [] }, "snippet": { "type": "review", "text": "Great neighborhood spot with a modern twist. Delicious pizza and a great selection of...", "highlights": [ "Delicious pizza" ], "review_id": "Rv7Qm2Lx9Kp4Tz1Wn8Hc5A", "url": "https://www.yelp.com/biz/acme-pizza-brooklyn?hrid=Rv7Qm2Lx9Kp4Tz1Wn8Hc5A" }, "highlights": [ { "id": "ESTABLISHED_IN", "title": "Established in 2009" } ], "tags": [], "actions": [ { "type": "order", "label": "Start Order", "partner": "DoorDash", "url": "https://www.doordash.com/store/00000000?src=yp", "note": null } ], "photo": { "id": "Ph3Kd8Zq1Vx6Mb2Ny9Lr4T", "url": "https://s3-media0.fl.yelpcdn.com/bphoto/Ph3Kd8Zq1Vx6Mb2Ny9Lr4T/1000s.jpg", "caption": "Margherita and pepperoni slices", "author": "Jane D.", "keywords": [ "pizza", "food" ], "uploaded_at": "2025-02-27T10:10:46Z" }, "photos": [ "https://s3-media0.fl.yelpcdn.com/bphoto/Ph3Kd8Zq1Vx6Mb2Ny9Lr4T/ls.jpg" ], "photos_url": "https://www.yelp.com/biz_photos/Ab3Kd8Zq1Vx6Mb2Ny9Lr4T", "portfolio_projects": [], "verified_licenses": [], "container_business": null, "yelp_guaranteed": false, "ids": { "business_id": "Ab3Kd8Zq1Vx6Mb2Ny9Lr4T", "alias": "acme-pizza-brooklyn" }, "url": "https://www.yelp.com/biz/acme-pizza-brooklyn", "source_url": "https://www.yelp.com/search?find_desc=pizza&find_loc=Brooklyn%2C+NY&start=10", "observed_at": "2026-12-06T10:00:00Z" }, { "object": "business", "id": "Zx9Lr4TAb3Kd8Zq1Vx6Mb2", "alias": "example-slice-house-brooklyn", "position": null, "sponsored": true, "ad": { "placement": "top", "slot": 1, "campaign_id": "Cm4Pq7Rs2Tu9Vw1Xy5Za3", "showcase": false, "offer": null }, "name": "Example Slice House", "alternate_names": [], "phone": "+17185550142", "categories": [ { "alias": "pizza", "title": "Pizza", "root": "restaurants" } ], "price": { "display": "$", "level": 1 }, "rating": { "value": 3.9, "scale": 5, "count": 33 }, "address": { "street": "200 3rd Ave", "city": "Brooklyn", "neighborhoods": [ "Gowanus" ] }, "service_area": null, "location": { "latitude": 40.6781, "longitude": -73.9862 }, "timezone": "America/New_York", "hours": { "monday": [ { "open": "11:00", "close": "24:00" } ], "tuesday": [ { "open": "11:00", "close": "24:00" } ], "wednesday": [ { "open": "11:00", "close": "24:00" } ], "thursday": [ { "open": "11:00", "close": "24:00" } ], "friday": [ { "open": "11:00", "close": "02:00" } ], "saturday": [ { "open": "11:00", "close": "02:00" } ], "sunday": [ { "open": "11:00", "close": "24:00" } ] }, "snippet": null, "highlights": [], "tags": [], "actions": [], "photo": null, "photos": [ "https://s3-media0.fl.yelpcdn.com/bphoto/Qw2Er5Ty8Ui1Op4As7Df0G/ls.jpg" ], "photos_url": "https://www.yelp.com/biz_photos/Zx9Lr4TAb3Kd8Zq1Vx6Mb2", "portfolio_projects": [], "verified_licenses": [], "container_business": null, "yelp_guaranteed": false, "ids": { "business_id": "Zx9Lr4TAb3Kd8Zq1Vx6Mb2", "alias": "example-slice-house-brooklyn" }, "url": "https://www.yelp.com/biz/example-slice-house-brooklyn", "source_url": "https://www.yelp.com/search?find_desc=pizza&find_loc=Brooklyn%2C+NY&start=10", "observed_at": "2026-12-06T10:00:00Z" } ] }
Options
querystringrequiredlocation: a search it cannot match lists others nearby.locationstringrequiredcategorystringcategories say each category's alias.featuresstring[]priceinteger[]sort"recommended" | "highest_rated" | "most_reviewed"Default recommendedmap_areaobjectlocation still names the place searched. In degrees: south and north latitudes, west and east longitudes.pageintegerDefault 1next in an answer goes on from it with cursor. Yelp lists 240 businesses at most for a search: page 24 is the last.cursorstringnext in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor). Leave it out to start at page.Record
Each record of results, in the envelope every call returns (Run an operation).
objectstringidstringaliasstringpositionintegersponsoredbooleanad.placementstringad.slotintegerad.campaign_idstringad.showcasebooleanad.offer.typestringad.offer.titlestringad.offer.descriptionstringad.offer.photo_urlstringad.offer.buttonstringnamestringalternate_nameslistphonestringcategorieslistprice.displaystringprice.levelintegerprice takes it.rating.valuefloatrating.scalefloatrating.countintegeraddress.streetstringaddress.citystringaddress.neighborhoodslistservice_areastringlocation.latitudefloatlocation.longitudefloattimezonestringhours.mondaystringhours.tuesdaystringhours.wednesdaystringhours.thursdaystringhours.fridaystringhours.saturdaystringhours.sundaystringsnippet.typestringsnippet.textstringsnippet.highlightslistsnippet.review_idstringsnippet.urlstringhighlightslisttagslistactionslistphoto.idstringphoto.urlstringphoto.captionstringphoto.authorstringphoto.keywordslistphoto.uploaded_atdatephotoslistphotos_urlstringportfolio_projectslistverified_licenseslistcontainer_business.idstringcontainer_business.aliasstringcontainer_business.namestringyelp_guaranteedbooleanids.business_idstringid.ids.aliasstringurlstringsource_urlstringobserved_atdateErrors
Its own, besides those of every call (Errors). A failed call is free.
| Code | Status | What it means |
|---|---|---|
invalid_input | 422 | Pass a query and a location, and filters as Yelp's page offers them: a category's alias, Yelp's feature names, price levels from 1 to 4, a map box with south below north and west left of east, a page from 1 to 24. |
site_challenge | 503 | Yelp's anti-bot refused the request; retry in a minute (not charged). Retryable. |
site_unavailable | 503 | Yelp did not answer properly; retry later (not charged). Retryable. |
unexpected_answer | 424 | Yelp answered in a shape we do not read yet; we are told and fix it (not charged). |
Price
5 credits per call that returns businesses: a page of up to 10, with the sponsored results shown on it. An empty answer and a failed call are free. What a credit costs on each plan: Credits and pricing.
Changelog
1.0.02026-12-06