adr.zone

Public API

Small, stateless JSON endpoints on this same Next.js deployment. There is no authentication, no database, and no retention: each request is computed and forgotten. Same markdown emitters as the generator (formatNygardMarkdown, formatMadrMarkdown, etc.). Open API index. Per-IP rate limits apply (rough in-process windows; response 429 with Retry-After). POST /api/generate-adrbodies are capped at 32 KiB (413 if larger).

Endpoints

Example

curl -s -X POST "https://adr.zone/api/generate-adr" \
  -H "Content-Type: application/json" \
  -d '{"title":"Use PostgreSQL for new services","context":"We need one default DB for new work.","decision":"Default to PostgreSQL 15+ for new stateful services."}' | jq

Supported formats

Default format is nygard. iso-42010 is an ISO/IEC/IEEE 42010–inspired record, not a formal “ISO 42010 ADR standard.”

On this site

Generator · Templates · Examples · Raw /api/formats JSON