Bulk export
Start a bulk export job
Start a bulk export job. Returns 202 with a job_id to poll.
At least one filter field must be set — unfiltered exports would scan the entire employer table and are refused.
post/v1/export
Request
- Base URLhttps://api.fastdol.com
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Api-Keystring
Request body
Example request
{
"filters": {
"has_fatalities": true,
"min_penalties": 100000,
"naics_codes": [
"2361",
"2362"
],
"states": [
"CA",
"TX",
"FL"
]
},
"format": "csv",
"max_rows": 50000,
"sort_by": "fatalities",
"sort_dir": "desc"
}Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 3 revisions of this API.