# Chicago Industrial Rail Crossing Risk Screen

**Use case:** 

Chicago, Cicero and Hammond industrial sites screened against FRA grade crossings, with device data, risk scores and incident-level detail rows.

## Input

```json
{
  "assets": [
    {
      "label": "Chicago IL industrial site",
      "lat": 41.8781,
      "lon": -87.6298,
      "radiusMiles": 1
    },
    {
      "label": "Cicero IL rail yard parcel",
      "lat": 41.8456,
      "lon": -87.7539,
      "radiusMiles": 1
    },
    {
      "label": "Hammond IN logistics parcel",
      "lat": 41.5834,
      "lon": -87.5,
      "radiusMiles": 1
    }
  ],
  "radiusMiles": 1,
  "includeCrossingRows": true,
  "includeIncidentDetail": true,
  "incidentSinceYear": 2005,
  "maxCrossings": 150
}
```

## Output

```json
{
  "record_type": {
    "label": "record_type",
    "format": "string"
  },
  "asset_label": {
    "label": "asset_label",
    "format": "string"
  },
  "crossing_id": {
    "label": "crossing_id",
    "format": "string"
  },
  "crossing_distance_miles": {
    "label": "crossing_distance_miles",
    "format": "number"
  },
  "street": {
    "label": "street",
    "format": "string"
  },
  "city_name": {
    "label": "city_name",
    "format": "string"
  },
  "state_abbr": {
    "label": "state_abbr",
    "format": "string"
  },
  "crossing_position": {
    "label": "crossing_position",
    "format": "string"
  },
  "is_at_grade": {
    "label": "is_at_grade",
    "format": "boolean"
  },
  "crossing_type": {
    "label": "crossing_type",
    "format": "string"
  },
  "railroad_name": {
    "label": "railroad_name",
    "format": "string"
  },
  "warning_device_type": {
    "label": "warning_device_type",
    "format": "string"
  },
  "has_warning_device": {
    "label": "has_warning_device",
    "format": "boolean"
  },
  "annual_average_daily_traffic": {
    "label": "annual_average_daily_traffic",
    "format": "integer"
  },
  "total_through_trains_per_day": {
    "label": "total_through_trains_per_day",
    "format": "integer"
  },
  "max_timetable_speed_mph": {
    "label": "max_timetable_speed_mph",
    "format": "integer"
  },
  "exposure_index": {
    "label": "exposure_index",
    "format": "number"
  },
  "incidents_checked": {
    "label": "incidents_checked",
    "format": "boolean"
  },
  "incidents_count": {
    "label": "incidents_count",
    "format": "integer"
  },
  "incidents_fatalities": {
    "label": "incidents_fatalities",
    "format": "integer"
  },
  "incidents_last_10y": {
    "label": "incidents_last_10y",
    "format": "integer"
  },
  "most_recent_incident_date": {
    "label": "most_recent_incident_date",
    "format": "string"
  },
  "risk_score": {
    "label": "risk_score",
    "format": "integer"
  },
  "risk_band": {
    "label": "risk_band",
    "format": "string"
  },
  "incident_history_complete": {
    "label": "incident_history_complete",
    "format": "boolean"
  },
  "incident_coverage_end_date": {
    "label": "incident_coverage_end_date",
    "format": "string"
  },
  "inventory_vintage": {
    "label": "inventory_vintage",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Railroad Grade Crossing Risk Screener - FRA Accident History](https://apify.com/malonestar/ntad-fra-rail-crossing-risk-screener) with a specific input configuration. Visit the [Actor detail page](https://apify.com/malonestar/ntad-fra-rail-crossing-risk-screener) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/malonestar/ntad-fra-rail-crossing-risk-screener.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
