Yelp Search API

Local businesses.
Ranked like Yelp ranks them.

Search any city or neighbourhood and get each business’s rating, review count, categories, price, address and opening hours as JSON.

Any location Yelp understandsAds kept separate
/v1/yelp/search?location=San+Francisco%2C+CA&query=pizza
{
  "market": "us",
  "query": "pizza",
  "location": "San Francisco, CA",
  "page": 1,
  "page_size": 10,
  "has_next_page": true,
  "next_page": 2,
  "results": [
    {
      "position": 1,
      "id": "75UY4SkdvuhJ-nZTKdVaMw",
      "is_ad": false,
      "name": "Outta Sight Pizza",
      "alias": "outta-sight-pizza-san-francisco",
      "rating": 4.6,
      "review_count": 509
    }
  ]
}

Response shape excerpt · fields appear when Yelp shows them

Built for local search

Every result keeps its context

  • Organic results in Yelp’s order, with Yelp’s own rank where it shows one and sponsored listings in their own list.
  • Rating, review count, price level and category aliases you can filter on.
  • Address, neighbourhood and opening hours, plus where Yelp centred the search.
  • Clear next-page metadata and Yelp’s own filter options for each search.

Not Sure Which Plan Fits Your Needs? Calculate Your Cost and Find the Right Plan.

Estimate your Yelp search requests using the endpoint price and available credit plans.

One request returns one page of up to ten businesses. Empty results and failures are free.

Start with a single request

curl -H "X-API-Key: YOUR_KEY" \
  "https://scrapebadger.com/v1/yelp/search?location=San+Francisco%2C+CA&query=pizza&page=1"

Use the same endpoint through the official SDKs, the CLI and the hosted MCP server. See examples.

Frequently asked questions

Do I need a Yelp API key?

No. Use your ScrapeBadger API key in the X-API-Key header. The API returns the public Yelp search results a visitor sees, without a Yelp account or Places API plan.

How many businesses can one search return?

Ten businesses per page and up to 11 pages (110 businesses) for one search. Follow next_page while has_next_page is true. To reach more businesses, narrow the location, category or filters.

How are ads handled?

Sponsored listings come back in a separate ads list with their own positions, so the organic ranking in results is exactly what Yelp ranks.

Which filters can I use?

Category alias, price levels 1–4, sort by recommended, rating or review count, and refinements such as delivery, takeout and reservations. Every filter is checked as applied by Yelp; one Yelp does not offer for a search returns an error instead of wider results.

Are empty or failed searches charged?

No. Failed requests and searches with no matching businesses cost nothing. Business detail pages and reviews are not part of this API.

Put local search into your workflow.

Try the playground

ScrapeBadger is independent and is not affiliated with, endorsed by, or sponsored by Yelp. Yelp is a trademark of Yelp Inc.