Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Daily call limits depend on the plan (the Starter trial allows 300 calls per 24 hours, reset at midnight UTC); RateLimit-Remaining and RateLimit-ResetTime headers report what is left. Too many calls per second answer 429 TOO_MANY_REQUESTS_PER_SECOND.
- Businesses with no reviews are not returned by search, phone search or reviews.
- Yelp’s API terms carry display requirements (attribution, linking back to Yelp) for data you show.
Endpoints
Search local businesses
- At most 240 businesses can be reached for one search, however you page with limit and offset.
Get a business’s details
Get a business’s review excerpts
- Needs Enhanced or Premium plan access; other plans cannot call it.
- Returns review excerpts, not full review text.