Skip to content

Follow changes to the law

get_changes answers with one line per article whose wording changed: the day, whether it was amended, inserted or repealed, and the day the wording before it took effect.

Terminal window
curl -s "https://api.pandex.io/v1/changes?format=text" \
-H "content-type: application/json" \
-d '{"id": "Awb", "limit": 10}'
  • One law gives every change held; a source or a jurisdiction goes five years back.
  • A wording that takes effect later is listed too (coming in JSON).
  • Page with offset. To watch for changes, ask with since set to the day you last asked.
  • Then read the new wording with get_document, and the old one with at.