Yelp / yelp-fusion

Yelp Fusion API
https://yelp.com/developers
MIT License
401 stars 394 forks source link

Searching for businesses without a price range #678

Open tableaukun opened 1 year ago

tableaukun commented 1 year ago

Overview

Description

Some businesses do not have a price range. There doesn't seem to be a way to search for these businesses without excluding the price parameter and getting lucky with sorting. In both Fusion and GraphQL, you can pass a price parameter (e.g. 1,2,3,4), but there is no way to specify searching for businesses that do not have this information.

Endpoint

Fusion Search API and GraphQL

stewseo commented 1 year ago

Specify location and category. http://api.yelp.com/v3/businesses/search?location=brooklyn&limit=50&term=restaurants&categories=delis

Specify latitude, longitude, radius and sort_by. http://api.yelp.com/v3/businesses/search?longitude=-73.9874&latitude=40.7222&radius=3200&limit=50&term=restaurants&categories=delis&sort_by=review_count