Local and travel

How to search Yelp businesses and pull reviews for a city

Updated · 1ToolRing team

To search Yelp businesses for a city through an API, run one search per category and location, keep sponsored results apart from the rest, then pull reviews for the businesses you keep. With 1ToolRing your agent does this with serpapi/yelp/search and serpapi/yelp/reviews, billed once per successful search from a prepaid balance.

People planning a new location and writers of local guides use Yelp to see who already serves a neighbourhood and what customers say about them. Getting that into a spreadsheet by hand means opening every business page, which stops being practical after a few streets.

A city search comes back in pages, and stitching them together is where most errors start. Sponsored places mixed into the ranking sit above better reviewed ones. A coffee search also returns bars that happen to serve coffee, and a filter set on the first page can drop out when you follow the next page link.

Paste this into your agent

Works in Claude, ChatGPT, Cursor, Codex, n8n and any MCP client. Change the placeholders, keep the row cap.

Set up 1ToolRing from 1toolring.com/install, then use serpapi/yelp/search to find coffee shops in Portland, Oregon. Inspect the price first and stop after 3 result pages. Keep sponsored results in a separate list, drop businesses whose categories do not include coffee, and for the 10 businesses with the most reviews call serpapi/yelp/reviews once each. Return a table with name, categories, rating, review count, neighbourhood and the three most common complaints in their reviews.

First time? Set up takes one command or one connector URL:

set up 1ToolRing - https://1toolring.com/llms.txt

Paste this into your agent's chat (Claude Code, Codex, Cursor, ChatGPT, claude.ai). Your agent sets up 1ToolRing and you sign in.

Tools this workflow uses

Your agent finds these with discover_tools and reads each input schema and price with inspect_tool. Both are free. Only a successful run is charged.

ToolWhat it does herePrice
serpapi/yelp/searchSearches Yelp for businesses in a location and returns them with ratings, one result page per call.$0.020 / callRp353 / call
serpapi/yelp/placeOpens one Yelp business page for hours, amenities and ratings when the search row is not enough.$0.020 / callRp353 / call
serpapi/yelp/reviewsGets customer reviews of one Yelp business, using the business id from the search result.$0.020 / callRp353 / call
serpapi/google/mapsRuns the same category search on Google Maps when you want to see which places Yelp is missing.$0.020 / callRp353 / call

Step by step

  1. Search one category in one place. Start with a single category and a single city or neighbourhood. Ask the agent to run inspect_tool on serpapi/yelp/search first, so it reads the input fields, the sort options and the price. Each successful search is one charge whatever the result count.
  2. Split sponsored and organic results. When the response holds sponsored places, keep them in their own list. They tell you who pays to reach customers in this category, which is a separate question. Mixed into your ranking, they push ahead of businesses with far more reviews.
  3. Check categories before keeping a row. Yelp businesses carry several categories, so a coffee search can return a bar or a taco place that lists coffee among them. Have the agent keep only rows whose categories include the one you meant.
  4. Page with care. Follow the next page until you reach your page cap. If you filtered or sorted on the first page, check that the next page request still carries the same filter, and add it back if it dropped.
  5. Pull reviews for the shortlist. Call serpapi/yelp/reviews for the businesses you keep, using the id from the search row. Open serpapi/yelp/place only when you need hours or amenities, since every business page is its own call.
  6. Repeat for the next city. Once one city looks right, run the same category, sort and page cap for the next one. Save the city and the date with every row so the files can be merged later.

What does a Yelp business search return?

A Yelp business search returns the businesses Yelp lists for a category or term in a location, each with a rating and a review count. The business page adds hours and amenities, and the reviews call adds what customers wrote.

Which Yelp tool should I use for each job?

Each Yelp tool answers one question, and each call is billed on its own.

JobToolCalls it takes
List businesses in a cityserpapi/yelp/searchOne per result page
Hours and amenities for one businessserpapi/yelp/placeOne per business
What customers say about one businessserpapi/yelp/reviewsOne per page of reviews
Compare with Google Maps listingsserpapi/google/mapsOne per search

How many calls does a whole city take?

Count before you loop. One category in one city takes one call per result page, and every business you open or pull reviews for adds a call. Three result pages plus reviews for ten businesses is 13 calls. Multiply by your categories and cities to size the run, then put the cap in the prompt.

Why do sponsored businesses rank above better reviewed ones?

Sponsored places are paid placements, so their position says nothing about rating or review count. When a pipeline joins them to the organic results, a business with a handful of reviews can land above one with hundreds. Keep them in their own column and rank only the organic results.

When is Yelp the wrong source?

Check the result count for your city before you build on Yelp. If the search returns few businesses, a Google Maps search may cover more places; see building a Google Maps business list. Yelp reviews also describe the people who post on Yelp, which is a slice of all customers.

What does it cost?

One category in one city: three result pages, reviews for ten businesses and two business pages for hours.

CallToolCountUSDIDR
Result pages, one cityserpapi/yelp/search3$0.059Rp1.059
Reviews for 10 businessesserpapi/yelp/reviews10$0.195Rp3.530
Business pages for hoursserpapi/yelp/place2$0.039Rp706
Total$0.293Rp5.295

Computed from list prices as of 2026-11-10. A run is held at its maximum and settled to the real cost, and a failed call is not charged. See how pricing works.

Questions

Is there a free Yelp API?
Yelp has its own developer program, with its own terms and limits. Through 1ToolRing there is nothing to sign up for at Yelp: finding and inspecting the Yelp tools is free, and each successful search is charged at the price shown before the run.
Can I get Yelp reviews for one business?
Yes. serpapi/yelp/reviews returns customer reviews of one Yelp business. Your agent takes the business id from the search result and reads the paging and sort inputs with inspect_tool.
Can I search several cities at once?
Run one search per city and category, with the same sort and page cap each time, so the cities can be compared. You can stop the loop early once a city stops giving useful rows.
Why did my coffee search return a bar?
Yelp matches on a business's categories, and many businesses list several. Filter the rows on the category you meant before they reach your list.
Does it return personal details of owners or reviewers?
No. You get business listings, ratings and review text. Owner and reviewer details beyond the public review itself are not part of these results.