Moovit Lines API

Line metadata, stops, geometry, schedules, and alerts.

Operations 8

GET /Lines/GetLineBasicInfo Get Line Basic Info #
GET /Lines/GetLineStops Get Line Stops #
GET /Lines/GetLineShape Get Line Shape #
GET /Lines/GetLinePatternShape Get Line Pattern Shape #
GET /Lines/GetLineSchedule Get Line Schedule #
GET /Lines/GetLineAlerts Get Line Alerts #
GET /Lines/GetLineReviews Get Line Reviews #
GET /Lines/GetLineFullInfo Get Line Full Info #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/moovit-lines-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

moovit-lines-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Moovit Public Transit Lines API
  description: Moovit Public Transit APIs power multimodal trip planning, nearby transit discovery, stops and lines metadata, real-time arrival predictions, and service alerts across more than 3,500 cities in 112 countries.
  version: 5.1.0.0
  contact:
    name: Moovit API Helpdesk
    email: helpdesk@moovit.com
    url: https://api-docs.moovit.com/
  license:
    name: Commercial
    url: https://moovit.com/maas-solutions/transit-apis/
servers:
- url: https://app5.moovitapp.com/services-app/services
  description: Production
- url: https://api.moovitapp.com/services-app/services/EX/API
  description: Production (MAG)
- url: https://stg.moovitapp.com/services-app/services
  description: Staging
security:
- apiKey: []
  hmacAuth: []
tags:
- name: Lines
  description: Line metadata, stops, geometry, schedules, and alerts.
paths:
  /Lines/GetLineBasicInfo:
    get:
      tags:
      - Lines
      summary: Get Line Basic Info
      description: Line number, name, color, and icon.
      parameters:
      - in: query
        name: lineId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Basic line info.
      operationId: getLinesGetLineBasicInfo
      x-operation-id-source: derived
  /Lines/GetLineStops:
    get:
      tags:
      - Lines
      summary: Get Line Stops
      description: All stops served by a line.
      parameters:
      - in: query
        name: lineId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Stops on the line.
      operationId: getLinesGetLineStops
      x-operation-id-source: derived
  /Lines/GetLineShape:
    get:
      tags:
      - Lines
      summary: Get Line Shape
      description: Geographic route geometry for a line.
      parameters:
      - in: query
        name: lineId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Encoded line geometry.
      operationId: getLinesGetLineShape
      x-operation-id-source: derived
  /Lines/GetLinePatternShape:
    get:
      tags:
      - Lines
      summary: Get Line Pattern Shape
      description: Pattern-specific geometry for a line variant.
      parameters:
      - in: query
        name: lineId
        required: true
        schema:
          type: string
      - in: query
        name: patternId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Pattern geometry.
      operationId: getLinesGetLinePatternShape
      x-operation-id-source: derived
  /Lines/GetLineSchedule:
    get:
      tags:
      - Lines
      summary: Get Line Schedule
      description: Timetable for a line.
      parameters:
      - in: query
        name: lineId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Line schedule.
      operationId: getLinesGetLineSchedule
      x-operation-id-source: derived
  /Lines/GetLineAlerts:
    get:
      tags:
      - Lines
      summary: Get Line Alerts
      description: Service disruptions for a line.
      parameters:
      - in: query
        name: lineId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Active alerts on the line.
      operationId: getLinesGetLineAlerts
      x-operation-id-source: derived
  /Lines/GetLineReviews:
    get:
      tags:
      - Lines
      summary: Get Line Reviews
      description: User feedback for a line.
      parameters:
      - in: query
        name: lineId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Reviews for the line.
      operationId: getLinesGetLineReviews
      x-operation-id-source: derived
  /Lines/GetLineFullInfo:
    get:
      tags:
      - Lines
      summary: Get Line Full Info
      description: Comprehensive line data including stops, shape, schedule, and alerts.
      parameters:
      - in: query
        name: lineId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Full line data.
      operationId: getLinesGetLineFullInfo
      x-operation-id-source: derived
components:
  securitySchemes:
    hmacAuth:
      type: apiKey
      in: header
      name: Authorization
      description: HMAC-SHA256 signature in the form `hmacauth <signature>:<nonce>:<timestamp>` over `<timestamp>:<payload>:<nonce>` using the API secret key.
    apiKey:
      type: apiKey
      in: header
      name: API_KEY
      description: Public API key issued by Moovit. Required on every request.
externalDocs:
  description: Moovit Public Transit APIs reference
  url: https://api-docs.moovit.com/api-docs/5.1/MoovitPublicTransitAPIs.html