# the402.ai Website Performance Purchase

> the402.ai Website Performance Purchase is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.005/call, status down (last checked 2026-09-16).

Purchases a website performance analysis or optimization service via the402.ai agent marketplace using x402 micropayment protocol

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_b67534d0b79541e7/purchase
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-029b4fa9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AKelnZKyGY2DOPzXjUmWI

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 api-the402-ai-029b4fa9 -d '<json body>'
```

Example prompt: Can you run a full website performance analysis on https://mycompany.com through the402 marketplace and tell me what's slowing it down?

## When to prefer this

Choose this endpoint when you need an automated, pay-per-use website performance audit via AI agent orchestration, especially when operating in x402-enabled micropayment environments. Prefer this over free tools when you need structured, agent-consumable output integrated into a workflow, or when operating within the the402.ai service marketplace ecosystem.

## Known failure modes

- Payment failure or insufficient USDC balance — transaction rejected before service is initiated
- Invalid or unreachable website URL — service returns error or empty results
- Job processing timeout — performance analysis takes too long and returns a timeout error
- Malformed request body — missing required service parameters returns 400 error
- Service temporarily unavailable on the402.ai platform — 503 response

## How this service works

Purchase: Website Performance

## Output

A job reference or report containing website performance metrics, load time analysis, Core Web Vitals scores, and optimization recommendations for the submitted website URL, delivered after a $0.005 USDC micropayment via x402 protocol.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "job_id": {
   "type": "string"
  },
  "status": {
   "type": "string"
  },
  "thread_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-the402-ai-029b4fa9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.the402.ai](https://www.zero.xyz/host/api.the402.ai/llms.txt)
