Skip to content

The contract API

Documents about the API itself, such as this contract.

Every operation of the API reference is generated from the contract the API serves, version 0.1.0. Replace YOUR_API_KEY in the samples with your key; each response shows an example in the contract's shape.

This contract

GET/openapi.json

Authentication. None: anyone may call it, within a budget per client address where the description says so.

The OpenAPI 3.1 document that describes this API.

Responses

Responses of This contract
StatusWhat it means
200 OK

The OpenAPI document.

application/json

Any other status

An error, as RFC 9457 problem details.

Problem (application/problem+json)

Request

Terminal window
curl https://api.zerocaptcha.io/openapi.json

Response

200 OK application/json

The OpenAPI document this reference is generated from, too long to show here. Download openapi.json

Example values in the contract's shape, version 0.1.0.