Use code WELCOME2027 to get 10% off any Scrapingdog planfor 10% off any plan

Yelp Search API: Find Local Businesses as JSON

Turn a Yelp search into structured JSON. Send a keyword and a location to get up to 25 matching businesses with their Yelp IDs, ratings, review counts, price range, categories, address, coordinates, photos and opening hours. Sort by recommended, rating, review count or distance.

GET GET / yelp/search 200 OK
{
  "search_metadata": {
    "status": "Success",
    "yelp_url": "https://www.yelp.com/search?find_desc=burger&find_loc=San+Francisco%2C+CA&sortby=recommended&start=0",
    "total_time_taken": 1.67
  },
  "search_parameters": {
    "engine": "yelp",
    "find_desc": "burger",
    "find_loc": "San Francisco, CA",
    "sortby": "recommended",
    "start": 0,
    "limit": 10
  },
  "search_information": {
    "total_results": 25,
    "results_returned": 10,
    "max_results": 25,
    "total_results_is_capped": true
  },
  "total_time_taken": 1.67,
  "organic_results": [
    {
      "position": 1,
      "id": "YwhwhVHDOgci8uyZMcsy8A",
      "alias": "maillards-smash-burgers-san-francisco",
      "url": "https://www.yelp.com/biz/maillards-smash-burgers-san-francisco",
      "name": "Maillards Smash Burgers",
      "rating": 4.4,
      "review_count": 185,
      "price_range": null,
      "categories": [
        "Pop-Up Restaurants",
        "Burgers"
      ],
      "category_details": [
        {
          "id": "z_KDcqeOSOizpRRiZmcHbQ",
          "title": "Pop-Up Restaurants",
          "alias": "popuprestaurants"
        },
        {
          "id": "xOZxI8RVdhwaBXKj8p5xjA",
          "title": "Burgers",
          "alias": "burgers"
        }
      ],
      "alternate_names": [],
      "address": {
        "line1": "1994 37th Ave",
        "line2": null,
        "line3": null,
        "city": "San Francisco",
        "state": null,
        "postal_code": null,
        "country": null,
        "formatted": null
      },
      "neighborhoods": [
        "Outer Sunset"
      ],
      "coordinates": {
        "latitude": 37.75241515,
        "longitude": -122.4954512
      },
      "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/vv6QHTot6AFfaEjB-cEkvg/ls.jpg",
      "photo_id": "vv6QHTot6AFfaEjB-cEkvg",
      "thumbnail": "https://s3-media0.fl.yelpcdn.com/bphoto/vv6QHTot6AFfaEjB-cEkvg/90s.jpg",
      "hours": [
        {
          "day": "Monday",
          "hours": [],
          "intervals": [],
          "is_closed": true
        },
        {
          "day": "Tuesday",
          "hours": [],
          "intervals": [],
          "is_closed": true
        },
        {
          "day": "Wednesday",
          "hours": [
            "4:00 PM - 10:00 PM"
          ],
          "intervals": [
            {
              "open": "4:00 PM",
              "close": "10:00 PM",
              "duration_minutes": 360,
              "closes_next_day": false,
              "is_24_hours": false
            }
          ],
          "is_closed": false
        },
        {
          "day": "Thursday",
          "hours": [
            "4:00 PM - 10:00 PM"
          ],
          "intervals": [
            {
              "open": "4:00 PM",
              "close": "10:00 PM",
              "duration_minutes": 360,
              "closes_next_day": false,
              "is_24_hours": false
            }
          ],
          "is_closed": false
        },
        {
          "day": "Friday",
          "hours": [
            "4:00 PM - 11:00 PM"
          ],
          "intervals": [
            {
              "open": "4:00 PM",
              "close": "11:00 PM",
              "duration_minutes": 420,
              "closes_next_day": false,
              "is_24_hours": false
            }
          ],
          "is_closed": false
        },
        {
          "day": "Saturday",
          "hours": [
            "12:00 PM - 11:00 PM"
          ],
          "intervals": [
            {
              "open": "12:00 PM",
              "close": "11:00 PM",
              "duration_minutes": 660,
              "closes_next_day": false,
              "is_24_hours": false
            }
          ],
          "is_closed": false
        },
        {
          "day": "Sunday",
          "hours": [
            "12:00 PM - 9:00 PM"
          ],
          "intervals": [
            {
              "open": "12:00 PM",
              "close": "9:00 PM",
              "duration_minutes": 540,
              "closes_next_day": false,
              "is_24_hours": false
            }
          ],
          "is_closed": false
        }
      ],
      "timezone": "America/Los_Angeles",
      "service_area": {
        "eligible": false,
        "primary_location": null
      },
      "container_business": null,
      "active_alert": null,
      "verified_licenses": [],
      "yelp_guaranteed": false
    }
  ],
  "pagination": {
    "start": 0,
    "count": 10,
    "total": 25,
    "has_more": true,
    "next_start": 10,
    "next_page_token": "eyJ3ZGkiOiIyfDczMTg3NkU3NDQ3MUE2ODN8MHgxLmFjNDUwMTVmYWJlNHArMzB8YTU5MjlhNTYzNDQzY2YyMCIsInN0YXJ0IjoxMH0="
  },
  "warnings": []
}

How It Works Behind the API

</> GET cURL
curl "https://api.scrapingdog.com/yelp/search?api_key=APIKEY&find_desc=burger&find_loc=San+Francisco%2C+CA"
live api response
{
  "search_metadata": { … },
  "search_parameters": { … },
  "search_information": { … },
  "total_time_taken": 1.67,
  "organic_results": [
    {
      "position": 1,
      "id": "YwhwhVHDOgci8uyZMcsy8A",
      "alias": "…"
    }, …
  ],
  "pagination": { … },
  "warnings": [ … ]
}

Yelp Search API Response (Structured JSON Data)

Try Scrapingdog for Free

Business Identity

positionidaliasurlnamealternate_names

Ratings & Price

ratingreview_countprice_range

Categories

categoriescategory_detailstitlealias

Address & Location

addressneighborhoodscoordinatestimezoneservice_area

Photos & Opening Hours

photothumbnailhoursintervalsis_closed

Search Context & Pagination

search_metadatasearch_parameterssearch_informationpaginationnext_page_token

Yelp Search API Features for Local Business Data

Keyword & Location Search

Send find_desc (what you are looking for) and find_loc (where), the same two boxes as on yelp.com. You can also pass a Yelp search URL that carries those values.

Four Sort Orders

Use sortby to order results by recommended (the default), rating, review_count or distance, just like the sort menu on Yelp.

Up to 25 Businesses per Query

Choose a page size from 1 to 25 with limit (default 10). Yelp returns at most 25 businesses for a search, and search_information says when the total is capped.

Simple Pagination

Read the next page with pagination.next_page_token, or pass start (0 to 24). has_more tells you when the result set is complete.

Opening Hours Included

Every result carries its weekly hours, with open and close times, durations and overnight flags, so you know when a place is open without a second call.

5 Credits per Successful Search

Each successful request costs 5 credits. Failed and timed-out requests are never charged.

What You Can Build with the Yelp Search API

Local Lead Lists

Build lists of businesses by keyword and city, with addresses, coordinates, categories and their Yelp links.

Market Mapping

Plot the businesses in a category on a map using their coordinates and neighborhoods to find gaps and clusters.

Local Rank Tracking

Record where a business ranks for a keyword in a city, and how that changes over time or between sort orders.

Rating Benchmarks

Compare ratings, review counts and price ranges of competing businesses across neighborhoods and cities.

Local Discovery Apps

Fill directories and local apps with names, categories, photos and opening hours straight from Yelp search.

Search-to-Detail Pipelines

Pass each result’s alias to the Yelp Place API to add reviews, amenities, popular dishes and photos.

Built for Teams of Every Size and Background

Local SEO AgenciesSales & Lead Gen TeamsRestaurant GroupsFranchise OperatorsMarket AnalystsLocal Discovery AppsData EngineersDevelopers

Get Started with the Yelp Search API in Minutes

  1. 1

    Create Your Account

    Sign up for Scrapingdog to start testing Yelp search.

  2. 2

    Get Your API Key

    Copy your API key from the dashboard and pass it as api_key.

  3. 3

    Send a Keyword & Location

    Call /yelp/search with find_desc and find_loc. Optionally set sortby and limit.

  4. 4

    Read the Results

    Loop over organic_results, and follow pagination.next_page_token while has_more is true.

Transparent & Simple Pricing

Start your web scraping journey with 100 free credits. Test our service and upgrade to one of the plans below. Cancel anytime.

FREE

$0forever
  • 100 Requests Credits
  • 1 Concurrency
  • Access To All APIs
  • No Credit Card Required
  • Community Support
  • Team Support
Start for Free

LITE

$40/month
  • 200,000 Requests Credits
  • 5 Concurrency
  • Access To All APIs
  • Geotargeting
  • Email Support
  • No Team Support
Start Trial

STANDARD

$90/month
  • 1,000,000 Requests Credits
  • 50 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • No Team Support
Start Trial
Popular

PRO

$200/month
  • 3,000,000 Requests Credits
  • 100 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

PREMIUM

$350/month
  • 6,000,000 Requests Credits
  • 150 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

BUSINESS

$500/month
  • 9,000,000 Requests Credits
  • 200 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

BUSINESS PLUS

$1,000/month
  • 19,000,000 Requests Credits
  • 250 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

BUSINESS PRO

$1,500/month
  • 29,000,000 Requests Credits
  • 300 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

CORPORATE

$2,000/month
  • 42,000,000 Requests Credits
  • 350 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

CORPORATE PLUS

$2,500/month
  • 55,000,000 Requests Credits
  • 400 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

CORPORATE PRO

$3,000/month
  • 65,000,000 Requests Credits
  • 450 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

ENTERPRISE STARTER

$4,000/month
  • 90,000,000 Requests Credits
  • 500 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

ENTERPRISE PLUS

$5,000/month
  • 120,000,000 Requests Credits
  • 600 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

ENTERPRISE PRO

$6,000/month
  • 150,000,000 Requests Credits
  • 650 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

GLOBAL STARTER

$7,000/month
  • 185,000,000 Requests Credits
  • 700 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

GLOBAL PLUS

$8,000/month
  • 220,000,000 Requests Credits
  • 800 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

GLOBAL PRO

$9,000/month
  • 255,000,000 Requests Credits
  • 850 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

GLOBAL ELITE

$10,000/month
  • 295,000,000 Requests Credits
  • 900 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

ULTRA STARTER

$12,000/month
  • 360,000,000 Requests Credits
  • 1,000 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

ULTRA PLUS

$14,000/month
  • 430,000,000 Requests Credits
  • 1,200 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

ULTRA PRO

$16,000/month
  • 500,000,000 Requests Credits
  • 1,300 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

TITAN STARTER

$18,000/month
  • 580,000,000 Requests Credits
  • 1,400 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

TITAN PLUS

$20,000/month
  • 660,000,000 Requests Credits
  • 1,500 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

TITAN PRO

$22,000/month
  • 740,000,000 Requests Credits
  • 1,700 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

TITAN ELITE

$24,000/month
  • 830,000,000 Requests Credits
  • 1,800 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

NOVA STARTER

$26,000/month
  • 920,000,000 Requests Credits
  • 1,900 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

NOVA PLUS

$28,000/month
  • 1,010,000,000 Requests Credits
  • 2,000 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

NOVA PRO

$30,000/month
  • 1,100,000,000 Requests Credits
  • 2,200 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial
$0$30,000

Frequently Asked Questions

What is the Yelp Search API?

The Yelp Search API returns the businesses Yelp shows for a keyword and location as structured JSON. Each result can include its Yelp ID and alias, name, rating, review count, price range, categories, address, neighborhoods, coordinates, photo and weekly opening hours.

Which parameters are required?

Send api_key, find_desc and find_loc to https://api.scrapingdog.com/yelp/search using GET. Optional parameters are sortby, limit, start and next_page_token. Instead of find_desc and find_loc you can send a Yelp search url that contains them.

How many businesses can I get for one search?

Yelp returns at most 25 businesses for a search. Set limit from 1 to 25 (default 10) to choose the page size, then follow pagination.next_page_token, or pass start, until has_more is false. Use either start or next_page_token in a request, not both.

How do I sort the results?

Set sortby to recommended (the default), rating, review_count or distance.

How do I get reviews and full details for a business?

Pass a result’s alias as place_id to the Yelp Place API. It returns the business’s top 10 reviews, star breakdown, phone, website, hours, amenities, popular dishes and photos.

Can I filter by category or search other Yelp country sites?

Not at the moment. The search runs on yelp.com, and category (cflt), attribute (attrs) and map-area (l) filters are not supported; requests that send them get a 400 error. Put the category in find_desc instead, for example vegan pizza.

Does every result include every field?

No. Fields Yelp does not have for a business come back as null or empty, like price_range in the example on this page. The example shows the first of 10 results; its totals and pagination are those of the full response.

How much does a Yelp search cost?

Each successful request costs 5 credits. Failed and timed-out requests are never charged.

Try Scrapingdog for Free!

Get 100 free credits to spin the API. No credit card required!

Start Your Free TrialRead Documentation