Skip to main content
The Yelp Search API allows users to get results from the Yelp search page. This API enables searching for businesses by keyword and location.

Get Your API Key

Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in the x-api-key header.

Request Cost and API Credits

Each request to the Yelp Search API consumes API Credits from your account balance.
  • Cost per request: 5 API Credits
  • Credits are deducted only for successful requests.
  • Your total available credits depend on your active plan.
You can use your credits across all HasData APIs. The same credit balance is shared platform-wide.
Unused credits do not roll over. Any remaining credits expire at the end of the current billing period.
To monitor your credit usage and remaining balance, sign in to your account dashboard at app.hasdata.com.

Make Your First Request

curl --request GET \
  --url 'https://api.hasdata.com/scrape/yelp/search?keyword=McDonald'\''s&location=New%20York%2C%20NY' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>'

API Parameters

ParameterDefault ValueRequiredDescription
keywordMcDonald’sYesThe search term for which to get the search results.
locationNew York, NYYesThe location where to search for businesses with the given keyword.
l-NoParameter defines the distance or map radius for the search results. For example: g:-95.2486,29.8496,-95.4277,29.6324.
domain-NoYelp domain to use. Default is www.yelp.com.
start-NoResult offset for pagination (e.g., 0 for the first page, 10 for the 2nd page, etc.).