Returns full OpenAPI 3.0 JSON for code generation and contract tooling.
Get OpenAPI spec
GET /api/open/spec
Returns the full OpenAPI 3.0.x JSON spec for this site’s public API. Use it for Postman/Insomnia, client generation, or automated contract checks.
Endpoint
GET /api/open/spec
Parameters
None.
Response
200 OK, application/json: OpenAPI 3.0 document.
Errors
| HTTP status | When |
|---|---|
429 | Open API rate limit |
500 | Server error |
Example
curl -s "https://www.web3base.ai/api/open/spec" | jq '.info'