Skip to content
NewIntroducing lobstr.io API v2: Web Data for AI Agents
Yelp API: Search businessesTry it

Yelp API: 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.

5 creditsa callWorks today
Try itDocs
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"
    }
  ]
}

64 fields per business

Every call returns them for each record, in the results of its JSON answer.

Search businesses

64 fields
object
text
The kind of record: a business on Yelp.
business
id
id
Yelp's id for the business (22 letters and digits), as yelp/reviews/list takes it.
Ab3Kd8Zq1Vx6Mb2Ny9Lr4T
alias
text
The business's name in its page's address: yelp.com/biz/<alias>.
acme-pizza-brooklyn
position
number
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.
11
sponsored
yes / no
Whether it is a sponsored result, an ad bought for the search; a business that advertises and also ranks comes twice, once each way.
No

What it costs

Billed by the call: 5 credits, whatever the page holds (up to 10 businesses). Pick how many calls a month.

Every plan

5 credits a call

Calls a month

100

Per 100 calls

$1.00

On Starter, $20 a month for up to 2,000 calls.

Live

Built to run

Every call counts; a day is green at 95% successful.

Successful calls
100.00%
Median call
16.9 s
90 days agoToday
95% or more (SLA)90 to 95%75 to 90%Under 75%

A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.

Frequently asked questions

What people ask before calling yelp/businesses/search.

Search businesses

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

What do I give it?
  • query (required): 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.
  • location (required): 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").
  • category: 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.
  • features: 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.
  • price: Only these price levels, from 1 ($, inexpensive) to 4 ($$$$, very expensive): [1, 2] for $ and $$.
  • sort: The order of the list: Yelp's own recommendation (its default), the highest rated first, or the most reviewed first.
  • map_area: 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.
What does it return?

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. Every record has the same fields, empty ones included: they are all listed above.

How do I get the next page?

Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 10 records at most, up to page 24.

Pricing

What does a call cost?

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.

When is a call free?
  • an empty page (past the end, or nothing found)
  • a call that fails

Errors

What can go wrong?
  • 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, retry): Yelp's anti-bot refused the request; retry in a minute (not charged).
  • site_unavailable (503, retry): Yelp did not answer properly; retry later (not charged).
  • unexpected_answer (424): Yelp answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?

60 seconds at most by default, up to 120 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.

API and agents

Can my AI agent run it?

Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs yelp/businesses/search. Its page for agents, in Markdown: yelp/businesses/search.md.

Where is its full description?

The contract, as JSON: https://api.lobstr.io/v2/catalog/yelp/businesses/search: every option, every field, the price and the errors. This page is drawn from it.

Ready to call it?

An API key in a minute, then the call above, from your code or your agent.