{
  "data": {
    "id": "6Bu34zyeyJvaOAR79",
    "actId": "6JUeeW4ixrL8pnSKO",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-11-24T03:42:47.903Z",
    "finishedAt": "2026-11-24T03:43:00.602Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 12625,
      "runTimeSecs": 12.625,
      "computeUnits": 0.014027777777777778,
      "imageSizeBytes": 319158272
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "QYo53EZkJk0prePWY",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Deutsche Bahn / BVG Scraper Input\",\n  \"description\": \"Search German transit stations, find routes, or get live departure boards via the free BVG REST API.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"stations\",\n        \"routes\",\n        \"departures\"\n      ],\n      \"enumTitles\": [\n        \"Search stations\",\n        \"Find routes between two stations\",\n        \"Live departure board\"\n      ],\n      \"default\": \"stations\",\n      \"prefill\": \"stations\"\n    },\n    \"query\": {\n      \"title\": \"Station search query\",\n      \"type\": \"string\",\n      \"description\": \"Station name to search for (mode=stations or mode=departures).\",\n      \"editor\": \"textfield\",\n      \"default\": \"Berlin\",\n      \"prefill\": \"Berlin\"\n    },\n    \"origin\": {\n      \"title\": \"Origin station\",\n      \"type\": \"string\",\n      \"description\": \"Departure station name (mode=routes).\",\n      \"editor\": \"textfield\",\n      \"default\": \"Berlin Hauptbahnhof\",\n      \"prefill\": \"Berlin Hauptbahnhof\"\n    },\n    \"destination\": {\n      \"title\": \"Destination station\",\n      \"type\": \"string\",\n      \"description\": \"Arrival station name (mode=routes).\",\n      \"editor\": \"textfield\",\n      \"default\": \"Hamburg Hauptbahnhof\",\n      \"prefill\": \"Hamburg Hauptbahnhof\"\n    },\n    \"stationId\": {\n      \"title\": \"Station ID\",\n      \"type\": \"string\",\n      \"description\": \"Specific BVG stop ID for departures (optional, mode=departures).\",\n      \"editor\": \"textfield\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of records to return.\",\n      \"minimum\": 1,\n      \"maximum\": 200,\n      \"default\": 20,\n      \"prefill\": 20\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Berlin Transit Station, Route and Departure Scraper\n\nBerlin and Brandenburg run one of Europe's densest local transit networks — S-Bahn, U-Bahn, trams, buses, ferries and regional rail under the VBB fare union. This actor gives you three ways into that network: find a stop by name, plan a journey between two stops, or pull a live departure board for a single stop.\n\n## What this actor does\n\n- **Station lookup** — search any Berlin/Brandenburg stop name and get back matches with coordinates and the transport modes served there.\n- **Journey planning** — resolve an origin and destination stop by name and return upcoming journeys with timing, transfers and price.\n- **Live departures** — pull the next scheduled departures from a specific stop, including real-time delay minutes when reported.\n- Covers every local transport mode in the network: suburban (S-Bahn), subway (U-Bahn), tram, bus, ferry, express and regional trains that call at a covered stop.\n- Fields that aren't available for a given record (e.g. no delay reported, or no price for a journey) are omitted rather than returned empty.\n\n## Output: per station (mode=`stations`)\n\n- `stationId` — unique stop identifier\n- `stationName` — station or stop name\n- `type` — stop/station type as reported by the network\n- `lat`, `lng` — coordinates\n- `transportModes` — list of modes served at this stop (e.g. `suburban`, `bus`)\n- `lines` — up to 10 line names serving this stop\n- `recordType` — always `station`\n- `scrapedAt` — ISO 8601 timestamp of collection\n\n## Output: per journey (mode=`routes`)\n\n- `origin`, `destination` — resolved stop names\n- `departure`, `arrival` — timestamps for the first and last leg\n- `durationMinutes` — total journey time\n- `transfers` — number of changes\n- `price`, `currency` — fare, when the route carries pricing data\n- `transportModes` — modes used across all legs (includes `walking` for transfer walks)\n- `lines` — line names used, leg by leg\n- `recordType` — always `journey`\n- `scrapedAt` — ISO 8601 timestamp of collection\n\n## Output: per departure (mode=`departures`)\n\n- `stationId`, `stationName` — the stop the board is for\n- `line` — line name (e.g. `S1`, `M41`)\n- `mode` — transport mode of that line\n- `operator` — operating company\n- `towards` — destination/direction shown on the board\n- `scheduledAt` — scheduled departure time\n- `delayMinutes` — reported delay in minutes, when available\n- `recordType` — always `departure`\n- `scrapedAt` — ISO 8601 timestamp of collection\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `stations` | `stations`, `routes`, or `departures` |\n| `query` | string | `Berlin` | Stop name to search (mode=`stations`), or to resolve a departure board when `stationId` isn't set (mode=`departures`) |\n| `origin` | string | `Berlin Hauptbahnhof` | Departure stop name (mode=`routes`) |\n| `destination` | string | `Hamburg Hauptbahnhof` | Arrival stop name (mode=`routes`) — see FAQ: use a Berlin/Brandenburg stop name for a real match |\n| `stationId` | string | – | Specific stop ID to use directly for a departure board (mode=`departures`), skips the name lookup |\n| `maxItems` | integer | `20` | Maximum records to return (1–200) |\n\n### Example: search for a stop\n\n```json\n{\n  \"mode\": \"stations\",\n  \"query\": \"Alexanderplatz\"\n}\n```\n\n### Example: plan a journey\n\n```json\n{\n  \"mode\": \"routes\",\n  \"origin\": \"Berlin Hauptbahnhof\",\n  \"destination\": \"Potsdam Hauptbahnhof\",\n  \"maxItems\": 5\n}\n```\n\n### Example: live departure board by station ID\n\n```json\n{\n  \"mode\": \"departures\",\n  \"stationId\": \"900000100003\",\n  \"maxItems\": 20\n}\n```\n\n## Use cases\n\n- **Travel planning tools** — resolve a Berlin-area stop name and preview upcoming journeys before booking.\n- **Delay monitoring** — poll a stop's departure board to track live delays through the day.\n- **Trip comparison** — compare transfer count and duration across journey options for the same route.\n- **Transit app prototyping** — pull real stop IDs, coordinates and served lines to seed a dataset.\n- **Commuter research** — check which transport modes serve a given stop before relying on it.\n\n## FAQ\n\n**Does this cover all of Germany, or just Berlin?**\nJust the Berlin/Brandenburg (VBB) network. A query for a stop outside that area (e.g. a Munich or Hamburg address) won't error — it will fuzzy-match the closest-sounding Berlin/Brandenburg stop name instead, which can produce a misleading result. Stick to stops within Berlin and Brandenburg for reliable matches.\n\n**Does this only cover Deutsche Bahn long-distance trains?**\nNo — it covers the local Berlin/Brandenburg network: S-Bahn, U-Bahn, trams, buses, ferries and regional trains, wherever that mode of transport serves the stop you searched. Long-distance ICE/IC services aren't indexed by this data source.\n\n**How do I find a `stationId` for the departures mode?**\nRun mode=`stations` first with a name query; each result includes `stationId`. You can then pass that ID directly, or just leave `stationId` empty and set `query` to the stop name.\n\n**Why is `price` missing from some journeys?**\nNot every route returns fare data; when a journey has no fare attached, the `price` and `currency` fields are left out of that record.\n\n**Why is `delayMinutes` missing from some departures?**\nIt's only included when the network reports an active delay for that departure; on-time departures simply omit it.\n\n**Is the data real-time?**\nStation and journey data reflects the network's current schedule; departure boards reflect live timing including delays where reported.\n\n**Is this affiliated with Deutsche Bahn, BVG or VBB?**\nNo. This is an independent, third-party actor built on publicly available Berlin/Brandenburg transit data.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "berlin-transit-station-route-and-departure-scraper",
      "title": "Berlin Transit Station, Route and Departure Scraper",
      "description": "Look up Berlin-area transit stations, plan journeys between two stops with transfers and prices, or pull a live departure board with delays, across the Berlin/Brandenburg S-Bahn, U-Bahn, tram, bus and regional-rail network.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Berlin Transit Station, Route and Departure Scraper\n\nBerlin and Brandenburg run one of Europe's densest local transit networks — S-Bahn, U-Bahn, trams, buses, ferries and regional rail under the VBB fare union. This actor gives you three ways into that network: find a stop by name, plan a journey between two stops, or pull a live departure board for a single stop.\n\n## What this actor does\n\n- **Station lookup** — search any Berlin/Brandenburg stop name and get back matches with coordinates and the transport modes served there.\n- **Journey planning** — resolve an origin and destination stop by name and return upcoming journeys with timing, transfers and price.\n- **Live departures** — pull the next scheduled departures from a specific stop, including real-time delay minutes when reported.\n- Covers every local transport mode in the network: suburban (S-Bahn), subway (U-Bahn), tram, bus, ferry, express and regional trains that call at a covered stop.\n- Fields that aren't available for a given record (e.g. no delay reported, or no price for a journey) are omitted rather than returned empty.\n\n## Output: per station (mode=`stations`)\n\n- `stationId` — unique stop identifier\n- `stationName` — station or stop name\n- `type` — stop/station type as reported by the network\n- `lat`, `lng` — coordinates\n- `transportModes` — list of modes served at this stop (e.g. `suburban`, `bus`)\n- `lines` — up to 10 line names serving this stop\n- `recordType` — always `station`\n- `scrapedAt` — ISO 8601 timestamp of collection\n\n## Output: per journey (mode=`routes`)\n\n- `origin`, `destination` — resolved stop names\n- `departure`, `arrival` — timestamps for the first and last leg\n- `durationMinutes` — total journey time\n- `transfers` — number of changes\n- `price`, `currency` — fare, when the route carries pricing data\n- `transportModes` — modes used across all legs (includes `walking` for transfer walks)\n- `lines` — line names used, leg by leg\n- `recordType` — always `journey`\n- `scrapedAt` — ISO 8601 timestamp of collection\n\n## Output: per departure (mode=`departures`)\n\n- `stationId`, `stationName` — the stop the board is for\n- `line` — line name (e.g. `S1`, `M41`)\n- `mode` — transport mode of that line\n- `operator` — operating company\n- `towards` — destination/direction shown on the board\n- `scheduledAt` — scheduled departure time\n- `delayMinutes` — reported delay in minutes, when available\n- `recordType` — always `departure`\n- `scrapedAt` — ISO 8601 timestamp of collection\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `stations` | `stations`, `routes`, or `departures` |\n| `query` | string | `Berlin` | Stop name to search (mode=`stations`), or to resolve a departure board when `stationId` isn't set (mode=`departures`) |\n| `origin` | string | `Berlin Hauptbahnhof` | Departure stop name (mode=`routes`) |\n| `destination` | string | `Hamburg Hauptbahnhof` | Arrival stop name (mode=`routes`) — see FAQ: use a Berlin/Brandenburg stop name for a real match |\n| `stationId` | string | – | Specific stop ID to use directly for a departure board (mode=`departures`), skips the name lookup |\n| `maxItems` | integer | `20` | Maximum records to return (1–200) |\n\n### Example: search for a stop\n\n```json\n{\n  \"mode\": \"stations\",\n  \"query\": \"Alexanderplatz\"\n}\n```\n\n### Example: plan a journey\n\n```json\n{\n  \"mode\": \"routes\",\n  \"origin\": \"Berlin Hauptbahnhof\",\n  \"destination\": \"Potsdam Hauptbahnhof\",\n  \"maxItems\": 5\n}\n```\n\n### Example: live departure board by station ID\n\n```json\n{\n  \"mode\": \"departures\",\n  \"stationId\": \"900000100003\",\n  \"maxItems\": 20\n}\n```\n\n## Use cases\n\n- **Travel planning tools** — resolve a Berlin-area stop name and preview upcoming journeys before booking.\n- **Delay monitoring** — poll a stop's departure board to track live delays through the day.\n- **Trip comparison** — compare transfer count and duration across journey options for the same route.\n- **Transit app prototyping** — pull real stop IDs, coordinates and served lines to seed a dataset.\n- **Commuter research** — check which transport modes serve a given stop before relying on it.\n\n## FAQ\n\n**Does this cover all of Germany, or just Berlin?**\nJust the Berlin/Brandenburg (VBB) network. A query for a stop outside that area (e.g. a Munich or Hamburg address) won't error — it will fuzzy-match the closest-sounding Berlin/Brandenburg stop name instead, which can produce a misleading result. Stick to stops within Berlin and Brandenburg for reliable matches.\n\n**Does this only cover Deutsche Bahn long-distance trains?**\nNo — it covers the local Berlin/Brandenburg network: S-Bahn, U-Bahn, trams, buses, ferries and regional trains, wherever that mode of transport serves the stop you searched. Long-distance ICE/IC services aren't indexed by this data source.\n\n**How do I find a `stationId` for the departures mode?**\nRun mode=`stations` first with a name query; each result includes `stationId`. You can then pass that ID directly, or just leave `stationId` empty and set `query` to the stop name.\n\n**Why is `price` missing from some journeys?**\nNot every route returns fare data; when a journey has no fare attached, the `price` and `currency` fields are left out of that record.\n\n**Why is `delayMinutes` missing from some departures?**\nIt's only included when the network reports an active delay for that departure; on-time departures simply omit it.\n\n**Is the data real-time?**\nStation and journey data reflects the network's current schedule; departure boards reflect live timing including delays where reported.\n\n**Is this affiliated with Deutsche Bahn, BVG or VBB?**\nNo. This is an independent, third-party actor built on publicly available Berlin/Brandenburg transit data.\n",
      "input": {
        "title": "Deutsche Bahn / BVG Scraper Input",
        "description": "Search German transit stations, find routes, or get live departure boards via the free BVG REST API.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch.",
            "editor": "select",
            "enum": [
              "stations",
              "routes",
              "departures"
            ],
            "enumTitles": [
              "Search stations",
              "Find routes between two stations",
              "Live departure board"
            ],
            "default": "stations",
            "prefill": "stations"
          },
          "query": {
            "title": "Station search query",
            "type": "string",
            "description": "Station name to search for (mode=stations or mode=departures).",
            "editor": "textfield",
            "default": "Berlin",
            "prefill": "Berlin"
          },
          "origin": {
            "title": "Origin station",
            "type": "string",
            "description": "Departure station name (mode=routes).",
            "editor": "textfield",
            "default": "Berlin Hauptbahnhof",
            "prefill": "Berlin Hauptbahnhof"
          },
          "destination": {
            "title": "Destination station",
            "type": "string",
            "description": "Arrival station name (mode=routes).",
            "editor": "textfield",
            "default": "Hamburg Hauptbahnhof",
            "prefill": "Hamburg Hauptbahnhof"
          },
          "stationId": {
            "title": "Station ID",
            "type": "string",
            "description": "Specific BVG stop ID for departures (optional, mode=departures).",
            "editor": "textfield"
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of records to return.",
            "minimum": 1,
            "maximum": 200,
            "default": 20,
            "prefill": 20
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Berlin Transit Station, Route and Departure Scraper Output",
        "description": "Berlin-area transit records — station lookups with transport modes, point-to-point journeys with transfers and price, and live departure boards with delays.",
        "properties": {
          "transit": {
            "type": "string",
            "title": "Transit data",
            "description": "Dataset containing all scraped station/route/departure records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Journeys",
              "transformation": {
                "fields": [
                  "origin",
                  "destination",
                  "departureTime",
                  "arrivalTime",
                  "duration",
                  "trainType"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "imageDigest": "8492c353657a2aaeea1172f6f9f81f267f81b000c2ac7837f7c61bf7ec35a213",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.014027777777777778
    }
  }
}