All data sources

FRA Railroad Safety

No authfra-railroad-safety

FRA Railroad Safety — Federal Railroad Administration (US DOT) Office of Safety Analysis accident/incident data, served via Socrata SODA on the USDOT open-data portal (data.transportation.gov). Two datasets: Form 54 — Rail Equipment Accident/Incident (~224K rows, 1975–present: derailments, collisions, and other rail equipment accidents, with railroad, location, damage cost, casualties, cause, and a free-text narrative) and Form 57 — Highway-Rail Grade Crossing Accident/Incident (collisions between rail equipment and highway users at grade crossings). Search and aggregate by state, accident type, railroad, and date. Note: numeric/date fields are returned as strings; a native GeoJSON `location` Point exists alongside latitude/longitude fields. No auth.

Provenance

PublisherFRA Railroad Safety

Freshness & coverage

FreshnessFreshness not declared
GeographicNot declared
TemporalNot declared
AuthenticationNo credentials required

Methods (6)

  • searchAccidents

    read

    Search Form 54 rail equipment accidents by state, accident type, railroad, and date

    Input schema
    {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "examples": [
            "TX"
          ]
        },
        "accidentType": {
          "type": "string",
          "examples": [
            "Derailment"
          ]
        },
        "railroad": {
          "type": "string"
        },
        "dateFrom": {
          "type": "string",
          "examples": [
            "2024-01-01"
          ]
        },
        "limit": {
          "type": "number",
          "examples": [
            50
          ]
        }
      },
      "additionalProperties": false
    }

    Filter state, type, railroad, or date; limit max 1000; newest first.

  • getAccidentById

    read

    Single Form 54 rail equipment accident record by its accident number

    Input schema
    {
      "type": "object",
      "properties": {
        "accidentNumber": {
          "type": "string",
          "examples": [
            "0326HO023"
          ]
        }
      },
      "additionalProperties": false
    }

    accidentNumber required; returns found and the Form 54 record.

  • getAccidentStats

    read

    Grouped counts of Form 54 accidents (e.g. by accident type, state, railroad, or year)

    Input schema
    {
      "type": "object",
      "properties": {
        "groupBy": {
          "type": "string",
          "examples": [
            "accidenttype"
          ]
        },
        "state": {
          "type": "string",
          "examples": [
            "TX"
          ]
        }
      },
      "additionalProperties": false
    }

    groupBy any column; optional state; returns groups sorted by count.

  • countAccidents

    read

    Count-only of Form 54 accidents matching optional state and accident-type filters

    Input schema
    {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "examples": [
            "TX"
          ]
        },
        "accidentType": {
          "type": "string",
          "examples": [
            "Derailment"
          ]
        }
      },
      "additionalProperties": false
    }

    Optional state and accidentType filters; returns count.

  • searchGradeCrossingIncidents

    read

    Search Form 57 highway-rail grade-crossing incidents by state

    Input schema
    {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "examples": [
            "TX"
          ]
        },
        "limit": {
          "type": "number",
          "examples": [
            50
          ]
        }
      },
      "additionalProperties": false
    }

    state accepts code or full name; limit max 1000; newest first.

  • getServiceInfo

    read

    Static API overview — the two datasets, SoQL filters, string-typed fields, and Socrata token note

    Input schema
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }