/v1/ until 2027-04-28, after which they will return 410 Gone.
What changed
URL path
All endpoints move from/v1/ to /v2/.
Renamed fields
Four fields were renamed for jurisdiction-agnostic clarity as coverage expanded beyond US federal courts:| v1 field | v2 field | Notes |
|---|---|---|
nature_of_suit | nature_of_proceeding | Same data, broader name |
pacer_doc_id | document_identifier | Generalized; accompanied by document_identifier_type |
pacer_link | external_url | Renamed for non-PACER courts |
related_cases | cross_references | Each entry now carries a typed relationship enum |
New fields — additive
v2 adds fields that v1 did not have. These are all additive — existing v1 response consumers will ignore them without breaking. OnGET /v2/case:
contextparameter (basicorfull) — replaces the flat response structurelanguageparameter andlanguage_deliveredresponse fieldfiling_typesfilter parametermetablock:context_delivered,language_delivered,truncated,sandbox,tagcase.case_name_secondary,case.case_name_secondary_languagecase.jurisdiction_countrycase.languagedelta.change_count,delta.new_filings[].document_identifier_type
POST /v2/cases/batchGET /v2/wallet/keysPOST /v2/wallet/keysGET /v2/wallet/deliveriesPOST /v2/mcp
GET /v2/monitor:
last_checkedis now required (was optional in v1)- Response now includes
change_countandlatest_activity_at
Delta block restructuring
In v1, new filings were returned at the top level of the response. In v2, they are inside adelta block and the block is only present when last_checked is supplied.
filing_types parameter
In v1,filing_types accepted a JSON array. In v2, it is a comma-separated string.
Migration checklist
Update the base URL
Change all references from
https://api.docketlayer.ai/v1/ to https://api.docketlayer.ai/v2/.Rename fields in your response handling
Update field references:
nature_of_suit→nature_of_proceedingpacer_doc_id→document_identifierpacer_link→external_urlrelated_cases→cross_references
Update delta access
Move from top-level
new_filings to delta.new_filings. Check delta.changed before accessing delta.new_filings.Update filing_types format
If you use
filing_types, change from JSON array to comma-separated string.Make last_checked required on /v2/monitor
last_checked is required on /v2/monitor. If you were calling it without last_checked, supply it.