Transport for London, England · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Transport for London Unified Line API

22 actions 22 updates phrasing extends openapi/transport-for-london-england-line-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Transport for London, England's API. It is a proposal applied on top of the contract, not a document Transport for London, England publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 22 · first 16 shown; the file carries all of them

$.info
$.paths['/Line/Meta/Modes'].get
$.paths['/Line/Meta/Severity'].get
$.paths['/Line/Meta/DisruptionCategories'].get
$.paths['/Line/Meta/ServiceTypes'].get
$.paths['/Line/{ids}'].get
$.paths['/Line/Mode/{modes}'].get
$.paths['/Line/Route'].get
$.paths['/Line/{ids}/Route'].get
$.paths['/Line/Mode/{modes}/Route'].get
$.paths['/Line/{id}/Route/Sequence/{direction}'].get
$.paths['/Line/{ids}/Status/{StartDate}/to/{EndDate}'].get
$.paths['/Line/{ids}/Status'].get
$.paths['/Line/Search/{query}'].get
$.paths['/Line/Status/{severity}'].get
$.paths['/Line/Mode/{modes}/Status'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Transport for London Unified Line API
  version: 1.0.0
extends: openapi/transport-for-london-england-line-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 21
- target: $.paths['/Line/Meta/Modes'].get
  update:
    x-apievangelist-phrasing:
      intent: List valid line modes
      effect: read
      questions:
      - Which transport modes like tube or dlr can I filter lines by?
      - What mode values does the line mode lookup accept?
      instructions:
      - text: List the valid line modes.
      - text: Show me the transport mode codes for filtering lines.
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Meta/Severity'].get
  update:
    x-apievangelist-phrasing:
      intent: List valid disruption severity codes
      effect: read
      questions:
      - What severity levels are used for line disruptions?
      - Can I get the severity code lookup for line status?
      instructions:
      - text: List the valid disruption severity codes.
      - text: Show the severity level codes for line status.
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Meta/DisruptionCategories'].get
  update:
    x-apievangelist-phrasing:
      intent: List valid disruption categories
      effect: read
      questions:
      - Which disruption categories can I filter line disruptions by?
      - What category values exist for line disruption messages?
      instructions:
      - text: List the valid disruption categories.
      - text: Show the disruption category codes for filtering.
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Meta/ServiceTypes'].get
  update:
    x-apievangelist-phrasing:
      intent: List valid service types for lines
      effect: read
      questions:
      - What service types like Regular or Night can I filter lines by?
      - Which service type values exist for line routes?
      instructions:
      - text: List the valid service types for lines.
      - text: Show the service type codes for filtering line routes.
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{ids}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get lines by line id
      effect: read
      questions:
      - How do I look up the status of specific lines by their id?
      - Can I fetch several lines at once by id?
      instructions:
      - text: Get lines {ids}.
        slots:
          ids: path.ids
      - text: Show the status of lines {ids} in one call.
        slots:
          ids: path.ids
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Mode/{modes}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get lines serving a transport mode
      effect: read
      questions:
      - Which lines serve a particular mode like the tube or DLR?
      - Can I list all lines operating on a given mode?
      instructions:
      - text: Get lines that serve mode {modes}.
        slots:
          modes: path.modes
      - text: Show all lines operating on {modes}.
        slots:
          modes: path.modes
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Route'].get
  update:
    x-apievangelist-phrasing:
      intent: List all line routes and termini
      effect: read
      questions:
      - What are the full routes and terminating stops for every line?
      - Can I get the origin and destination stop names for all lines?
      instructions:
      - text: List all line routes with origin and destination stops.
      - text: Show every line's full route and termini.
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{ids}/Route'].get
  update:
    x-apievangelist-phrasing:
      intent: List routes for specific lines
      effect: read
      questions:
      - What routes exist for a few specific lines?
      - Can I get the terminating stops for selected lines only?
      instructions:
      - text: List routes for lines {ids}.
        slots:
          ids: path.ids
      - text: Show the origin and destination stops of lines {ids}.
        slots:
          ids: path.ids
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Mode/{modes}/Route'].get
  update:
    x-apievangelist-phrasing:
      intent: List routes for lines of a mode
      effect: read
      questions:
      - Which lines and routes serve a given mode?
      - Can I get route termini for all lines of one mode?
      instructions:
      - text: List routes for lines of mode {modes}.
        slots:
          modes: path.modes
      - text: Show the full routes of every line on {modes}.
        slots:
          modes: path.modes
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{id}/Route/Sequence/{direction}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get stop sequences on a line route
      effect: read
      questions:
      - What stops are on a line's route in order?
      - Can I see the stop sequence for a line in one direction?
      instructions:
      - text: Get the stop sequence for line {id} in direction {direction}.
        slots:
          id: path.id
          direction: path.direction
      - text: Show the ordered stops on {id} going {direction}.
        slots:
          id: path.id
          direction: path.direction
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{ids}/Status/{StartDate}/to/{EndDate}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the status of London Underground lines over dates
      effect: read
      questions:
      - What is the status of the Circle and Victoria lines on a given day?
      - Can I see which stops are affected by delays on a tube line?
      - How do I check line status for a date range in the past?
      instructions:
      - text: Get the status of lines {ids} from {startDate} to {endDate}.
        slots:
          ids: path.ids
          startDate: path.StartDate
          endDate: path.EndDate
      - text: Show {ids} status between {startDate} and {endDate} with disruption details.
        slots:
          ids: path.ids
          startDate: query.dateRange.startDate
          endDate: query.dateRange.endDate
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{ids}/Status'].get
  update:
    x-apievangelist-phrasing:
      intent: Get current line status
      effect: read
      questions:
      - What is the current status of several lines?
      - Can I get line status for a list of line ids right now?
      instructions:
      - text: Get the current status of lines {ids}.
        slots:
          ids: path.ids
      - text: Show line status for {ids} with full disruption details.
        slots:
          ids: path.ids
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Search/{query}'].get
  update:
    x-apievangelist-phrasing:
      intent: Search lines and routes by text
      effect: read
      questions:
      - How do I find a line or route by name?
      - Can I search lines by mode or service type?
      instructions:
      - text: Search lines and routes for {query}.
        slots:
          query: path.query
      - text: Find lines matching {query} on {modes}.
        slots:
          query: path.query
          modes: query.modes
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Status/{severity}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get lines with a given disruption severity
      effect: read
      questions:
      - Which lines have a disruption severity of 14?
      - Can I list lines by severity level?
      instructions:
      - text: Get lines with severity {severity}.
        slots:
          severity: path.severity
      - text: Show all lines at disruption severity {severity}.
        slots:
          severity: path.severity
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Mode/{modes}/Status'].get
  update:
    x-apievangelist-phrasing:
      intent: Get line status for a transport mode
      effect: read
      questions:
      - What is the status of all lines on a given mode?
      - Can I see line status for one mode only?
      instructions:
      - text: Get line status for mode {modes}.
        slots:
          modes: path.modes
      - text: Show the status of every line on {modes}.
        slots:
          modes: path.modes
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{id}/StopPoints'].get
  update:
    x-apievangelist-phrasing:
      intent: List stations serving a line
      effect: read
      questions:
      - Which stations serve a particular line?
      - Can I get only the National Rail stations operated by TfL?
      instructions:
      - text: List the stations serving line {id}.
        slots:
          id: path.id
      - text: Show stations on {id} operated by TfL only.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{id}/Timetable/{fromStopPointId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a station's timetable for a line
      effect: read
      questions:
      - What times does a line run through a given station?
      - Can I get a station's timetable for one line?
      instructions:
      - text: Get the timetable for line {id} at station {fromStopPointId}.
        slots:
          id: path.id
          fromStopPointId: path.fromStopPointId
      - text: Show when {id} runs through {fromStopPointId}.
        slots:
          id: path.id
          fromStopPointId: path.fromStopPointId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{id}/Timetable/{fromStopPointId}/to/{toStopPointId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a station-to-station timetable
      effect: read
      questions:
      - What times does a line run from one station to another?
      - Can I get a journey timetable between two stops?
      instructions:
      - text: Get the timetable for line {id} from {fromStopPointId} to {toStopPointId}.
        slots:
          id: path.id
          fromStopPointId: path.fromStopPointId
          toStopPointId: path.toStopPointId
      - text: Show the journey from {fromStopPointId} to {toStopPointId} on {id}.
        slots:
          fromStopPointId: path.fromStopPointId
          toStopPointId: path.toStopPointId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{ids}/Disruption'].get
  update:
    x-apievangelist-phrasing:
      intent: Get disruptions on lines
      effect: read
      questions:
      - What disruptions are affecting certain lines?
      - Can I see disruption messages for several lines at once?
      instructions:
      - text: Get disruptions on lines {ids}.
        slots:
          ids: path.ids
      - text: Show the disruption messages for lines {ids}.
        slots:
          ids: path.ids
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/Mode/{modes}/Disruption'].get
  update:
    x-apievangelist-phrasing:
      intent: Get disruptions on all lines of a mode
      effect: read
      questions:
      - Which lines of a given mode are disrupted?
      - Can I see disruptions across every line on a mode?
      instructions:
      - text: Get disruptions on all lines of mode {modes}.
        slots:
          modes: path.modes
      - text: Show disruption messages for every line on {modes}.
        slots:
          modes: path.modes
      method: generated
      generated: '2026-11-20'
- target: $.paths['/Line/{ids}/Arrivals/{stopPointId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get arrival predictions for a stop
      effect: read
      questions:
      - When will the next train arrive at a stop for a line?
      - Can I get predictions for several lines at once?
      instructions:
      - text: Get arrival predictions for lines {ids} at stop {stopPointId}.
        slots:
          ids: path.ids
          stopPointId: path.stopPointId
      - text: Show arrivals for {ids} at stop {stopPointId} going to {destinationStationId}.
        slots:
          ids: path.ids
          stopPointId: path.stopPointId
          destinationStationId: query.destinationStationId
      method: generated
      generated: '2026-11-20'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/transport-for-london-england-line-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.