FRA Railroad Accidents Scraper avatar

FRA Railroad Accidents Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
FRA Railroad Accidents Scraper

FRA Railroad Accidents Scraper

Extract over 181,000 railroad accident/incident records dating back to 1975, sourced directly from the U.S. Department of Transportation.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Professional Edge

Professional Edge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

FRA Railroad Accidents & Incidents Scraper

Extract railroad accident and incident reports from the Federal Railroad Administration (FRA) open data portal. This Actor provides access to over 181,000 accident/incident records dating back to 1975, sourced directly from the U.S. Department of Transportation's official Socrata API.

Use this scraper to analyze railroad safety trends, research specific derailments or collisions, identify high-cost accidents by state or railroad, and build datasets for transportation safety research, insurance risk analysis, regulatory compliance monitoring, and investigative journalism.

Key Features

  • 181,000+ accident records from 1975 to present
  • Filter by state — target specific states using two-letter abbreviations (TX, CA, OH, etc.)
  • Filter by railroad — search by railroad company name (CSX, Union Pacific, BNSF, etc.)
  • Filter by year range — specify start and end years for targeted analysis
  • Filter by accident type — derailments, collisions, highway-rail crossings, fires, and more
  • Filter by damage cost — find only high-cost incidents above your threshold
  • Detailed casualty data — employees killed/injured, passengers killed/injured, others killed/injured
  • Full damage breakdown — equipment damage, track damage, and total damage costs
  • Location data — state, county, station, milepost, latitude, longitude
  • Environmental context — temperature, visibility, weather conditions
  • Train details — speed, tonnage, locomotive count, freight/passenger car counts
  • Hazmat tracking — hazmat cars involved and hazmat releases
  • Accident narratives — detailed text descriptions when available
  • Direct FRA report links — URL to the official Form 54 report for each incident
FieldDescription
reportingRailroadNameName of the reporting railroad company
dateDate of the accident/incident
accidentTypeType of accident (Derailment, Collision, etc.)
stateName / stateAbbrState where the accident occurred
countyNameCounty where the accident occurred
stationNearest station or location name
latitude / longitudeGeographic coordinates
totalDamageCostTotal damage cost in dollars
primaryAccidentCausePrimary cause of the accident
totalPersonsKilledTotal fatalities
totalPersonsInjuredTotal injuries
trainSpeedSpeed of the train at time of accident
narrativeDetailed text description of the incident
reportUrlLink to official FRA Form 54 report

How to Scrape FRA Railroad Accident Data

  1. Go to this Actor's page on the Apify Store
  2. Click "Start" to open the input configuration form
  3. Set your filters:
    • Enter a State abbreviation (e.g., TX for Texas) or leave blank for all states
    • Enter a Railroad Name (e.g., Union Pacific) or leave blank for all railroads
    • Set Start Year and End Year to narrow the date range
    • Enter an Accident Type (e.g., Derailment) or leave blank for all types
    • Set a Minimum Total Damage Cost to filter for major incidents
    • Set Max Results to control how many records you want (default: 100)
  4. Click "Start" to run the Actor
  5. Download your data in JSON, CSV, Excel, or other formats from the Dataset tab

Example: Find All Texas Derailments in 2023 with Damage Over $100,000

{
"state": "TX",
"startYear": 2023,
"endYear": 2023,
"accidentType": "Derailment",
"minDamageCost": 100000,
"maxResults": 500
}

Example: Find All CSX Accidents Nationwide Since 2020

{
"railroad": "CSX Transportation",
"startYear": 2020,
"maxResults": 1000
}

Pricing

This Actor uses a pay-per-result pricing model:

Cost TypePrice
Per Actor start$0.00005
Per result$0.002

Example costs:

  • 100 accident records: ~$0.20
  • 1,000 accident records: ~$2.00
  • 10,000 accident records: ~$20.00

You also pay standard Apify platform compute costs on top of Actor pricing.

Input Parameters

ParameterTypeRequiredDefaultDescription
statestringNo(all)Two-letter state code (e.g., TX, CA)
railroadstringNo(all)Railroad name filter (partial match, e.g., Union Pacific)
startYearintegerNo(any)Start year (1975-2030)
endYearintegerNo(any)End year (1975-2030)
accidentTypestringNo(all)Accident type (e.g., Derailment, Collision)
minDamageCostintegerNo(none)Minimum total damage cost in dollars
maxResultsintegerNo100Maximum results to return (1-200,000)

Output Example

{
"reportingRailroadCode": "UP",
"reportingRailroadName": "Union Pacific Railroad Company",
"accidentNumber": "0723GC025",
"year": 2023,
"date": "2023-07-17T00:00:00.000",
"time": "6:10 PM",
"accidentTypeCode": "11",
"accidentType": "Fire/violent rupture",
"stateCode": "48",
"stateAbbr": "TX",
"stateName": "TEXAS",
"countyName": "VICTORIA",
"station": "VICTORIA",
"milepost": "221.0",
"latitude": 28.805,
"longitude": -96.985,
"temperature": 89.0,
"visibility": "Dusk",
"weatherCondition": "Clear",
"trackType": "Yard",
"trackClass": "1",
"trainDirection": "South",
"trainSpeed": 10,
"maximumSpeed": 10,
"grossTonnage": 1394,
"headendLocomotives": 1,
"loadedFreightCars": 10,
"loadedPassengerCars": 0,
"equipmentDamageCost": 50000,
"trackDamageCost": 0,
"totalDamageCost": 50000,
"primaryAccidentCauseCode": "E74L",
"primaryAccidentCause": "Electrically caused fire (LOCOMOTIVE)",
"railroadEmployeesKilled": 0,
"railroadEmployeesInjured": 0,
"passengersKilled": 0,
"passengersInjured": 0,
"othersKilled": 0,
"othersInjured": 0,
"totalPersonsKilled": 0,
"totalPersonsInjured": 0,
"hazmatCars": 0,
"hazmatReleasedCars": 0,
"narrative": "AT 6:10 PM A FIRE WAS REPORTED ON A LOCOMOTIVE...",
"reportUrl": "https://safetydata.fra.dot.gov/Officeofsafety/Publicsite/FORM54/F54Report.aspx?..."
}

Other Actors You Might Like

FAQ

How current is the data? The FRA updates the Socrata dataset regularly. Most recent data is typically available within a few months of the incident date.

Can I get data for all states at once? Yes. Leave the State field empty to retrieve accidents from all U.S. states and territories.

What accident types are available? Common types include: Derailment, Hwy-rail crossing, Collision, Fire/violent rupture, Obstruction, Explosion, and Other. Leave the filter empty to get all types.

Why are some records missing latitude/longitude? Older records (especially pre-2000) may have coordinates set to 0.0 or missing. This is a limitation of the source data.

What is the narrative field? Some accident records include a free-text description of the incident. Not all records have narratives — they are more common for serious incidents.

Can I filter by multiple states? The current version supports one state at a time. To get data for multiple states, run the Actor multiple times with different state codes.

This Actor extracts publicly available data from the U.S. Department of Transportation's open data portal (data.transportation.gov). This is public government data made freely available under open data initiatives. The data is provided "as is" without warranty. Users are responsible for ensuring their use of the data complies with applicable laws and regulations. This Actor does not access any restricted, private, or authenticated data sources.

For questions or support, contact the Actor author through the Apify Store.