Metro Transit Alerts API

The Alerts API from Metro Transit — 3 operation(s) for alerts.

Operations 3

GET /alerts/{id}
GET /alerts/alert/{id}
GET /alerts/all

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-alerts-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-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Service Alerts 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: Alerts
paths:
  /alerts/{id}:
    get:
      tags:
      - Alerts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IAlert'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /alerts/alert/{id}:
    get:
      tags:
      - Alerts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IAlert'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
  /alerts/all:
    get:
      tags:
      - Alerts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IAlert'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
components:
  schemas:
    TripDescriptor:
      type: object
      properties:
        trip_id:
          type:
          - string
          - 'null'
        route_id:
          type:
          - string
          - 'null'
        direction_id:
          type: integer
          format: int32
        direction_text:
          type:
          - string
          - 'null'
      additionalProperties: false
    LocalizedImage:
      type: object
      properties:
        url:
          type:
          - string
          - 'null'
        media_type:
          type:
          - string
          - 'null'
        language:
          type:
          - string
          - 'null'
      additionalProperties: false
    Image:
      type: object
      properties:
        localized_image:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/LocalizedImage'
      additionalProperties: false
    EntitySelector:
      type: object
      properties:
        agency_id:
          type:
          - string
          - 'null'
        route_id:
          type:
          - string
          - 'null'
        route_type:
          type: integer
          format: int32
        direction_id:
          type:
          - integer
          - 'null'
          format: int32
        direction_text:
          type:
          - string
          - 'null'
        trip:
          $ref: '#/components/schemas/TripDescriptor'
        stop_id:
          type:
          - string
          - 'null'
        route_label:
          type:
          - string
          - 'null'
          readOnly: true
      additionalProperties: false
    Translation:
      type: object
      properties:
        text:
          type:
          - string
          - 'null'
        language:
          type:
          - string
          - 'null'
      additionalProperties: false
    TimeRange:
      type: object
      properties:
        start:
          type: integer
          format: int64
        end:
          type:
          - integer
          - 'null'
          format: int64
      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: {}
    IAlert:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          readOnly: true
        last_modified_timestamp:
          type: integer
          format: int32
          readOnly: true
        alert_lifecycle:
          type:
          - string
          - 'null'
          readOnly: true
        active_period:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/TimeRange'
          readOnly: true
        informed_entity:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EntitySelector'
          readOnly: true
        cause:
          type:
          - string
          - 'null'
          readOnly: true
        effect:
          type:
          - string
          - 'null'
          readOnly: true
        effect_detail:
          type:
          - string
          - 'null'
          readOnly: true
        url:
          $ref: '#/components/schemas/TranslatedString'
        header_text:
          $ref: '#/components/schemas/TranslatedString'
        description_text:
          $ref: '#/components/schemas/TranslatedString'
        severity_level:
          type:
          - string
          - 'null'
          readOnly: true
        image:
          $ref: '#/components/schemas/Image'
      additionalProperties: false
    TranslatedString:
      type: object
      properties:
        translation:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Translation'
      additionalProperties: false