Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing

GET STARTED

API DirectoryBrowse 10,000+ APIs ready for AI agent integrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI readiness using our scorecardArazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
All ResourcesEverything in one placeBlogLatest articles and insightsTech Talk NewsletterAPIs, AI agents, architecture and strategyWebinarsLive sessions and on-demand recordingsReports & WhitepapersOriginal research on enterprise AI
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
All ResourcesBlogTech Talk NewsletterWebinarsReports & Whitepapers
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Analytics / Google / PageSpeed Insights API
PageSpeed Insights API logo

Google PageSpeed Insights API

Browse all Google APIs
45
AI ReadinessFoundational (D)45/100
See full scorecard
Official vendor OpenAPI document · agent-readyAnalyticsWeb Analyticsoauth21 EndpointsREST

For Agents

Run a Lighthouse-based performance audit on any public URL and read back Core Web Vitals, lab metrics, and optimisation suggestions.

Use for: Audit the homepage performance for mobile users, Get the Largest Contentful Paint for a checkout page, Compare desktop and mobile PageSpeed scores for a URL, Find accessibility issues on a marketing landing page

Not supported: Does not run real-user monitoring, audit authenticated flows, or fix performance issues - use for synthetic Lighthouse audits of public URLs only.

The PageSpeed Insights API runs Lighthouse against any public URL and returns a structured performance report including Core Web Vitals, lab metrics, and optimisation suggestions. It exposes a single runPagespeed endpoint that accepts a URL plus options for strategy (mobile or desktop) and the categories to score (performance, accessibility, best-practices, SEO, PWA). Use it to integrate web performance budgets into CI, build dashboards that track real-user metrics over time, or pull suggestions to feed engineering backlogs. The spec exposes 1 endpoint.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the PageSpeed Insights API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the PageSpeed Insights API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Fpagespeedonline" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Fpagespeedonline" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with PageSpeed Insights API.

Run a mobile or desktop Lighthouse audit against any public URL

Read Core Web Vitals (LCP, INP, CLS) along with lab and field metrics

Pull category scores for performance, accessibility, best-practices, SEO, and PWA

Surface specific audit failures with their affected DOM nodes and savings estimates

Capture screenshot timelines and resource summaries for a tested page

Use Cases

Patterns agents use PageSpeed Insights API for, with concrete tasks.

★ Performance budgets in CI

Run PageSpeed Insights against staging URLs after every deploy and fail the build if the performance score drops below a budget or if a Core Web Vital regresses. The single runPagespeed endpoint returns enough structured data - category scores plus per-audit results - to assert specific thresholds. Pairs naturally with PRs that compare current vs main scores.

Call GET /pagespeedonline/v5/runPagespeed with url=https://staging.example.com and strategy=MOBILE, parse the performance score, and fail the build if it is below 0.85.

Field metrics dashboards

Aggregate Core Web Vitals from PageSpeed Insights - including the CrUX field data - into a dashboard that tracks LCP, INP, and CLS for a portfolio of URLs over time. The structured response makes it cheap to extract metrics on a daily cron without scraping the public PSI page. Useful for content sites, e-commerce, and marketing teams reporting on page experience.

For every URL in homepages.json, call runPagespeed with strategy=MOBILE, extract loadingExperience metrics, and append them to a BigQuery table for trend reporting.

Optimisation suggestion feed for engineering

Pull the audits array from a PageSpeed Insights response to surface actionable recommendations - image format conversion, unused JavaScript, render-blocking resources - and turn them into engineering tickets. Each audit comes with details on the offending elements, byte savings estimates, and links to documentation.

Call runPagespeed for the URL https://example.com/products, extract any audit with score below 0.5 and weighted savings above 100ms, and create a Jira ticket for each.

Agent-driven page health checks via Jentic

A site-reliability agent reacting to a slow-page complaint can use Jentic to call PageSpeed Insights and reply with a precise breakdown of what regressed. Credentials stay in your Jentic One instance, so the agent runs under a scoped key with audit trail. Useful for support bots that need to triage performance complaints automatically.

Use Jentic to find the run-pagespeed operation, load its schema, and execute it for the complained-about URL with strategy=MOBILE, then reply with LCP, INP, and CLS values.

Key Endpoints

1 endpoints — the pagespeed insights api runs lighthouse against any public url and returns a structured performance report including core web vitals, lab metrics, and optimisation suggestions.

METHOD

PATH

DESCRIPTION

GET

/pagespeedonline/v5/runPagespeed

Run a Lighthouse audit against a URL

GET

/pagespeedonline/v5/runPagespeed

Run a Lighthouse audit against a URL

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

P

PageSpeed Insights API

- Foundational (D)
45/100
72
Foundational Compliance
56
Developer Experience & Jentic Compatibility
22
AI-Readiness & Agent Experience
94
Agent Usability
63
Security
63
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
72

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A-Signals: 4
87%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

0%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

100%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

56

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: CSignals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

25%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

22

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: FSignals: 4
86%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

0%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

0%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

63

Security

Trust, risk posture, and security compliance.

Grade: B-Signals: 1
62%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

63

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: B-Signals: 1
62%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the PageSpeed Insights API by hand means handling Google OAuth 2.0 or an API key, minting scoped tokens, and assembling the runPagespeed query against pagespeedonline.googleapis.com yourself. Through Jentic you install once, import the PageSpeed Insights API from the API Directory, store the OAuth credential once, and your agent calls it.

Permission scoping

The PageSpeed Insights API exposes a single read endpoint (/pagespeedonline/v5/runPagespeed), so limit the agent to the operation it needs: running a synthetic Lighthouse audit of a public URL. That read is the only operation in the allowed set, so the agent cannot change anything on your account.

Credential isolation

Your PageSpeed Insights credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'audit a page's performance', and Jentic returns the runPagespeed operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

Search Console API

→

Search Console reports indexing and Core Web Vitals trends in the wider site context

Use Search Console when the agent needs aggregate trends across a site; use PageSpeed Insights when it needs an on-demand, per-URL audit.

Complementary

Google Analytics Data API

→

Analytics Data exposes real-user behaviour metrics that complement Lighthouse audits

Use Analytics Data when the agent needs traffic and engagement metrics; use PageSpeed Insights when it needs synthetic performance scoring.

Alternative

Web Risk API

→

Web Risk checks URL safety; PageSpeed Insights checks performance and quality

Use Web Risk when the question is whether a URL is malicious; use PageSpeed Insights when the question is whether a URL is fast and accessible.

FAQs

Specific to using PageSpeed Insights API through Jentic.

What authentication does the PageSpeed Insights API use?

The API supports anonymous use with a basic quota and Google OAuth 2.0 / API key for higher quotas. Through Jentic, the API key is stored encrypted in your Jentic One instance and attached to each request, so agents never see the raw key.

Can I get Core Web Vitals from this API?

Yes. The runPagespeed response includes a loadingExperience field with field-level Core Web Vitals (LCP, INP, CLS) sourced from the Chrome User Experience Report when enough field data is available.

What are the rate limits for the PageSpeed Insights API?

Anonymous calls are limited to a small number of queries per second; with an API key the default is 25,000 queries per day per project. For higher volume, request a quota increase in the Cloud Console rather than retrying on 429.

How do I run an audit through Jentic?

Search Jentic for run pagespeed audit, load the schema for GET /pagespeedonline/v5/runPagespeed, and execute it with the URL, strategy, and category list. Jentic returns the structured Lighthouse report for parsing.

Is the PageSpeed Insights API free?

Yes - the public PSI API is free within the documented quota. You only pay if you wrap it inside another billable Google Cloud product like Cloud Run for orchestration.

Does this API audit pages behind authentication?

No - runPagespeed only reaches public URLs. To audit authenticated flows, run Lighthouse locally with cookies or a service-worker, then use this API only for public benchmarks.

Can I limit what my agent is allowed to do with the PageSpeed Insights API?

Yes. Because you self-host Jentic One, your own rules decide which operations and credentials the agent may use, and the PageSpeed Insights API exposes a single read operation, runPagespeed, so you can restrict the agent to running a synthetic Lighthouse audit of a public URL and nothing else. That read is the only call in the allowed set, so the agent cannot change anything on your Google account or reach any other endpoint. You control the scoping at the operator level, keeping the agent limited to on-demand performance audits.

GET STARTED

Start building with PageSpeed Insights API

Explore with Jentic One
View OpenAPI Document