GET /v1/inspections
List inspectionsNewest first, by open_date then activity_nr, both descending. Cursor paged: pass next_cursor from the previous page as cursor, with the same filters. NAICS codes are recorded for inspections opened from 2002 on; almost all earlier inspections carry DOL's placeholder 000000, which is not accepted as a filter.
| Parameter | In | Type | Description |
|---|---|---|---|
| state? | query | string | Two-letter USPS code of the site state, as DOL records it. |
| naics? | query | string | Exact six-digit NAICS code as DOL records it. 000000 is rejected (DOL's placeholder). |
| opened_from? | query | string (date) | Earliest open_date, inclusive. |
| opened_to? | query | string (date) | Latest open_date, inclusive. |
| cursor? | query | string | Opaque value from meta.next_cursor of the previous page. Use it with the same filters. |
| limit? | query | integer |
Returns array of Inspection. Statuses: 200, 400, 401, 429, 500, 503.