The contract API
More
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.
This contract
GET/openapi.json
The OpenAPI 3.1 document that describes this API.
Authentication: None: anyone may call it, within a budget per client address where the description says so.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 OK | The OpenAPI document. | application/json |
| Any other status | An error, as RFC 9457 problem details. | Problem (application/problem+json) |
Sample
curl https://api.zerocaptcha.io/openapi.jsonconst response = await fetch("https://api.zerocaptcha.io/openapi.json");console.log(response.status, await response.text());import requests
response = requests.get( "https://api.zerocaptcha.io/openapi.json", timeout=30,)print(response.status_code, response.text)