Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: WebAbility Scans API
version: 1.0.0
description: 'WebAbility is an AI‑powered web accessibility platform. This specification describes the public API surface: the GraphQL product API at api.webability.io/graphql and the public endpoints served by webability.io.
The product API authenticates with a WebAbility API token. Request scopes cover scanning a page, reading site state, applying fixes, and running paid audits. Unscoped requests are denied.
All error responses use the WebAbilityError shape: { code, message, resolution, error } (error mirrors message for backward compatibility).'
contact:
name: WebAbility Support
email: support@webability.io
x-tags:
- accessibility
- wcag
- scanning
- remediation
servers: []
tags:
- name: Scans
description: Run and retrieve accessibility scans against WCAG 2.2.
paths:
/graphql:
post:
summary: GraphQL product API
description: Primary product API. Accepts a GraphQL query or mutation; use introspection against this endpoint for the full schema. Scanning, site state, and audits are exposed as GraphQL fields.
operationId: graphql
tags:
- Scans
servers:
- url: https://api.webability.io
description: Product API
security:
- webabilityHeader: []
- webabilityToken:
- scans:read
- sites:read
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- query
properties:
query:
type: string
description: The GraphQL query or mutation.
variables:
type: object
nullable: true
responses:
'200':
description: GraphQL response envelope ({ data, errors }).
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
/api/check-widget:
get:
summary: Detect accessibility widget on a URL
description: Checks a given URL for known accessibility overlay scripts.
operationId: checkWidget
tags:
- Scans
servers:
- url: https://www.webability.io
description: Marketing site public endpoints
parameters:
- name: url
in: query
required: true
schema:
type: string
format: uri
description: URL to inspect for accessibility widgets.
responses:
'200':
description: Widget detection result.
content:
application/json:
schema:
type: object
properties:
result:
type: string
example: WebAbility
details:
type: string
'400':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
components:
responses:
Error:
description: Structured error response.
content:
application/json:
schema:
$ref: '#/components/schemas/WebAbilityError'
schemas:
WebAbilityError:
type: object
required:
- code
- message
- resolution
- error
properties:
code:
type: string
description: Stable machine-readable error code, e.g. RATE_LIMITED, BAD_REQUEST.
example: RATE_LIMITED
message:
type: string
description: Human-readable description of what went wrong.
resolution:
type: string
description: A concrete hint for how the caller should resolve the error.
error:
type: string
description: Backward-compatible alias of `message`, kept so the browser contact form (which reads data.error) keeps working.
securitySchemes:
webabilityToken:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://api.webability.io/oauth/token
scopes:
scans:read: Run a WCAG scan against a URL and read the results.
sites:read: Read site and account accessibility state.
audits:write: Start and retrieve paid expert audits.
fixes:write: Apply accessibility fixes to sites you own.
webabilityHeader:
type: apiKey
in: header
name: x-webability-token
description: Legacy header auth. Prefer OAuth clientCredentials scopes.