1

I’m trying to get the unique report URL (like https://pagespeed.web.dev/analysis/https-example-com/djlqz3yt2f) for a PageSpeed Insights analysis programmatically using Node.js. I know it's possible to generate this URL by scraping the web interface, but I'd prefer to avoid that approach.

Is there a Node.js package or API that can directly provide the report ID or the URL for an existing PageSpeed Insights report after running an analysis?

I’m already using the PageSpeed Insights API to get performance metrics, but I can’t find a way to retrieve the report ID or unique URL through the API. I've tried many APIs but none seem to return it.

The reason I want this ID is so that other people can look at the link in the future and read the report easily, without having it load again.

Any suggestions or approaches that would help would be appreciated!

1
  • Did you sort this out by any chance? :) Commented Sep 3 at 7:45

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.