Locations API - V2
List locations.
Returns a list of all locations including address, coordinates, available services, and service-specific details.
Endpoint
GET - https://api.travisroadservices.com/v2/locations
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 and includeSwipeable; 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. |
page
|
string | The collection page number |
itemsPerPage
|
string | The number of items per page |
Request body
No request bodyResponse body
Response 200
LocationResource collection
Fields
| Field | Type | Description |
|---|---|---|
id
|
integer | Unique identifier of the location. |
name
|
string | Name of the location. |
isDemo
|
boolean | Indicates whether the location is a demo location. |
address
|
object | Complete address of the location. |
streetName
|
string | Street name of the address. |
houseNumber
|
string | House number of the address. |
zip
|
string | Postal code of the address. |
city
|
string | City of the address. |
country
|
string | Country of the address. |
activeSince
|
string (date-time) | Date and time since the location has been active. |
locationUrl
|
string | URL of the location detail page. |
coordinates
|
object | Geographical coordinates of the location. |
lat
|
number | Latitude coordinate of the location. |
long
|
number | Longitude coordinate of the location. |
services
|
array | Services available at the location. |
parking
|
object | Parking service details for the location. |
provider
|
string | Parking provider for this location. |
securityFeatures
|
object | Security features available at this location. |
gate
|
object | Indicates whether a gate is present at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
fence
|
object | Indicates whether perimeter fencing is present at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
lightAtNight
|
object | Indicates whether area lighting is available at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
cctv
|
object | Indicates whether video surveillance cameras are present at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
guard
|
object | Indicates whether an on-site security guard is present at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
vehiclePermissions
|
object | Vehicle-related operations allowed or restricted at this location. |
adr
|
object | Indicates whether vehicles carrying ADR (dangerous goods) are permitted. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
longTermParking
|
object | Indicates whether long-term parking of vehicles is permitted. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
decouplingOfTrailers
|
object | Indicates whether trailers may be decoupled and left on site. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
coolingMotorsAllowed
|
object | Indicates whether vehicle cooling motors may remain running while parked. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
electricCooling
|
object | Indicates whether electronic cooling units can be connected to a power supply. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
driverFacilities
|
object | Facilities and amenities available to drivers at this location. |
restrooms
|
object | Indicates whether toilet facilities are available to drivers at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
shower
|
object | Indicates whether shower facilities are available to drivers at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
wifi
|
object | Indicates whether wireless internet access (Wi-Fi) is available to drivers. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
hotel
|
object | Indicates whether hotel or accommodation services are available at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
restaurant
|
object | Indicates whether a restaurant or food service is available at the location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
isBookable
|
boolean | |
notBookableReasons
|
array | |
truckwash
|
object | Truck wash service details for the location. |
washPrograms
|
array | Wash programs offered at this location. |
isBookable
|
boolean | |
notBookableReasons
|
array | |
tankcleaning
|
object | Tank cleaning service details for the location. |
isBookable
|
boolean | |
notBookableReasons
|
array | |
truckcharging
|
object | Truck charging service details for the location. |
bayTypes
|
array | Available bay types at this location. |
isBookable
|
boolean | |
notBookableReasons
|
array | |
repair
|
object | Repair service details for the location. |
isBookable
|
boolean | |
notBookableReasons
|
array | |
isFavourite
|
boolean | Is the location a favourite of the customer user. |
Example