the402 endpoint detail

← All endpoints

api.webbersites.com a11y contrast

https://api.webbersites.com/api/a11y/contrast

payable

WCAG contrast ratio between two colors — the check the URL-based a11y endpoint can't do. Give a foreground and background color (hex or rgb()); returns the exact ratio and AA/AAA pass/fail for normal text, large text, and UI components, with a plain-English verdict. ?fg=&bg=

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0xdd5fcEa81CA6f1EB39FEd5B973DE794293B81ba6
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
185 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:09:25.491Z (1d ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.webbersites.com%2Fapi%2Fa11y%2Fcontrast"