# Strale Page Speed Test

> Strale Page Speed Test is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-10-11).

Runs a Google PageSpeed Insights-style performance test on any public URL and returns speed metrics for mobile or desktop strategy

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/page-speed-test?utm_source=zero.xyz
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-page-speed-test-00b395ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tUz31tf9HmsNTLMZolcsK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability strale-page-speed-test-00b395ed
```

Example prompt: Can you run a mobile page speed test on https://www.example.com and tell me how it scores?

## When to prefer this

Use this endpoint when you need an automated, programmatic page speed and performance score for any public URL — especially useful for agents doing SEO audits, pre-deployment checks, or competitive benchmarking. Prefer this over manual browser-based checks when you need structured JSON output with an auditable chain record. Choose the desktop strategy for desktop SEO analysis and mobile for mobile-first indexing assessments.

## Known failure modes

- URL is unreachable or returns a non-200 status — PageSpeed test fails to complete
- Invalid or malformed URL input causes schema validation error
- Strategy value outside 'mobile'/'desktop' may default to mobile or return a validation error
- Timeout if the target page is extremely slow or unresponsive
- Rate limiting or payment failure results in a 402 or 429 response

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns a structured performance report for the given URL, including an overall speed score, Core Web Vitals metrics (LCP, FID, CLS, TTFB), and diagnostic details. Results are specific to the requested strategy (mobile or desktop). An audit record with cryptographic chain hashing is also returned for trust verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "strategy": {
       "type": "string",
       "description": "mobile or desktop (default: mobile)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-page-speed-test-00b395ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
