API

Free, read-only JSON, with no key required. Please cache responses and keep request volume reasonable.

GET /api/diff?a=YYYY-MM-DD&b=YYYY-MM-DD

Returns the complete comparison: executive, legislative, judicial, budget, regulations, constitution, timeline, and headline cards.

curl https://civicdiff.com/api/diff?a=2009-01-19&b=2017-01-19

GET /api/fr-agencies?a=…&b=…

Lists the agencies that published the most final rules between two dates, from the Federal Register.

Permalinks

Comparison pages use the form /YYYY-MM-DD...YYYY-MM-DD. Social preview images are served at /og/YYYY-MM-DD...YYYY-MM-DD.png.