Yelp API is not pulling all items it should be pulling

I just got through the Yelp API section with looking at barbers in NYC. I changed the location to Chicago and term to a few different attempts ( food, restaurant, restaurants) and a rating of over 4.0. I know it is not giving me all the restaurants that fit that as I looked up some restaurants in Chicago on yelp that had greater than 4.0 rating but weren’t showing up in the results. Anyone have any idea why?

if looking at the code helps, this is what it looks like coming from the course:

import requests
url = "https://api.yelp.com/v3/businesses/search"
api_key = "(insert code here)"
headers = {
    "Authorization": "Bearer " + api_key
}
params = {
    "term": "restaurant",
    "location": "Chicago"
}
response = requests.get(url, headers= headers, params=params)

businesses = response.json()["businesses"]
names = [business["name"] for business in businesses if business["rating"] > 4.0]
print(names)