ToolAssay

Contrast ratios for up to 50 caller-supplied color pairs

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.

Answeringour last check, 2026-11-26
5 of 5checks answered this week
657 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://a11y.aiagentpay.cloud/api/v1/check/contrast

CategoryMarket data
Provider hosta11y.aiagentpay.cloud
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.01 782 ms
2026-11-25 valid payment request 402$0.01 616 ms
2026-11-24 valid payment request 402$0.01 657 ms
2026-11-23 valid payment request 402$0.01 847 ms
2026-11-22 valid payment request 402$0.01 574 ms

Example input (from the provider)

{
  "body": {
    "fontSizePx": 16,
    "pairs": [
      {
        "background": "#ffffff",
        "foreground": "#767676"
      }
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$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"
}

This page as JSON