yelpdata

v0.1.0
io.github.CloudCorpRecords/yelpdata Checked 1 day ago Published 23 days ago

Yelp business data as JSON: search by keyword and location, place details, and the review feed.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hasdata_yelp_place_getPlaceDetails yelp_place: GET /

Get Yelp Place Details Fetches a single Yelp business by Yelp ID or alias with domain targeting. Returns name, address, phone, website, price range, categories, overall rating, review count, hours, amenities, photos, and highlighted reviews. Use to enrich leads or listings with verified Yelp metadata, monitor a competitor's rating and review count over time, or validate hours/amenities before displaying venue details to end users.

ParameterTypeDescription
placeId *stringThe Yelp ID or Yelp Alias of the place. For example, 'jPIZ3FR5LNcwPuUHi2Fe4g' or 'mcdonalds-new-york-386'.
domainstringYelp domain to use. Default is `www.yelp.com`.

hasdata_yelp_reviews_getPlaceReviews yelp_reviews: GET /

Get Yelp Place Reviews Fetches the review feed of a single Yelp business by Yelp ID, with sorting (relevance, date, rating, elites), filtering by star rating, language and free-text query, and cursor pagination. To page, either step `start` by `num`, or resend the `pagination.nextPageToken` of the previous response as the `nextPageToken` parameter, keeping the other filters unchanged, until `pagination.hasNextPage` is false. The response reports the page it returned as `pagination.start` and `pagination.num`, matching the parameter names. Each review returns the author profile (name, location…

ParameterTypeDescription
placeId *stringThe Yelp ID of the place. For example, '-4ofMtrD7pSpZIX5pnDkig'. Yelp IDs can be obtained from the Yelp Search Scraper API.
domainstringYelp domain to use. Default is `www.yelp.com`.
languageCodestringLanguage of the reviews to return, as a two-letter code (e.g., 'en', 'es', 'fr'). Defaults to en.
nextPageTokenstringOpaque cursor for the next page, taken verbatim from `pagination.nextPageToken` of the previous response. It carries both the offset and the page size, so passing it alone continues the feed where the…
notRecommendedbooleanReturns the reviews Yelp does not currently recommend (filtered out of the main feed by its recommendation software) instead of the recommended ones. These reviews carry no photos, videos or reactions…
numnumberNumber of reviews to return per page. The maximum is 49. Defaults to 49 for the recommended feed and to 10 when `notRecommended` is set. The response echoes it back as `pagination.num`.
querystringNote: Yelp ignores the `rating` filter while searching, so a query returns matching reviews of every star rating. Free-text query to search within the reviews of the place.
ratingstringNote: Yelp ignores this filter when `query` is set, so a search returns matching reviews of every star rating. Filters the reviews by star rating. Possible values are 5, 4, 3, 2 and 1. To return only…
sortBystringThe order in which the reviews are returned. Defaults to relevanceDesc.
startnumberResult offset for pagination. It skips the given number of reviews, so the step matches `num` (e.g., 0, 49, 98 for the recommended feed, or 0, 10, 20 when `notRecommended` is set). The response echoes…

hasdata_yelp_search_getSearchResults yelp_search: GET /

Get Yelp Search Results Runs a Yelp business search by keyword and location with optional map-bounded radius via the `l` parameter (g:lon1,lat1,lon2,lat2), domain targeting, and offset-based pagination. Returns a ranked list of businesses with Yelp alias/ID, name, categories, rating, review count, price tier, and thumbnail. Use the returned aliases as input to the Yelp Place endpoint for full details, to power local-discovery UIs, or to build market-share/competitor datasets for a niche in a given geography.

ParameterTypeDescription
keyword *stringThe search term for which to get the search results.
location *stringThe location where to search for businesses with the given keyword.
domainstringYelp domain to use. Default is `www.yelp.com`.
lstringParameter defines the distance or map radius for the search results. For example: `g:-95.2486,29.8496,-95.4277,29.6324`.
startnumberResult offset for pagination (e.g., 0 for the first page, 10 for the 2nd page, etc.).