Skip to content

Ramp: Fetch a trip — response body — locations item

Fetch a trip: response body, field locations / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a trip — response body — locations item

FieldTypePresenceDescription and constraints
$objectRoot
end_datestringRequired within parentThe date the trip segment ends
Format: date-time
locationModelRequired within parentExpand Fetch a trip — response body — locations item location
The location of the trip segment
start_datestringRequired within parentThe date the trip segment starts
Format: date-time

Referenced models: Fetch a trip — response body — locations item location

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.