PetClearance
Public Read-Only REST API v1
No API Key Required

PetClearance API & AI Agent Documentation

Query international pet travel paperwork timelines, rabies and FAVN blood test wait rules, 24–120 hour tapeworm windows, and airline breed policies programmatically—or fetch clean Markdown on any page via Accept: text/markdown.

Overview & Policies

Authentication, Versioning & Rate Limits

  • Authentication: Public read-only GET endpoints require no API key or bearer token. CORS is open (*).
  • Versioning & Deprecation Policy: Endpoints are versioned in the URL path under /api/v1/* and emit X-API-Version: 2026-11-01. Breaking changes require a new /api/v2/* prefix, and deprecated versions return standard Deprecation and Sunset headers for at least 180 days.
  • Rate Limits & Error Format: 120 requests per 60 seconds per IP, communicated via RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset. All 4xx/5xx responses return RFC 9457 application/problem+json with machine-readable code and message fields.
REST Endpoints & Quickstart

Endpoint Reference

1. Calculate Pet Travel Compliance Plan

GET /api/v1/compliance — Accepts origin, destination, airline, breed, departureDate (YYYY-MM-DD), and weightKg.

curl -s "https://www.petclr.com/api/v1/compliance?origin=usa&destination=uk&airline=british-airways&breed=french-bulldog&departureDate=2027-02-15"

2. List Supported Countries, Airlines & Breeds

GET /api/v1/catalog — Lists all 100+ country slugs, 20 airline slugs, and 44 dog/cat breed slugs.

curl -s "https://www.petclr.com/api/v1/catalog"

3. Request Any Page as Clean Markdown

Send Accept: text/markdown on any route, country hub, or policy page to receive token-lean Markdown with Vary: Accept.

curl -s -H "Accept: text/markdown" "https://www.petclr.com/countries/uk"