{"slug":"a11y-aiagentpay-cloud-api-v1-check-contrast-f8c485","title":"Contrast ratios for up to 50 caller-supplied color pairs","host":"a11y.aiagentpay.cloud","method":"POST","resource":"https://a11y.aiagentpay.cloud/api/v1/check/contrast","category":"market","description":"Contrast ratios for up to 50 caller-supplied color pairs. No page is fetched. Each pair reports the WCAG 2.2 ratio, AA and AAA for normal and large text, the 3:1 non-text result, and a nearer foreground when AA is not met. Price 0.01 USD in USDC on Base, settled after a successful check.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":5,"answered_7d":5,"latency_ms_median":657,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"fontSizePx":16,"pairs":[{"background":"#ffffff","foreground":"#767676"}]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"bold":{"description":"True when the default text is bold.","type":"boolean"},"fontSizePx":{"description":"Default font size in CSS pixels.","type":"number"},"pairs":{"items":{"properties":{"background":{"description":"CSS color: hex, rgb, hsl, or a CSS color name.","type":"string"},"bold":{"description":"True when this pair is bold.","type":"boolean"},"fontSizePx":{"description":"Font size in CSS pixels for this pair.","type":"number"},"foreground":{"description":"CSS color: hex, rgb, hsl, or a CSS color name.","type":"string"}},"required":["foreground","background"],"type":"object"},"maxItems":50,"type":"array"}},"required":["pairs"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":782,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":616,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":657,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":847,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":574,"error":null}],"description_full":"Contrast ratios for up to 50 caller-supplied color pairs. No page is fetched. Each pair reports the WCAG 2.2 ratio, AA and AAA for normal and large text, the 3:1 non-text result, and a nearer foreground when AA is not met. Price 0.01 USD in USDC on Base, settled after a successful check.","last_updated":"2026-11-23T07:18:38.948Z","schemes":["exact"]}