← Market

Last Departure

Evaluates the service date from 12:00 on: all trips of that service day (GTFS times beyond 24:00 included) plus trips of the following service day leaving before 04:00. Per line and headsign the last departure, plus all departures after midnight (night service). With a destination, finds the last direct trips (no transfer) that call at the destination after the origin, with arrival time. Planned timetable from the gtfs.de Germany feed (free edition, CC BY 4.0, based on DELFI e.V.

POST https://ort.halowerk.com/v1/last-departure

0.004 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.004 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "limit": 5,
  "modes": [
    "rail"
  ],
  "stop": {
    "name": "Bonn Hbf"
  },
  "to": {
    "name": "Köln Hbf"
  }
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score73 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency75 ms
Paid calls (30d, on-chain)21 calls · 7 buyers · shared price cohort of 477
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://ort.halowerk.com/v1/last-departure · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "stop"
  ],
  "properties": {
    "stop": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "description": "Origin stop or station: give exactly one of id (GTFS stop_id from this feed), name (e.g. \"Köln Hbf\") or lat+lon (nearest served stop within 1 km).",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 40,
          "description": "GTFS stop_id from this feed (e.g. from stops-nearby)."
        },
        "name": {
          "type": "string",
          "minLength": 2,
          "maxLength": 100,
          "description": "Stop name; best match by name, exact matches first, then by number of departures."
        },
        "lat": {
          "type": "number",
          "minimum": 47,
          "maximum": 55.2,
          "description": "Latitude (WGS84)."
        },
        "lon": {
          "type": "number",
          "minimum": 5.5,
          "maximum": 15.5,
          "description": "Longitude (WGS84)."
        }
      }
    },
    "to": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "description": "Optional destination for last direct trips: give exactly one of id (GTFS stop_id from this feed), name (e.g. \"Köln Hbf\") or lat+lon (nearest served stop within 1 km).",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 40,
          "description": "GTFS stop_id from this feed (e.g. from stops-nearby)."
        },
        "name": {
          "type": "string",
          "minLength": 2,
          "maxLength": 100,
          "description": "Stop name; best match by name, exact matches first, then by number of departures."
        },
        "lat": {
          "type": "number",
          "minimum": 47,
          "maximum": 55.2,
          "description": "Latitude (WGS84)."
        },
        "lon": {
          "type": "number",
          "minimum": 5.5,
          "maximum": 15.5,
          "description": "Longitude (WGS84)."
        }
      }
    },
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Service date YYYY-MM-DD (Europe/Berlin). Default: today. Must lie inside the feed validity (see data_basis)."
    },
    "modes": {
      "type": "array",
      "maxItems": 12,
      "uniqueItems": true,
      "items": {
        "enum": [
          "tram",
          "subway",
          "rail",
          "bus",
          "coach",
          "ferry",
          "cable_tram",
          "aerial_lift",
          "funicular",
          "trolleybus",
          "monorail",
          "other"
        ]
      },
      "description": "Only these modes (GTFS route_type groups)."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 60,
      "default": 30,
      "description": "Maximum number of lines/night departures listed."
    }
  }
}
curl -i -X POST 'https://ort.halowerk.com/v1/last-departure' \
  -H 'content-type: application/json' -d '{"stop":{"name":"Bonn Hbf"},"to":{"name":"Köln Hbf"},"modes":["rail"],"limit":5}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)