{"uid":"cap_mL7nv_sIRTk1KYcwLlP7g","slug":"halowerk-laufwerk-compare-cumulative-layout-shift-bce51111","name":"HALOWERK laufwerk – Compare Cumulative Layout Shift","description":"HALOWERK laufwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.","url":"https://lauf.halowerk.com/v1/quality/compare-cumulative-layout-shift?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JOXuQucaZOm6DErsf7BtJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares the Cumulative Layout Shift (CLS) score between a baseline URL and a candidate URL, optionally enforcing a maximum allowed score regression.","exampleAgentPrompt":"Compare the Cumulative Layout Shift score of https://example.com (baseline) against https://example.com/v2 (candidate), and flag it if the CLS regresses by more than 0.05.","exampleUseCases":[{"title":"Pre-deploy CLS regression check","prompt":"Before we push the redesigned homepage live, compare the CLS of https://mysite.com against the candidate at https://staging.mysite.com/new-home and fail it if CLS gets worse by more than 0.1."},{"title":"A/B test visual stability comparison","prompt":"We're running an A/B test — can you compare the layout shift of our control page https://shop.example.com/product and the variant https://shop.example.com/product-v2 to see which one is more visually stable?"},{"title":"CI quality gate for CLS","prompt":"As part of our quality check, compare the CLS between https://brand.com/landing (baseline) and https://brand.com/landing-updated (candidate) and let me know if the regression exceeds 0.05."}],"resultDescription":"A JSON response containing the CLS scores for both the baseline and candidate URLs, a comparison indicating whether the candidate regressed relative to the baseline, and whether the regression exceeded the allowed threshold if one was specified.","failureModes":["Invalid or unreachable URL returns an error (URL must start with https://, 10–2048 chars)","Candidate or baseline page renders nothing measurable — CLS score may be zero or null","Allowed score regression out of range (must be 0–1) returns a validation error","Network timeout if either URL is slow to load","Payment not completed via x402 results in HTTP 402 response"],"whenToPreferThis":"Use this endpoint when you need an automated, paid, objective comparison of Cumulative Layout Shift between two specific URLs — especially for CI/CD regression gating, A/B test validation, or pre-deploy quality checks. Prefer this over manual Lighthouse runs when you need a programmatic pass/fail signal with a configurable regression tolerance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:07.147Z","isFirstParty":false,"canonicalSlug":"halowerk-laufwerk-compare-cumulative-layout-shift-bce51111"}