Skip to content
OperationsYelp

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

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

1Request
What you would type in Yelp's search box: a kind of business (pizza, dentist, plumber), a dish, or a business's name.
Where to search, as Yelp's location box takes it: a city with its state ("Brooklyn, NY"), a ZIP code (78701), a neighborhood ("Park Slope, Brooklyn, NY"), an address, or a city elsewhere ("Toronto, ON", "London, UK").
The page to start at, 10 businesses a page; next in an answer goes on from it with cursor.
5 credits a call
Code, from the fields above
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
    }
  }'
2Response

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

querystringrequired
What you would type in Yelp's search box: a kind of business (pizza, dentist, plumber), a dish, or a business's name. Yelp always lists businesses near location: a search it cannot match lists others nearby.
locationstringrequired
Where to search, as Yelp's location box takes it: a city with its state ("Brooklyn, NY"), a ZIP code (78701), a neighborhood ("Park Slope, Brooklyn, NY"), an address, or a city elsewhere ("Toronto, ON", "London, UK").
categorystring
Only the businesses of one Yelp category, by its alias, as the page's Category filter does: italian, pizza, coffee, generaldentistry, plumbing. A record's categories say each category's alias.
featuresstring[]
Only the businesses with all these features, by Yelp's names for them, as the page's filters do: RestaurantsDelivery (offers delivery), RestaurantsTakeOut, OnlineReservations, OutdoorSeating, WiFi.free, DogsAllowed, GoodForKids, Open24Hours, BusinessAcceptsApplePay, WheelchairAccessible. A name Yelp does not know is ignored by Yelp.
priceinteger[]
Only these price levels, from 1 ($, inexpensive) to 4 ($$$$, very expensive): [1, 2] for $ and $$.
sort"recommended" | "highest_rated" | "most_reviewed"Default recommended
The order of the list: Yelp's own recommendation (its default), the highest rated first, or the most reviewed first.
map_areaobject
Only the businesses inside this box on the map, as the page's "Search as map moves" and its distances (walking, within 4 blocks) do; location still names the place searched. In degrees: south and north latitudes, west and east longitudes.
pageintegerDefault 1
The page to start at, 10 businesses a page; next in an answer goes on from it with cursor. Yelp lists 240 businesses at most for a search: page 24 is the last.
cursorstring
Where to go on, from next 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).

objectstring
The kind of record: a business on Yelp.
idstring
Yelp's id for the business (22 letters and digits), as yelp/reviews/list takes it.
aliasstring
The business's name in its page's address: yelp.com/biz/.
positioninteger
Its rank in the search's results, across pages and without sponsored results: 11 is the first of page 2. Null for a sponsored result.
sponsoredboolean
Whether it is a sponsored result, an ad bought for the search; a business that advertises and also ranks comes twice, once each way.
ad.placementstring
Where on the page: top (the block above the results) or bottom (below them); Yelp's own name for another place.
ad.slotinteger
Its place in that block, from 1.
ad.campaign_idstring
The advertiser's campaign on Yelp: the same id on every search the campaign appears in.
ad.showcaseboolean
Whether it is a Showcase ad, Yelp's larger ad with an offer.
ad.offer.typestring
special_offer.
ad.offer.titlestring
Two pizzas and a dessert for $21.99.
ad.offer.descriptionstring
ad.offer.photo_urlstring
ad.offer.buttonstring
The offer's button: Order online.
namestring
alternate_nameslist
Other names Yelp knows the business by, in other languages or scripts.
phonestring
E.164. Yelp's search says a sponsored result's phone, not a result's: null for those (the business's page has it).
categorieslist
Yelp's categories for the business, the main one first.
price.displaystring
As the page shows it, in the place's currency symbol: $$, or €€ in Paris.
price.levelinteger
From 1 (inexpensive) to 4 (very expensive), as price takes it.
rating.valuefloat
rating.scalefloat
The best possible value: ratings from other sites compare once divided by it.
rating.countinteger
The reviews Yelp recommends and counts on the business's page.
address.streetstring
The street address: 237 5th Ave. Null for a business that serves an area from no public address.
address.citystring
address.neighborhoodslist
The neighborhoods Yelp files it under: Park Slope.
service_areastring
For a business that comes to its customers (a plumber, a mover): the area it serves, as Yelp names it. Null otherwise.
location.latitudefloat
location.longitudefloat
timezonestring
The business's time zone, its hours' own: America/New_York.
hours.mondaystring
hours.tuesdaystring
hours.wednesdaystring
hours.thursdaystring
hours.fridaystring
hours.saturdaystring
hours.sundaystring
snippet.typestring
Where the excerpt comes from: review.
snippet.textstring
As the page shows it, cut by Yelp (it ends with ...).
snippet.highlightslist
The words of the excerpt Yelp shows in bold, those that matched the search: Delicious pizza.
snippet.review_idstring
The review's id on Yelp, as yelp/reviews/list's records give it.
snippet.urlstring
The review on the business's page.
highlightslist
What the business chose to show about itself under its name: Established in 2009, Consultations available.
tagslist
The features of a filter the business has, as the page notes them under it: Pets allowed.
actionslist
The buttons the page shows with the business: order food through a delivery partner, request a quote.
photo.idstring
photo.urlstring
The photo, 1000 pixels wide.
photo.captionstring
photo.authorstring
Who posted it, as Yelp names them: Carmen H.
photo.keywordslist
What Yelp sees in it: pizza, food.
photo.uploaded_atdate
photoslist
The photos the results list shows with the business.
photos_urlstring
The business's page of photos on Yelp.
portfolio_projectslist
The work a service business shows under its name (a car wrapped, a kitchen redone).
verified_licenseslist
The professional licenses Yelp verified for the business (a contractor, an electrician).
container_business.idstring
container_business.aliasstring
container_business.namestring
yelp_guaranteedboolean
Whether the business is in Yelp Guaranteed, Yelp's guarantee on a service business's work.
ids.business_idstring
Yelp's id for the business, as id.
ids.aliasstring
urlstring
The business's page on Yelp.
source_urlstring
The search's page on Yelp, at this page.
observed_atdate

Errors

Its own, besides those of every call (Errors). A failed call is free.

CodeStatusWhat it means
invalid_input422Pass 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_challenge503Yelp's anti-bot refused the request; retry in a minute (not charged). Retryable.
site_unavailable503Yelp did not answer properly; retry later (not charged). Retryable.
unexpected_answer424Yelp 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
First version: Yelp's search results, 10 a page to 24 pages, each with its rating, categories, price, address, coordinates, this week's hours, a review's excerpt, highlights, order and quote buttons and main photo; filtered by category, features, price and map area, sorted three ways. The sponsored results shown with them come too, with their placement, campaign, offer and phone.