OpenAPI JSON

Free endpoint
GET/v1/openapi.json

Download the OpenAPI specification for SDK generation, validation, or tooling imports.

Try in playground

Status codes

200Specification JSON returned.

Examples

cURL
curl "https://api.animaldetect.com/v1/openapi.json" -o openapi.json
Python
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": {} }
  }
}