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.txtPaste 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.
| Tool | What it does here | Price |
|---|---|---|
serpapi/yelp/search | Searches Yelp for businesses in a location and returns them with ratings, one result page per call. | $0.020 / callRp353 / call |
serpapi/yelp/place | Opens one Yelp business page for hours, amenities and ratings when the search row is not enough. | $0.020 / callRp353 / call |
serpapi/yelp/reviews | Gets customer reviews of one Yelp business, using the business id from the search result. | $0.020 / callRp353 / call |
serpapi/google/maps | Runs the same category search on Google Maps when you want to see which places Yelp is missing. | $0.020 / callRp353 / call |
Step by step
- Search one category in one place. Start with a single category and a single city or neighbourhood. Ask the agent to run
inspect_toolonserpapi/yelp/searchfirst, so it reads the input fields, the sort options and the price. Each successful search is one charge whatever the result count. - 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.
- 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.
- 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.
- Pull reviews for the shortlist. Call
serpapi/yelp/reviewsfor the businesses you keep, using the id from the search row. Openserpapi/yelp/placeonly when you need hours or amenities, since every business page is its own call. - 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.
| Job | Tool | Calls it takes |
|---|---|---|
| List businesses in a city | serpapi/yelp/search | One per result page |
| Hours and amenities for one business | serpapi/yelp/place | One per business |
| What customers say about one business | serpapi/yelp/reviews | One per page of reviews |
| Compare with Google Maps listings | serpapi/google/maps | One 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.
| Call | Tool | Count | USD | IDR |
|---|---|---|---|---|
| Result pages, one city | serpapi/yelp/search | 3 | $0.059 | Rp1.059 |
| Reviews for 10 businesses | serpapi/yelp/reviews | 10 | $0.195 | Rp3.530 |
| Business pages for hours | serpapi/yelp/place | 2 | $0.039 | Rp706 |
| Total | $0.293 | Rp5.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?
Can I get Yelp reviews for one business?
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.