Metro Transit Planner API

The Planner API from Metro Transit — 8 operation(s) for planner.

Operations 8

GET /tripplanner/findaddress/{magicKey}/{geolocator}
POST /tripplanner/moreinfo
POST /tripplanner/nearestlandmark
POST /tripplanner/nearestparkandrides
POST /tripplanner/plantrip
POST /tripplanner/routelandmarks
POST /tripplanner/servicenearby
GET /tripplanner/suggest/{text}/{location}

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/metro-transit-planner-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

metro-transit-planner-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Service Alerts Planner API
  description: API for retrieving Transit Service Alerts
  version: '1'
servers:
- url: https://svc.metrotransit.org/nextripv2
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Planner
paths:
  /tripplanner/findaddress/{magicKey}/{geolocator}:
    get:
      tags:
      - Planner
      parameters:
      - name: magicKey
        in: path
        required: true
        schema:
          type: string
      - name: geolocator
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FindAddressResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /tripplanner/moreinfo:
    post:
      tags:
      - Planner
      parameters:
      - name: moreInfo
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /tripplanner/nearestlandmark:
    post:
      tags:
      - Planner
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NearestlandmarkInput'
          text/json:
            schema:
              $ref: '#/components/schemas/NearestlandmarkInput'
          application/*+json:
            schema:
              $ref: '#/components/schemas/NearestlandmarkInput'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /tripplanner/nearestparkandrides:
    post:
      tags:
      - Planner
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NearestparkandrideInput'
          text/json:
            schema:
              $ref: '#/components/schemas/NearestparkandrideInput'
          application/*+json:
            schema:
              $ref: '#/components/schemas/NearestparkandrideInput'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /tripplanner/plantrip:
    post:
      tags:
      - Planner
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlantripInput'
          text/json:
            schema:
              $ref: '#/components/schemas/PlantripInput'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PlantripInput'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /tripplanner/routelandmarks:
    post:
      tags:
      - Planner
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutelandmarksInput'
          text/json:
            schema:
              $ref: '#/components/schemas/RoutelandmarksInput'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RoutelandmarksInput'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /tripplanner/servicenearby:
    post:
      tags:
      - Planner
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServicenearbyInput'
          text/json:
            schema:
              $ref: '#/components/schemas/ServicenearbyInput'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ServicenearbyInput'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /tripplanner/suggest/{text}/{location}:
    get:
      tags:
      - Planner
      parameters:
      - name: text
        in: path
        required: true
        schema:
          type: string
      - name: location
        in: path
        required: true
        schema:
          type: string
          default: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Suggestion'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
components:
  schemas:
    RoutelandmarksInput:
      type: object
      properties:
        route:
          type:
          - string
          - 'null'
        category:
          type:
          - string
          - 'null'
        noduplicates:
          type: boolean
      additionalProperties: false
    FindAddressResponse:
      type: object
      properties:
        address:
          type:
          - string
          - 'null'
        atis_id:
          type:
          - string
          - 'null'
        x:
          type: number
          format: double
        y:
          type: number
          format: double
      additionalProperties: false
    NearestlandmarkInput:
      type: object
      properties:
        location:
          $ref: '#/components/schemas/PlannerLocation'
        maxanswers:
          type: integer
          format: int32
        category:
          type:
          - string
          - 'null'
      additionalProperties: false
    NearestparkandrideInput:
      type: object
      properties:
        location:
          $ref: '#/components/schemas/PlannerLocation'
      additionalProperties: false
    Point:
      type: object
      properties:
        x:
          type: number
          format: double
        y:
          type: number
          format: double
      additionalProperties: false
    Suggestion:
      type: object
      properties:
        text:
          type:
          - string
          - 'null'
        magic_key:
          type:
          - string
          - 'null'
        geolocator:
          type: integer
          format: int32
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
    ServicenearbyInput:
      type: object
      properties:
        location:
          $ref: '#/components/schemas/PlannerLocation'
        walkdist:
          type: number
          format: double
        accessible:
          type: boolean
      additionalProperties: false
    PlannerLocation:
      type: object
      properties:
        description:
          type:
          - string
          - 'null'
        point:
          $ref: '#/components/schemas/Point'
        landmarkid:
          type: integer
          format: int32
      additionalProperties: false
    PlantripInput:
      type: object
      properties:
        origin:
          $ref: '#/components/schemas/PlannerLocation'
        destination:
          $ref: '#/components/schemas/PlannerLocation'
        arrdep:
          type:
          - string
          - 'null'
        walkdist:
          type: number
          format: double
        minimize:
          type:
          - string
          - 'null'
        accessible:
          type: boolean
        xmode:
          type:
          - string
          - 'null'
        datetime:
          type: string
          format: date-time
      additionalProperties: false