OPEN API
  1. Trips
OPEN API
  • Organization Info
    • Get information about your organization
      GET
  • Drivers
    • List all drivers
      GET
    • Retrieve a driver
      GET
  • Hours Of Service
    • Get HOS clocks
      GET
    • Get all driver HOS daily logs
      GET
    • Get HOS logs
      GET
  • Vehicles
    • List all vehicles
      GET
    • Retrieve a vehicle
      GET
  • Vehicle Locations
    • Historical Vehicle Locations
      GET
    • Latest Vehicle Locations
      GET
  • Trips
    • Get Vehicle Trips
      GET
  • Vehicle Stats
    • Vehicle Stats snapshot
      GET
  • Maintenance
    • Get all DVIRs
      GET
  • IFTA
    • Get IFTA jurisdiction reports
      GET
  • Webhook
    • Sample Webhook request for specific trigger
      GET
    • Subscribe to specific immediately events
      POST
    • Available list of Triggers
      GET
    • Unsubscribe form events
      POST
  • Schemas
    • Schemas
      • AvailableTime
      • CompanyDetail
      • CompanyResponse
      • CurrentStatusEnum
      • DVIRList
      • Driver
      • DVIRTrailerDefects
      • DriverLicense
      • DVIRVehicle
      • DriverResponse
      • DVIRVehicleDefects
      • HosDailyLogs
      • HosDailyLogsResponse
      • HosLogsResponse
      • ForVehicleLocationResponse
      • LicensePlate
      • Location
      • PaginatedDriverList
      • IFTAItem
      • PaginatedHosLogsResponseList
      • IFTAReport
      • PaginatedTripResponseList
      • PaginatedVehicleList
      • PaginatedVehicleLocationResponseList
      • OpenAPIWebhookSubscribeRequest
      • Response
      • OpenAPIWebhookUnsubscribeRequest
      • Result
      • StatusEnum
      • PaginatedDVIRListList
      • StatusDurations
      • TimezoneEnum
      • TripLocation
      • VehicleRoute
      • PaginatedIFTAReportList
      • PaginatedForVehicleLocationResponseList
      • TripResponse
      • VehicleRouteLocation
      • TripStartEnd
      • VehicleRouteStartEnd
      • Vehicle
      • VehicleSResponse
      • VehicleLocationResponse
      • VehicleStats
      • PaginatedWebhookTriggerList
      • VehicleResponse
      • WebhookTrigger
  1. Trips

Get Vehicle Trips

GET
https://api.firsteld.com/openapi/trips/
Get historical trips data for filtered vehicles. This method returns a set of historical trips data for vehicles in the specified time range.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.firsteld.com/openapi/trips/' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "count": 10,
    "page_size": 123,
    "previous": null,
    "current": 1,
    "next": 2,
    "results": [
        {
            "vehicle_id": "e57c411b-caf2-4a2e-b2e8-e232824b6ddf",
            "items": [
                {
                    "id": "",
                    "driver_id": "",
                    "driver_first_name": "",
                    "driver_last_name": "",
                    "start_event_datetime": "2019-08-24T14:15:22Z",
                    "start_total_odometer": 0,
                    "end_event_datetime": "2019-08-24T14:15:22Z",
                    "end_total_odometer": 0,
                    "duration": 0,
                    "distance": 0,
                    "snapshot": "http://example.com",
                    "start": {
                        "name": "",
                        "date": "2019-08-24T14:15:22Z",
                        "location": {
                            "id": "",
                            "name": "",
                            "speed": 0,
                            "latitude": 0,
                            "longitude": 0,
                            "heading": 0,
                            "state": "",
                            "direction": "",
                            "date": "2019-08-24T14:15:22Z",
                            "total_odometer": 0,
                            "odometer_type": "miles",
                            "motion_type": "",
                            "distance": 0
                        }
                    },
                    "locations": [
                        {
                            "id": "",
                            "name": "",
                            "speed": 0,
                            "latitude": 0,
                            "longitude": 0,
                            "heading": 0,
                            "state": "",
                            "direction": "",
                            "date": "2019-08-24T14:15:22Z",
                            "total_odometer": 0,
                            "odometer_type": "miles",
                            "motion_type": "",
                            "distance": 0
                        }
                    ],
                    "end": {
                        "name": "",
                        "date": "2019-08-24T14:15:22Z",
                        "location": {
                            "id": "",
                            "name": "",
                            "speed": 0,
                            "latitude": 0,
                            "longitude": 0,
                            "heading": 0,
                            "state": "",
                            "direction": "",
                            "date": "2019-08-24T14:15:22Z",
                            "total_odometer": 0,
                            "odometer_type": "miles",
                            "motion_type": "",
                            "distance": 0
                        }
                    }
                }
            ]
        }
    ]
}
Modified at 2025-08-22 17:06:20
Previous
Latest Vehicle Locations
Next
Vehicle Stats snapshot
Built with