# Line status (per-line service health) Transport for London

**Use case:** 

Extract Transport for London (TfL) Live Status data filtered by Line status (per-line service health). Export structured results ready for analysis, lead

## Input

```json
{
  "mode": "line-status",
  "transportMode": "all",
  "lineId": "",
  "maxItems": 10
}
```

## Output

```json
{
  "id": {
    "label": "🆔 ID",
    "format": "text"
  },
  "name": {
    "label": "📌 Name",
    "format": "text"
  },
  "modeName": {
    "label": "🚇 Mode Name",
    "format": "text"
  },
  "url": {
    "label": "🔗 Status URL",
    "format": "link"
  },
  "statusSeverity": {
    "label": "🔴 Status Severity",
    "format": "number"
  },
  "statusSeverityDescription": {
    "label": "🚦 Status Description",
    "format": "text"
  },
  "hasActiveDisruption": {
    "label": "🚦 Has Active Disruption",
    "format": "boolean"
  },
  "reason": {
    "label": "📝 Reason",
    "format": "text"
  },
  "disruptionCategory": {
    "label": "🏷️ Disruption Category",
    "format": "text"
  },
  "disruptionDescription": {
    "label": "📝 Disruption Description",
    "format": "text"
  },
  "closureText": {
    "label": "📝 Closure Text",
    "format": "text"
  },
  "lineStatuses": {
    "label": "📦 Line Statuses",
    "format": "array"
  },
  "serviceTypes": {
    "label": "📦 Service Types",
    "format": "array"
  },
  "created": {
    "label": "📅 Created",
    "format": "date"
  },
  "modified": {
    "label": "🕒 Modified",
    "format": "date"
  },
  "category": {
    "label": "🏷️ Category",
    "format": "text"
  },
  "categoryDescription": {
    "label": "📝 Category Description",
    "format": "text"
  },
  "type": {
    "label": "🏷️ Disruption Type",
    "format": "text"
  },
  "description": {
    "label": "📝 Description",
    "format": "text"
  },
  "summary": {
    "label": "📝 Summary",
    "format": "text"
  },
  "additionalInfo": {
    "label": "📝 Additional Info",
    "format": "text"
  },
  "affectedRoutes": {
    "label": "📦 Affected Routes",
    "format": "array"
  },
  "affectedStops": {
    "label": "📦 Affected Stops",
    "format": "array"
  },
  "lastUpdate": {
    "label": "🕒 Last Update",
    "format": "text"
  },
  "naptanId": {
    "label": "🆔 NaPTAN ID",
    "format": "text"
  },
  "stationNaptan": {
    "label": "🆔 Station NaPTAN",
    "format": "text"
  },
  "icsCode": {
    "label": "🆔 ICS Code",
    "format": "text"
  },
  "modes": {
    "label": "🚇 Modes",
    "format": "array"
  },
  "placeType": {
    "label": "📂 Place Type",
    "format": "text"
  },
  "stopType": {
    "label": "📂 Stop Type",
    "format": "text"
  },
  "latitude": {
    "label": "📍 Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "📍 Longitude",
    "format": "number"
  },
  "status": {
    "label": "🚦 Status",
    "format": "boolean"
  },
  "lifts": {
    "label": "♿ Lifts",
    "format": "text"
  },
  "toilets": {
    "label": "🚻 Toilets",
    "format": "text"
  },
  "cashMachines": {
    "label": "💵 Cash Machines",
    "format": "text"
  },
  "helpPoints": {
    "label": "ℹ️ Help Points",
    "format": "text"
  },
  "boardingRamps": {
    "label": "♿ Boarding Ramps",
    "format": "text"
  },
  "hubNaptanCode": {
    "label": "🆔 Hub NaPTAN Code",
    "format": "text"
  },
  "childStopCount": {
    "label": "🔢 Child Stop Count",
    "format": "number"
  },
  "lineGroups": {
    "label": "📦 Line Groups",
    "format": "array"
  },
  "address": {
    "label": "🏠 Address",
    "format": "text"
  },
  "additionalProperties": {
    "label": "📦 Additional Properties",
    "format": "object"
  },
  "disruptions": {
    "label": "📦 Disruptions (raw)",
    "format": "array"
  },
  "vehicleId": {
    "label": "🚌 Vehicle ID",
    "format": "text"
  },
  "stationName": {
    "label": "🚉 Station Name",
    "format": "text"
  },
  "lineId": {
    "label": "🆔 Line ID",
    "format": "text"
  },
  "lineName": {
    "label": "🚇 Line Name",
    "format": "text"
  },
  "platformName": {
    "label": "🚉 Platform",
    "format": "text"
  },
  "direction": {
    "label": "🧭 Direction",
    "format": "text"
  },
  "bearing": {
    "label": "🧭 Bearing",
    "format": "text"
  },
  "destinationNaptanId": {
    "label": "🆔 Destination NaPTAN",
    "format": "text"
  },
  "destinationName": {
    "label": "📌 Destination",
    "format": "text"
  },
  "timestamp": {
    "label": "🕒 Timestamp",
    "format": "date"
  },
  "timeToStationSeconds": {
    "label": "🕒 Time To Station (s)",
    "format": "number"
  },
  "currentLocation": {
    "label": "📍 Current Location",
    "format": "text"
  },
  "towards": {
    "label": "🧭 Towards",
    "format": "text"
  },
  "expectedArrival": {
    "label": "🕒 Expected Arrival",
    "format": "date"
  },
  "terminalName": {
    "label": "🆔 Terminal",
    "format": "text"
  },
  "installed": {
    "label": "🚦 Installed",
    "format": "text"
  },
  "locked": {
    "label": "🔒 Locked",
    "format": "text"
  },
  "installDate": {
    "label": "📅 Install Date",
    "format": "text"
  },
  "temporary": {
    "label": "🚦 Temporary",
    "format": "text"
  },
  "bikesAvailable": {
    "label": "🚲 Bikes Available",
    "format": "number"
  },
  "emptyDocks": {
    "label": "🅿️ Empty Docks",
    "format": "number"
  },
  "totalDocks": {
    "label": "🅿️ Total Docks",
    "format": "number"
  },
  "standardBikes": {
    "label": "🚲 Standard Bikes",
    "format": "number"
  },
  "eBikes": {
    "label": "⚡ E-Bikes",
    "format": "number"
  },
  "forecastType": {
    "label": "🏷️ Forecast Type",
    "format": "text"
  },
  "forecastID": {
    "label": "🆔 Forecast ID",
    "format": "text"
  },
  "publishedDate": {
    "label": "📅 Published",
    "format": "date"
  },
  "fromDate": {
    "label": "📅 From Date",
    "format": "date"
  },
  "toDate": {
    "label": "📅 To Date",
    "format": "date"
  },
  "forecastBand": {
    "label": "🚦 Forecast Band",
    "format": "text"
  },
  "forecastSummary": {
    "label": "📝 Forecast Summary",
    "format": "text"
  },
  "nO2Band": {
    "label": "🌫️ NO2 Band",
    "format": "text"
  },
  "o3Band": {
    "label": "🌫️ O3 Band",
    "format": "text"
  },
  "pM10Band": {
    "label": "🌫️ PM10 Band",
    "format": "text"
  },
  "pM25Band": {
    "label": "🌫️ PM2.5 Band",
    "format": "text"
  },
  "sO2Band": {
    "label": "🌫️ SO2 Band",
    "format": "text"
  },
  "forecastText": {
    "label": "📝 Forecast Text",
    "format": "text"
  },
  "totalSpaces": {
    "label": "🅿️ Total Spaces",
    "format": "number"
  },
  "occupied": {
    "label": "🚗 Occupied",
    "format": "number"
  },
  "free": {
    "label": "🅿️ Free",
    "format": "number"
  },
  "bays": {
    "label": "📦 Bays",
    "format": "array"
  },
  "snapshotTime": {
    "label": "🕒 Snapshot Time",
    "format": "date"
  },
  "error": {
    "label": "❌ Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Transport for London (TfL) Live Status Scraper](https://apify.com/parseforge/tfl-london-status-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/tfl-london-status-scraper) to learn more, explore other use cases, and run it yourself.