Yes, you'll need a PageSpeed Insights API key to use the script. Our setup instructions include information on how to obtain an API key from the Google Cloud Console.