{
  "opencollection": "1.0.0",
  "info": {
    "name": "Transit API",
    "version": "v3.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Departures",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Stop Departures",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-doc.transitapp.com/public/stop_departures",
            "params": [
              {
                "name": "stop_codes",
                "value": "",
                "type": "query",
                "description": "One or more stop codes to get departures for"
              },
              {
                "name": "max_departures",
                "value": "",
                "type": "query",
                "description": "Maximum number of departures to return per route"
              },
              {
                "name": "network_id",
                "value": "",
                "type": "query",
                "description": "Filter departures to a specific network"
              }
            ]
          },
          "docs": "Returns upcoming departures for all routes serving one or more stops, with optional real-time information including vehicle locations and predictions."
        }
      ]
    },
    {
      "info": {
        "name": "Networks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Transit Networks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-doc.transitapp.com/public/networks",
            "params": [
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude to filter networks by proximity"
              },
              {
                "name": "lon",
                "value": "",
                "type": "query",
                "description": "Longitude to filter networks by proximity"
              },
              {
                "name": "include_agencies",
                "value": "",
                "type": "query",
                "description": "Include agency details in response"
              }
            ]
          },
          "docs": "Returns a list of transit networks available in the Transit system. Optionally filter by geographic coordinates to get networks near a specific location."
        }
      ]
    },
    {
      "info": {
        "name": "Routes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Routes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-doc.transitapp.com/public/routes",
            "params": [
              {
                "name": "network_ids",
                "value": "",
                "type": "query",
                "description": "Network IDs to get routes for"
              }
            ]
          },
          "docs": "Returns all routes for a list of given transit networks."
        }
      ]
    },
    {
      "info": {
        "name": "Stops",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Stops",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-doc.transitapp.com/public/stops",
            "params": [
              {
                "name": "network_id",
                "value": "",
                "type": "query",
                "description": "Network ID to get stops for"
              },
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude for proximity filtering"
              },
              {
                "name": "lon",
                "value": "",
                "type": "query",
                "description": "Longitude for proximity filtering"
              },
              {
                "name": "radius",
                "value": "",
                "type": "query",
                "description": "Search radius in meters"
              }
            ]
          },
          "docs": "Returns all stops for a given transit network."
        }
      ]
    },
    {
      "info": {
        "name": "Trips",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Plan Trip",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-doc.transitapp.com/public/trip",
            "params": [
              {
                "name": "origin_lat",
                "value": "",
                "type": "query",
                "description": "Origin latitude"
              },
              {
                "name": "origin_lon",
                "value": "",
                "type": "query",
                "description": "Origin longitude"
              },
              {
                "name": "destination_lat",
                "value": "",
                "type": "query",
                "description": "Destination latitude"
              },
              {
                "name": "destination_lon",
                "value": "",
                "type": "query",
                "description": "Destination longitude"
              },
              {
                "name": "time",
                "value": "",
                "type": "query",
                "description": "Departure or arrival time (ISO 8601)"
              },
              {
                "name": "arrive_by",
                "value": "",
                "type": "query",
                "description": "Whether time represents arrival time"
              }
            ]
          },
          "docs": "Plans a multimodal trip from origin to destination, combining public transit with shared mobility options such as bikes, scooters, and carshares."
        }
      ]
    },
    {
      "info": {
        "name": "Alerts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Service Alerts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-doc.transitapp.com/public/alerts",
            "params": [
              {
                "name": "network_ids",
                "value": "",
                "type": "query",
                "description": "Network IDs to get alerts for"
              },
              {
                "name": "route_ids",
                "value": "",
                "type": "query",
                "description": "Route IDs to filter alerts"
              }
            ]
          },
          "docs": "Returns active service alerts and disruptions for one or more transit networks."
        }
      ]
    },
    {
      "info": {
        "name": "Mobility",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Nearby Vehicles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-doc.transitapp.com/public/nearby_vehicles",
            "params": [
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude of the location"
              },
              {
                "name": "lon",
                "value": "",
                "type": "query",
                "description": "Longitude of the location"
              },
              {
                "name": "radius",
                "value": "",
                "type": "query",
                "description": "Search radius in meters"
              }
            ]
          },
          "docs": "Returns real-time vehicle positions and shared mobility options (bikes, scooters, carshares) near a geographic location."
        }
      ]
    }
  ],
  "bundled": true
}