Locations API - V2
List points of interest.
Returns a lightweight list of locations including coordinates, availability, and pricing. Ideal for rendering locations on a map.
Endpoint
GET - https://api.travisroadservices.com/v2/locations/poi
Copy
Header params
| Parameter | Type | Description |
|---|---|---|
language
|
string | Specifies the language of the response. Accepts an ISO 639-1 language prefix. |
Query params
| Parameter | Type | Description |
|---|---|---|
service
|
string | Filters locations by the service they offer. Drives which of the other filters can be applied, since most filters only apply to a specific service. |
period[from]
|
string | Start of the period used to look up parking availability and pricing. Only applicable when service=parking. Must be paired with period[to]. Format: RFC 3339 (e.g. 2026-06-15T15:15:00+02:00). The value must fall on a 15 minute interval, have seconds set to 00, and be no more than 89 days in the future. |
period[to]
|
string | End of the period used to look up parking availability and pricing. Only applicable when service=parking. Must be paired with period[from], must be after period[from], and follows the same format and constraints as period[from]. |
arrivalDate
|
string | Filters locations that are open on the given arrival date. Only applicable when service=truckwash or service=tankcleaning. Format: Y-m-d. Must be today or at most one year in the future. Required before hasAvailability can be applied for these services. |
options[]
|
string | Additional service-specific filter options. Multiple values can be passed to broaden the filter. Accepted values depend on the service: parking supports includeBookable, includeSwipeable and isTravisPayAccepted; truckcharging supports includeBookable; truckwash supports excludeSelfService; tankcleaning supports ecd. |
boundingBox[]
|
string | Restricts results to locations inside a geographic bounding box. Applies to all services. Must be an associative array with exactly the keys neLat, neLong, swLat, swLong. Latitudes are between -90 and 90, longitudes between -180 and 180, and the north east coordinates must be greater than the south west coordinates. |
price[min]
|
string | Filters locations by minimum price. Only applicable when service=parking or service=truckwash. For parking, both period[from] and period[to] must be provided; for truckwash, at least one vehicleTypes[] must be provided. When price[min] is used, currency must also be provided. |
price[max]
|
string | Filters locations by maximum price. Only applicable when service=parking or service=truckwash. For parking, both period[from] and period[to] must be provided; for truckwash, at least one vehicleTypes[] must be provided. When price[max] is used, currency must also be provided, and price[max] must be greater than or equal to price[min]. |
currency
|
string | ISO 4217 currency code used to evaluate price[min] and price[max]. Required when either of those parameters is provided. |
securityFeatures[]
|
string | Filters parking locations by available on-site security features. Only applicable when service=parking. Multiple values can be passed to broaden the filter. Possible values: gate, fence, lightAtNight, cctv, guard. |
vehiclePermissions[]
|
string | Filters parking locations by the vehicle-related facilities they offer. Only applicable when service=parking. Multiple values can be passed to broaden the filter. Possible values: adr, coolingMotorsAllowed, electricCooling, decouplingOfTrailers, longTermParking. |
driverFacilities[]
|
string | Filters parking locations by the driver facilities they offer. Only applicable when service=parking. Multiple values can be passed to broaden the filter. Possible values: restaurant, hotel, restrooms, shower, wifi. |
certifications[]
|
string | Filters parking locations by the certifications they hold. Only applicable when service=parking. The value is an array of certification UUIDs; the allowed UUIDs for the authenticated customer are returned by GET /external/location_filters?service=parking. Multiple values can be passed to broaden the filter. |
3pl
|
string | Filters parking locations approved by the given third-party logistics provider. Only applicable when service=parking and only for customers that are part of at least one third-party logistics network. The value must be a UUID of a 3PL that belongs to the authenticated customer. |
vehicleTypes[]
|
string | Filters truckwash locations by the vehicle type(s) that must be serviceable. Only applicable when service=truckwash. One or two vehicle type IDs can be provided: a single ID narrows to that vehicle type, two IDs narrow to the combination. Required before cleaningType, hasNao, hasDisinfection, and price can be applied for truckwash. |
cleaningType
|
string | Filters truckwash locations by required cleaning type. Only applicable when service=truckwash and at least one vehicleTypes[] has been provided. Possible values: inside, outside, insideOutside. The available options are narrowed further by the selected vehicle types. |
hasNao
|
string | Filters truckwash locations that offer NAO wash programs. Only applicable when service=truckwash, at least one vehicleTypes[] is provided, cleaningType includes inside cleaning, and the authenticated customer has the NAO setting enabled. |
hasDisinfection
|
string | Filters truckwash locations that offer disinfection wash programs. Only applicable when service=truckwash, at least one vehicleTypes[] is provided, and cleaningType includes inside cleaning. |
cargoTypes[]
|
string | Filters tank cleaning locations by the cargo types they clean. Only applicable when service=tankcleaning. Multiple values can be passed to broaden the filter. Possible values: food, feed, chemical, other. |
baySize
|
string | Filters truck charging locations by the bay size the vehicle fits in. Only applicable when service=truckcharging. A single value must be provided. Possible values: truck, truck_with_trailer, rigid_truck. |
chargingCapacity[min]
|
string | Filters truck charging locations by minimum bay charging capacity, in kW. Only applicable when service=truckcharging. Must be less than or equal to chargingCapacity[max] and within the supported capacity range. |
chargingCapacity[max]
|
string | Filters truck charging locations by maximum bay charging capacity, in kW. Only applicable when service=truckcharging. Must be greater than or equal to chargingCapacity[min] and within the supported capacity range. |
hasAvailability
|
string | Filters locations that have availability in the given window. For service=parking, both period[from] and period[to] must be provided. For service=truckwash or service=tankcleaning, arrivalDate must be provided. |
Request body
No request bodyResponse body
Response 200
LocationPOIResource collection
Fields
| Field | Type | Description |
|---|---|---|
id
|
integer | Unique identifier of the location. |
name
|
string | Name of the location. |
coordinates
|
object | Geographical coordinates of the location. |
lat
|
number | Latitude coordinate of the location. |
long
|
number | Longitude coordinate of the location. |
activeSince
|
string (date-time) | Date and time since the location has been active. |
price
|
object | Price information associated with the location. Will be null for long-term parkings. |
amount
|
number | Price amount in the specified currency. |
currency
|
string | ISO 4217 currency code. |
hasAvailability
|
boolean | Indicates whether the location has availability. |
isManagedExternally
|
boolean | Indicates whether the location is managed externally. |
Example