{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Accessibility Checker – WCAG 2.2 Audit with axe-core",
    "description": "Audit web pages for WCAG 2.0/2.1/2.2 accessibility issues (A, AA, AAA) with axe-core in headless Chrome. Violations by impact, failed success criteria, CSS selectors and fix links per page; optional same-site crawl. For EAA / BFSG checks.",
    "version": "0.1",
    "x-build-id": "wfsii6OeWdIbzTnF1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/adamplaenitz~website-accessibility-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-adamplaenitz-website-accessibility-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/adamplaenitz~website-accessibility-checker/runs": {
      "post": {
        "operationId": "runs-sync-adamplaenitz-website-accessibility-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/adamplaenitz~website-accessibility-checker/run-sync": {
      "post": {
        "operationId": "run-sync-adamplaenitz-website-accessibility-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "URLs to audit",
            "type": "array",
            "description": "Pages to audit, one per line (e.g. https://www.example.com/contact). Bare domains are opened as https://domain/. Each page is loaded in headless Chromium and tested with axe-core. Only audit websites you own or are allowed to test.",
            "items": {
              "type": "string"
            }
          },
          "wcagLevel": {
            "title": "WCAG conformance level",
            "enum": [
              "A",
              "AA",
              "AAA"
            ],
            "type": "string",
            "description": "Which success criteria are tested. AA is the level required by the European Accessibility Act / EN 301 549, the German BFSG/BITV 2.0 and most laws. Higher levels include the lower ones.",
            "default": "AA"
          },
          "wcagVersion": {
            "title": "WCAG version",
            "enum": [
              "2.0",
              "2.1",
              "2.2"
            ],
            "type": "string",
            "description": "WCAG 2.2 includes all rules of 2.1 and 2.0. EN 301 549 (EAA) currently references WCAG 2.1.",
            "default": "2.2"
          },
          "includeBestPractices": {
            "title": "Include best-practice rules",
            "type": "boolean",
            "description": "Also run axe-core best-practice rules (e.g. landmarks, heading order, one main region). They are not WCAG failures but common accessibility problems.",
            "default": false
          },
          "crawlSameDomain": {
            "title": "Also audit linked pages on the same site",
            "type": "boolean",
            "description": "Follow links on the audited pages to other pages of the same website (same host, \"www.\" ignored; subdomains are not followed) until \"Maximum pages\" is reached.",
            "default": false
          },
          "maxPages": {
            "title": "Maximum pages",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit for audited pages in this run (start URLs plus crawled pages). You pay per audited page, so this also caps the cost.",
            "default": 50
          },
          "viewport": {
            "title": "Viewport",
            "enum": [
              "desktop",
              "mobile"
            ],
            "type": "string",
            "description": "Window size used for the audit. Some issues (e.g. hidden menus, reflow) only appear on small screens.",
            "default": "desktop"
          },
          "reportLanguage": {
            "title": "Language of rule descriptions",
            "enum": [
              "en",
              "de"
            ],
            "type": "string",
            "description": "Language of the help texts in the results (axe-core translations). Rule IDs and help URLs stay the same.",
            "default": "en"
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt when crawling",
            "type": "boolean",
            "description": "Pages found by the crawl that robots.txt disallows are skipped. The start URLs are always opened, like a visitor would.",
            "default": true
          },
          "waitAfterLoadSecs": {
            "title": "Extra wait after page load (seconds)",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Additional time for JavaScript content to appear before the audit starts (the Actor also waits up to 8 s for network idle).",
            "default": 2
          },
          "pageTimeoutSecs": {
            "title": "Page load timeout (seconds)",
            "minimum": 10,
            "maximum": 180,
            "type": "integer",
            "description": "Pages that do not load within this time are retried once and then reported as a free error row.",
            "default": 45
          },
          "maxConcurrency": {
            "title": "Parallel browser pages",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum pages audited at the same time (1–20). The Actor scales down automatically when memory or CPU is short.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Only needed if a website blocks requests from cloud servers.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}