# HALOWERK laufwerk – Compare First Contentful Paint

> HALOWERK laufwerk – Compare First Contentful Paint is a paid API for AI agents from lauf.halowerk.com, paid per call via x402, $0.025/call, status unknown (last checked 2026-11-17).

Compares the First Contentful Paint (FCP) web performance metric between a baseline URL and a candidate URL, optionally enforcing a maximum allowed score regression.

## Facts

- Endpoint: POST https://lauf.halowerk.com/v1/quality/compare-first-contentful-paint?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-laufwerk-compare-first-contentful-paint-59b770e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LmuLvDJf8wCTlFTMvN2jN

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 halowerk-laufwerk-compare-first-contentful-paint-59b770e1 -d '<json body>'
```

Example prompt: Compare the First Contentful Paint of https://www.mysite.com (baseline) against https://staging.mysite.com (candidate) and flag it if the FCP regresses by more than 10% (allowed_score_regression: 0.1).

## When to prefer this

Use this endpoint when you need an automated, pay-per-call FCP comparison between two specific URLs — ideal for CI/CD quality gates, pre-deployment checks, or A/B performance testing. Prefer it over manual Lighthouse runs or PageSpeed Insights when you need programmatic access to a pass/fail regression verdict with a configurable tolerance threshold.

## Known failure modes

- Invalid or unreachable URL returns an error (URL must match ^https://[^@\s]+$ pattern)
- allowed_score_regression outside 0-1 range causes validation failure
- Network timeout if either URL is too slow to load
- Payment failure via x402 if USDC balance is insufficient
- Non-HTTPS URLs are rejected by the input schema pattern

## How this service works

HALOWERK laufwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.

## Output

A JSON object containing the measured First Contentful Paint scores for both the baseline and candidate URLs, a comparison result indicating whether the candidate regresses beyond the allowed threshold, and likely a pass/fail verdict for the quality gate.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline_url": {
   "type": "string",
   "pattern": "^https://[^@\\s]+$",
   "maxLength": 2048,
   "minLength": 10
  },
  "candidate_url": {
   "type": "string",
   "pattern": "^https://[^@\\s]+$",
   "maxLength": 2048,
   "minLength": 10
  },
  "allowed_score_regression": {
   "type": "number",
   "maximum": 1,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-laufwerk-compare-first-contentful-paint-59b770e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lauf.halowerk.com](https://www.zero.xyz/host/lauf.halowerk.com/llms.txt)
