OpenAPI JSON
Free endpointGET
/v1/openapi.jsonDownload the OpenAPI specification for SDK generation, validation, or tooling imports.
Try in playgroundStatus codes
200Specification JSON returned.
Examples
cURL
curl "https://api.animaldetect.com/v1/openapi.json" -o openapi.jsonPython
import requests
spec = requests.get("https://api.animaldetect.com/v1/openapi.json").json()
print(spec["info"]["version"], len(spec["paths"]), "paths")Node.js / Express
const response = await fetch('https://api.animaldetect.com/v1/openapi.json')
const spec = await response.json()Example response
{
"openapi": "3.0.3",
"info": {
"title": "Animal Detect API",
"version": "v1.0"
},
"paths": {
"/detect": { "post": {} }
}
}