I am using the Business Search function in the Yelp Fusion Api.
Why can't I seem to get all of the businesses?
Here is an example:
When I make this request, it returns a the first 20 results and a total property of 485.
https://api.yelp.com/v3/businesses/search?limit=20&term=childcare&location=NY
However, if I add an offset, it doesn't return any results. Even though it should return results 450-470.
https://api.yelp.com/v3/businesses/search?limit=20&term=childcare&location=NY&offset=450
Here is the output after adding the offset:
{
"businesses": [],
"total": 485,
"region": {
"center": {
"longitude": -73.99429321289062,
"latitude": 40.70544486444615
}
}
}