---
updatedAt: 2026-09-23T20:15:10.000Z
agentTools:
  projectIndex: https://mediroutes-api.readme.io/llms.txt
---

# Get the status of trips based on either ride IDs or trip GUIDs.

You must provide up to 100 ride_ids or trip_guids, but not both. The API will return the status of the trips corresponding to the provided IDs.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "V1",
    "title": "MediroutesAPI V1"
  },
  "paths": {
    "/api/v{version}/tripstatus/getMultipleTripStatuses": {
      "get": {
        "tags": [
          "TripStatus"
        ],
        "summary": "Get the status of trips based on either ride IDs or trip GUIDs.",
        "description": "You must provide up to 100 ride_ids or trip_guids, but not both. The API will return the status of the trips corresponding to the provided IDs.",
        "operationId": "get-multipletripstatuses",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "description": "Your API key for authentication.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ride_ids",
            "in": "query",
            "description": "Optional. A list of up to 100 ride IDs. Provide either this or trip_guids, but not both.",
            "required": false,
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "trip_guids",
            "in": "query",
            "description": "Optional. A list of up to 100 trip GUIDs. Provide either this or ride_ids, but not both.",
            "required": false,
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "access token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Trip Status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TripStatusModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TripStatusModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TripStatusModel"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TripStatusModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Missing or unaligned data. Error message will be returned with response."
          },
          "403": {
            "description": "The api key used does not have access to this resource."
          }
        },
        "x-ai-description": "Batch status read: returns the current status for up to 100 trips in one call. Provide EITHER ride_ids OR trip_guids (never both, 400 otherwise); 404 when none of the ids resolve.",
        "x-ai-when-to-use": "You need statuses for several trips at once - e.g. all of a day's trips from rides/getRidesByDate or a week's ids from rides/query - instead of calling the single-status endpoints repeatedly.",
        "x-ai-side-effects": "read-only",
        "x-ai-returns": "Array of TripStatusModels (status, times, driver/vehicle) in the order resolved; ids that do not match are omitted.",
        "x-ai-required-permission": "dispatch,tripManagement",
        "x-ai-display": {
          "title": "Trip Statuses",
          "key": "trip_guid",
          "columns": [
            {
              "field": "status",
              "header": "Status"
            },
            {
              "field": "req_pickup_time",
              "header": "Requested Pickup"
            },
            {
              "field": "appt_time",
              "header": "Appointment"
            },
            {
              "field": "pickup_eta",
              "header": "Pickup ETA"
            },
            {
              "field": "dropoff_eta",
              "header": "Dropoff ETA"
            },
            {
              "field": "pickup_ontime_status",
              "header": "On-Time Status"
            },
            {
              "field": "driver.name",
              "header": "Driver"
            },
            {
              "field": "vehicle.vehicle_name",
              "header": "Vehicle"
            },
            {
              "field": "pickup_arrive_time",
              "header": "Arrived"
            },
            {
              "field": "pickup_perform_time",
              "header": "Picked Up"
            },
            {
              "field": "dropoff_perform_time",
              "header": "Dropped Off"
            },
            {
              "field": "cancellation_reason",
              "header": "Cancel Reason"
            }
          ]
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.mediroutes.com"
    }
  ],
  "components": {
    "schemas": {
      "TripStatusModel": {
        "description": "",
        "type": "object",
        "properties": {
          "trip_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "pickup_ontime_status": {
            "type": "string"
          },
          "dropoff_ontime_status": {
            "type": "string"
          },
          "req_pickup_time": {
            "format": "date-time",
            "type": "string"
          },
          "appt_time": {
            "format": "date-time",
            "type": "string"
          },
          "pickup_eta": {
            "format": "date-time",
            "type": "string"
          },
          "dropoff_eta": {
            "format": "date-time",
            "type": "string"
          },
          "driver": {
            "$ref": "#/components/schemas/DriverModel"
          },
          "vehicle": {
            "$ref": "#/components/schemas/VehicleModel"
          },
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          },
          "trip_charge": {
            "format": "double",
            "type": "number"
          },
          "gps_pickup_arrive_time": {
            "format": "date-time",
            "type": "string"
          },
          "gps_dropoff_arrive_time": {
            "format": "date-time",
            "type": "string"
          },
          "pickup_arrive_time": {
            "format": "date-time",
            "type": "string"
          },
          "pickup_arrive_latitude": {
            "format": "double",
            "type": "number"
          },
          "pickup_arrive_longitude": {
            "format": "double",
            "type": "number"
          },
          "pickup_perform_time": {
            "format": "date-time",
            "type": "string"
          },
          "pickup_perform_latitude": {
            "format": "double",
            "type": "number"
          },
          "pickup_perform_longitude": {
            "format": "double",
            "type": "number"
          },
          "dropoff_arrive_time": {
            "format": "date-time",
            "type": "string"
          },
          "dropoff_arrive_latitude": {
            "format": "double",
            "type": "number"
          },
          "dropoff_arrive_longitude": {
            "format": "double",
            "type": "number"
          },
          "dropoff_perform_time": {
            "format": "date-time",
            "type": "string"
          },
          "dropoff_perform_latitude": {
            "format": "double",
            "type": "number"
          },
          "dropoff_perform_longitude": {
            "format": "double",
            "type": "number"
          },
          "passenger_signature": {
            "type": "string"
          },
          "passenger_signature_url": {
            "type": "string"
          },
          "driver_signature": {
            "type": "string"
          },
          "driver_signature_url": {
            "type": "string"
          },
          "passenger_dropoff_signature": {
            "type": "string"
          },
          "passenger_dropoff_signature_url": {
            "type": "string"
          },
          "driver_dropoff_signature": {
            "type": "string"
          },
          "driver_dropoff_signature_url": {
            "type": "string"
          },
          "cancellation_reason": {
            "type": "string"
          },
          "will_call_activation_time": {
            "format": "date-time",
            "type": "string"
          },
          "card_present": {
            "type": "boolean"
          },
          "card_scanned": {
            "type": "boolean"
          },
          "card_medical_id": {
            "type": "string"
          },
          "trip_guid": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "pickup_odometer": {
            "format": "int32",
            "type": "integer"
          },
          "dropoff_odometer": {
            "format": "int32",
            "type": "integer"
          }
        }
      },
      "DriverModel": {
        "type": "object",
        "properties": {
          "emp_id": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "phone_number": {
            "type": "string"
          },
          "dln": {
            "type": "string"
          },
          "email_id": {
            "type": "string"
          },
          "picture_url": {
            "type": "string"
          }
        }
      },
      "VehicleModel": {
        "type": "object",
        "properties": {
          "vehicle_name": {
            "type": "string"
          },
          "vehicle_id": {
            "format": "int32",
            "type": "integer"
          },
          "picture_url": {
            "type": "string"
          },
          "vin": {
            "type": "string"
          },
          "license_plate_no": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "year": {
            "format": "int32",
            "type": "integer"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```