Keep getting status 429 even when using Premium account

import requests, json

headers = {
‘Accept’: ‘application/json; charset=UTF-8’,
‘x-apikey’: ‘’,
}

params = (
(‘type’, ‘Airline’),
(‘max_pages’, ‘1’),
)

url = “https://aeroapi.flightaware.com/aeroapi/airports/JFK/flights/scheduled_arrivals

resp = requests.get(url, headers=headers, params=params)

print("Response: ", resp)
print("URL rep: ", resp.url)
print("TEXT: ", resp.text)

OUTPUT:

Response: <Response [429]>
URL rep: https://aeroapi.flightaware.com/aeroapi/airports/JFK/flights/scheduled_arrivals?type=Airline&max_pages=1
TEXT:
{“title”: “Rate limit error”, “reason”: “RATE_LIMIT_ERROR”, “detail”: “User has reached quota limit”, “status”: 429}

Upgrading to a Premium+ FlightAware Web account will not do anything, and you instead will need to upgrade the AeroAPI tier that you are subscribed at from Personal to something higher in order to overwrite the quota limit.

Thanks for clarifying. Yes, I see now the allowed query limits for the different tiers.