How to run a query to google page speed insight API

Google has a REST api for page speed insight.

I have tried the following to run a insight for a url

I think it is on googles end, but there playground works just fine.

Wondering if anyone knows how to get around this.

If I include my API key I get the following error

Quota exceeded for quota metric 'Queries' and limit 'Queries per minute' of service 'pagespeedonline.googleapis.com' for consumer 'project_number:

Which when I look at my quote I have used none.

I will try stackoverflow with this question as well for google answers.

But thought I would ask here as well.

Strange I found out how to set the api Key correctly but it still timesout.

Got it had to change the timeout of the call. Woot