USDOT FRA Rail Crossing Accidents & Equipment Incidents avatar

USDOT FRA Rail Crossing Accidents & Equipment Incidents

Pricing

from $2.10 / 1,000 incidents

Go to Apify Store
USDOT FRA Rail Crossing Accidents & Equipment Incidents

USDOT FRA Rail Crossing Accidents & Equipment Incidents

Scrape official USDOT Federal Railroad Administration (FRA) highway-rail grade crossing accidents (Form 57), train equipment accidents (Form 54), and crossing inventory data (Form 71). Keyless from data.transportation.gov.

Pricing

from $2.10 / 1,000 incidents

Rating

0.0

(0)

Developer

Groundplane Labs

Groundplane Labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

USDOT FRA Rail Crossing Accidents & Equipment Incidents Scraper

Extract official Federal Railroad Administration (FRA) safety data from data.transportation.gov, covering Highway-Rail Grade Crossing Accidents (Form 57), Train Equipment Accidents (Form 54), and Crossing Inventory details (Form 71). Keyless, official SODA JSON API integration.

This actor is an independent product and is not affiliated with, endorsed by, or sponsored by the Federal Railroad Administration (FRA) or the US Department of Transportation (USDOT).

What it does

  • Form 57 (Grade Crossing Incidents): Detailed collision reports involving motor vehicles, pedestrians, and trains at highway-rail crossings across all US states.
  • Form 54 (Train Equipment Accidents): Rail equipment derailments, collisions, and mechanical accidents reported by interstate rail carriers.
  • Form 71 (Crossing Inventory Enrichment): Joins warning device equipment summaries and quiet zone status from the crossing inventory to grade crossing incident records. The Form 71 Socrata dataset does not publish a predicted accident value, so predictedAccidentRisk always ships null (see Output).
  • Deduplication: Optional collapsing of multiple railroad filings for the same incident on Form 54 using uniqueIncidentsOnly.
  • Count Reconciliation: Verifies delivered incident rows against source SoQL count(*) totals; marks runs PARTIAL: with honest counts if any records are withheld or truncated.

Who it's for

  • Rail Safety & Litigation Analysts: Track crossing collision histories, warning device signaling failures, and carrier accident narratives for tort claims and expert testimony.
  • Supply Chain & Logistics Teams: Monitor Class I (UP, BNSF, CSX, NS) equipment accidents, derailments, and hazardous material release events along freight corridors.
  • Municipal Planners & Transportation Engineers: Evaluate crossing collision histories, quiet zones, and active warning device installations for grade separation funding.

Input

FieldTypeDefaultDescription
datasetFormTypestring (select)"FORM_57_GRADE_CROSSING_INCIDENTS""FORM_57_GRADE_CROSSING_INCIDENTS", "FORM_54_TRAIN_EQUIPMENT_ACCIDENTS", or "FORM_71_CROSSING_INVENTORY".
statesarray["TX", "IL", "CA", "GA", "OH", "IN"]2-letter US state postal codes. Empty array queries all states.
railroadCodesarray["UP", "BNSF", "CSX", "NS"]Railroad reporting marks. Empty array queries all reporting carriers.
incidentDateFromstringJan 1 of current yearISO date YYYY-MM-DD. Relative default computed at run time.
onlyWithInjuriesOrFatalitiesbooleanfalseWhen true, filters for incidents where total killed or injured >= 1.
onlyPublicCrossingsbooleanfalseWhen true, limits to public grade crossings only.
uniqueIncidentsOnlybooleanfalseFor Form 54, deduplicates multi-railroad joint reports by date, state, county, and time.
socrataAppTokenstring (secret)""Optional Socrata App Token for higher request limits on data.transportation.gov.
maxItemsinteger1000Maximum incident reports to deliver, newest first.

Example input

{
"datasetFormType": "FORM_57_GRADE_CROSSING_INCIDENTS",
"states": ["TX", "IL", "CA", "GA", "OH", "IN"],
"railroadCodes": ["UP", "BNSF", "CSX", "NS"],
"onlyWithInjuriesOrFatalities": false,
"onlyPublicCrossings": false,
"maxItems": 1000
}

Output

One row per incident report.

FieldTypeDescription
incidentNumberstringFRA report or incident tracking number.
crossingIdstring or nullNational DOT grade crossing ID number.
reportingRailroadCodestring or nullReporting carrier mark (e.g. UP, BNSF, CSX).
reportingRailroadNamestring or nullFull corporate name of reporting railroad.
incidentDatestringIncident date (YYYY-MM-DD).
incidentTimestring or nullTime of incident.
stateNamestring or nullState name.
countyNamestring or nullCounty name.
cityNamestring or nullCity or nearest timetable station.
highwayNamestring or nullRoad or highway name.
publicPrivateCodestring or nullY for public, N for private. Form 54 segment note: always null on Form 54 rows; the Form 54 dataset (85tf-25kj) publishes no public/private crossing field.
highwayUserTypestring or nullVehicle type or pedestrian designation.
warningDeviceTypestring or nullPrimary warning device at the crossing from the FRA crossing warning field (e.g. Gates, Crossbucks, Standard FLS). Form 54 caveat: in the Form 54 segment this field carries the dataset's signalization values ("Signaled" / "Not Signaled"), the only warning-device field Form 54 publishes.
warningDeviceSignaledFailureboolean or nullTrue when the FRA signaled warning code reports no warning (alleged or confirmed), false when a warning was reported, null when the source reports no signaled warning outcome. Form 54 segment note: always null on Form 54 rows; the Form 54 dataset (85tf-25kj) publishes no signaled-warning code field.
trainSpeedMphinteger or nullTrain speed in miles per hour.
totalKilledinteger or nullTotal fatalities (Form 57 / Form 54 total fields as filed).
totalInjuredinteger or nullTotal injuries (Form 57 / Form 54 total fields as filed).
hazmatReleasedCarsinteger or nullNumber of cars releasing hazardous materials. Published only on Form 54; always null on Form 57 and Form 71 rows (Form 57 publishes a hazmat involvement code, not a car count).
narrativeDescriptionstring or nullOfficial narrative description filed with FRA.
warningDeviceEquipmentstring or nullSummary of the warning device counts on the crossing's Form 71 inventory record; null when the inventory record reports no device counts or the crossing has no inventory record.
quietZoneStatusstring or nullYes when a quiet zone ID is on the crossing's Form 71 inventory record, No when a record exists without one, null when the crossing has no inventory record.
predictedAccidentRisknumber or nullAlways null: the Form 71 Socrata dataset does not publish a predicted accident value. Kept in the schema for compatibility.

Sample row (real, live FRA data)

{
"incidentNumber": "CH0826202",
"crossingId": "069890G",
"reportingRailroadCode": "BNSF",
"reportingRailroadName": "BNSF Railway Company",
"incidentDate": "2026-08-31",
"incidentTime": "04:42 PM",
"stateName": "ILLINOIS",
"countyName": "CARROLL",
"cityName": "CHADWICK",
"highwayName": "PRIVATE",
"publicPrivateCode": "N",
"highwayUserType": "Auto",
"warningDeviceType": "Crossbucks",
"warningDeviceSignaledFailure": null,
"trainSpeedMph": 50,
"totalKilled": 0,
"totalInjured": 0,
"hazmatReleasedCars": null,
"narrativeDescription": "Z-CHCSSE1-31U WAS TRAVERSING SINGLE MAIN TRACK AND STRUCK AND OCCUPIED VEHICLE AT PRIVATE CROSSING.NO INJURIES REPORTED. NO HAZMAT RELEASED. USER'S AGE UNKNOWN",
"warningDeviceEquipment": null,
"quietZoneStatus": "No",
"predictedAccidentRisk": null
}

Troubleshooting & Data Notes

  • Filing Lag and update cadence: Rail carriers file Form 57 and Form 54 reports monthly under 49 CFR Part 225. FRA refreshes these Socrata datasets on an ongoing basis, but incidents typically appear 30 to 60 days after the reporting month, so the newest incidents are never real-time. In Form 71 mode the rows are crossing inventory records and incidentDate is the inventory revision date, not an incident date. Form 71 is a current inventory snapshot maintained by FRA and the railroads.
  • Socrata Rate Limits: Keyless requests share public IP pools on data.transportation.gov. If you experience throttling during bulk historical backfills, pass a free Socrata app token via socrataAppToken.
  • Zero Matches: If zero records match, verify your date window or expand state and railroad code filters.

If this keeps happening, please open an issue on this actor's Issues tab and we'll fix it fast.

Changelog

  • 0.1.2 (2026-11-01): Disclosure fix only, no data changes: the output table now states that publicPrivateCode and warningDeviceSignaledFailure are always null on Form 54 rows because the Form 54 dataset (85tf-25kj) publishes no public/private field and no signaled-warning code field, and that warningDeviceType carries the Form 54 signalization values ("Signaled" / "Not Signaled") in that segment. Form 54 run status messages now carry the same segment note.
  • 0.1.1 (2026-11-01): Fixed field mappings verified against the live FRA datasets: hazmat released cars now comes only from the Form 54 count field (the Form 57 hazmat involvement code is no longer shipped as a car count); warning device type now uses the FRA warning device field instead of warning time and location text; signaled warning failure now derives from the FRA signaled warning code; Form 54 totals, crossing ID (gxid), and station now populate; the Form 54 injuries filter and the Form 71 public crossings filter now query columns that exist; Form 71 enrichment now reads the device counts and quiet zone ID the inventory actually publishes (predicted accident risk is not published there and ships null, disclosed above); inventory enrichment is batched by crossing ID instead of one request per row; skipped and unparseable rows now produce a PARTIAL status instead of a silent Complete.
  • 0.1.0 (2026-11-01): Initial build.