POST/v1/transfers/search

Buscar transfers

Busca ofertas de transfers y recibe una respuesta JSON completa o eventos progresivos en stream.

Compartir
POST/v1/transfers/search

Consola API

Pruébalo

Envía una petición real al entorno sandbox e inspecciona la respuesta.

Credenciales

Inicia sesión para elegir entre tus API keys guardadas en vez de pegarlas.

Cuerpo de la petición

Petición cURL

cURL
bash
curl -X POST 'https://api.sandbox.travelandz.com/v1/transfers/search' \
  -H 'Authorization: Bearer YOUR_SECRET_KEY' \
  -H 'X-Travelandz-Id: YOUR_PUBLIC_KEY:YOUR_PROFILE_CODE' \
  -H 'Content-Type: application/json' \
  -d '{"mode":"one_way","startAddress":"433 Park Ave","startCity":"New York","startZipcode":"10022","endAddress":"JFK","pickupDatetime":"2026-08-16 15:30","numPassengers":2,"currency":"USD","responseMode":"complete"}'

Añade tus credenciales para enviar una petición.

Respuesta

Pulsa «¡Pruébalo!» para enviar una petición y ver la respuesta aquí.

Busca ofertas de transfers y recibe una respuesta JSON completa o eventos progresivos en stream.

Autenticación y headers

HeaderDescripción
AuthorizationBearer <secret_key>. Conserva el secret en el servidor y nunca lo escribas en logs del cliente.
X-Travelandz-Id<public_key>:<profile_code>, donde el profile code persistido usa el formato dp_<12 alfanuméricos>.
LANGHeader recomendado para el idioma. También se acepta Accept-Language.
Content-Typeapplication/json para peticiones con body JSON.

Petición

Envía mode y numPassengers. Origen y destino requieren cada uno una dirección, un place ID o un par de latitud/longitud. Usa responseMode en stream para recibir las ofertas a medida que llegan en lugar de una única respuesta final. Una búsqueda round_trip requiere además returnPickupDatetime o returnFlightDatetime.

Schema del body

mode
enum
one_wayround_trip
responseMode
enum
completestream
No
Defaults to complete.
numPassengers
number
Integer from 1 to 99.
startAddress
stringNo
Send an address, a place ID, or a latitude/longitude pair for the origin.
startCity
stringNo
Appended to the address to improve resolution.
startZipcode
stringNo
Appended to the address to improve resolution.
startLat
numberNo
Must be sent together with startLng.
startLng
numberNo
Must be sent together with startLat.
startPlaceId
stringNo
Alternative to an address or coordinates.
endAddress
stringNo
Send an address, a place ID, or a latitude/longitude pair for the destination.
endCity
stringNo
Appended to the address to improve resolution.
endZipcode
stringNo
Appended to the address to improve resolution.
endLat
numberNo
Must be sent together with endLng.
endLng
numberNo
Must be sent together with endLat.
endPlaceId
stringNo
Alternative to an address or coordinates.
pickupDatetime
string
Formato: YYYY-MM-DD HH:mm
No
Local date and time at the origin.
flightDatetime
string
Formato: YYYY-MM-DD HH:mm
No
flightType
enum
domesticinternational
No
returnPickupDatetime
stringNo
A round_trip search requires this field or returnFlightDatetime.
returnFlightDatetime
stringNo
A round_trip search requires this field or returnPickupDatetime.
amenities
array
amenities[]
string[]No
Amenity keys to bias the search. Also accepted as a CSV string.
currency
enum
EURUSDINRCHFJPYGBPAUDCADCNYSGDNZDMXN
No
Lowercase values are accepted and normalized. Defaults to USD on a new search and is inherited afterwards.
campaign
stringNo
Your own campaign context.
branch
stringNo
Requires campaign when sent.
language
enum
en-USes-ESde-DEfr-FRpt-BRzh-CNit-IT
No
Legacy field. Prefer the LANG or Accept-Language header.

Ejemplo de petición

Respuesta completa

json
json
{
  "mode": "one_way",
  "startAddress": "433 Park Ave",
  "startCity": "New York",
  "startZipcode": "10022",
  "endAddress": "JFK",
  "pickupDatetime": "2026-08-16 15:30",
  "numPassengers": 2,
  "currency": "USD",
  "responseMode": "complete"
}

Respuesta en stream

json
json
{
  "mode": "one_way",
  "startAddress": "433 Park Ave, New York",
  "endAddress": "JFK",
  "pickupDatetime": "2026-08-16 15:30",
  "numPassengers": 2,
  "currency": "USD",
  "responseMode": "stream"
}

Respuesta exitosa

Devuelve transfers[] con las ofertas que pueden cotizarse y reservarse, más metadata con las ubicaciones resueltas y si el conjunto de resultados es definitivo. Cada oferta incluye un bookingToken opaco que copias en pricing.

Una búsqueda puede devolver 200 con metadata.timedOut: true. No es un error: las ofertas ya presentes son válidas y reservables.

Schema de respuesta

transfers
array
transfers[]searchId
string
Send this value in pricing, booking and reservation reads.
transfers[]gdsprovider
enum
0
transfers[]resultId
string
Identifies the selected offer.
transfers[]bookingToken
string
Opaque value. Copy it into pricing and booking; never decode or modify it.
transfers[]expiresAt
string
Formato: ISO 8601
The offer and its token stop being usable after this moment.
transfers[]vehicleId
stringNo
transfers[]totalAmount
number
Indicative total for the offer in currency.
transfers[]currency
enum
EURUSDINRCHFJPYGBPAUDCADCNYSGDNZDMXN
transfers[]bookable
boolean
False when the offer cannot be booked.
transfers[]flightInfoRequired
boolean
When true, airline and flightNumber are required to book.
transfers[]extraPaxRequired
boolean
When true, extraPaxInfo is required to book.
transfers[]goodToKnowInfo
array
transfers[]goodToKnowInfo[]
string[]
Localized operational notes to show the traveller.
transfers[]supports
object
transfers[]cancellationPolicies
array
transfers[]cancellationPolicies[]notice
numberNo
Hours of notice the policy requires.
transfers[]cancellationPolicies[]refundPercent
numberNo
transfers[]cancellationPolicies[]refundableUntilDatetime
string
Formato: ISO 8601
No
transfers[]cancellationPolicies[]refundAmount
numberNo
Refundable amount in the offer currency.
transfers[]cancellationPolicies[]currency
enum
EURUSDINRCHFJPYGBPAUDCADCNYSGDNZDMXN
No
transfers[]steps
array
transfers[]steps[]stepType
stringNo
Leg type, for example car.
transfers[]steps[]main
booleanNo
True for the primary leg of the transfer.
transfers[]steps[]description
stringNo
transfers[]steps[]departureDatetime
string
Formato: ISO 8601
No
transfers[]steps[]durationMinutes
numberNo
transfers[]steps[]durationSeconds
numberNo
transfers[]steps[]distanceMeters
numberNo
transfers[]steps[]distanceMiles
numberNo
transfers[]steps[]lineName
stringNo
Present for scheduled line transport.
transfers[]steps[]lineColor
stringNo
transfers[]steps[]provider
object
transfers[]steps[]providername
stringNo
transfers[]steps[]providerrating
numberNo
transfers[]steps[]vehicle
object
transfers[]steps[]vehicletype
stringNo
Vehicle name, for example Shared Ride Van.
transfers[]steps[]vehiclecategory
stringNo
Vehicle grouping, for example Shared or Private.
transfers[]steps[]vehiclemaxBags
numberNo
transfers[]steps[]vehiclemaxPassengers
numberNo
transfers[]steps[]vehiclenumVehicles
numberNo
transfers[]steps[]vehicleimageUrl
string
Formato: URL
No
transfers[]steps[]waitTime
object
transfers[]steps[]waitTimeincluded
booleanNo
transfers[]steps[]waitTimeminutesIncluded
numberNo
transfers[]steps[]waitTimeextraWaitTimeChargeable
booleanNo
transfers[]steps[]amenities
array
transfers[]steps[]amenities[]key
string
Value to send in selectedAmenities.
transfers[]steps[]amenities[]name
string
Localized name.
transfers[]steps[]amenities[]description
stringNo
transfers[]steps[]amenities[]imageUrl
string
Formato: URL
No
transfers[]steps[]amenities[]pngImageUrl
string
Formato: URL
No
transfers[]steps[]amenities[]inputType
enum
booleannumeric
No
transfers[]steps[]amenities[]included
boolean
True when the amenity is already part of the offer.
transfers[]steps[]amenities[]selectable
boolean
True when the amenity can be added to this offer.
transfers[]steps[]amenities[]selected
boolean
True when the amenity is part of the priced selection.
transfers[]steps[]startLocation
object
transfers[]steps[]startLocationformattedAddress
stringNo
transfers[]steps[]startLocationfullAddress
stringNo
transfers[]steps[]startLocationiataCode
stringNo
Present for airport locations.
transfers[]steps[]startLocationicaoCode
stringNo
transfers[]steps[]startLocationplaceId
stringNo
Reusable place identifier; send it back to skip geocoding.
transfers[]steps[]startLocationlatitude
numberNo
transfers[]steps[]startLocationlongitude
numberNo
transfers[]steps[]startLocationtimezone
stringNo
IANA timezone of the location.
transfers[]steps[]endLocation
object
transfers[]steps[]endLocationformattedAddress
stringNo
transfers[]steps[]endLocationfullAddress
stringNo
transfers[]steps[]endLocationiataCode
stringNo
Present for airport locations.
transfers[]steps[]endLocationicaoCode
stringNo
transfers[]steps[]endLocationplaceId
stringNo
Reusable place identifier; send it back to skip geocoding.
transfers[]steps[]endLocationlatitude
numberNo
transfers[]steps[]endLocationlongitude
numberNo
transfers[]steps[]endLocationtimezone
stringNo
IANA timezone of the location.
transfers[]ticketTypes
array
transfers[]ticketTypes[]id
string
Send this value in ticketTypes[].id when booking.
transfers[]ticketTypes[]name
stringNo
transfers[]ticketTypes[]departureDatetime
string
Formato: ISO 8601
No
transfers[]ticketTypes[]arrivalDatetime
string
Formato: ISO 8601
No
transfers[]alternativeTimes
array
transfers[]alternativeTimes[]departureDatetime
string
Formato: ISO 8601
No
transfers[]alternativeTimes[]arrivalDatetime
string
Formato: ISO 8601
No
metadata
object
metadatacompleted
boolean
True when the result set is final.
metadatatimedOut
boolean
True when results were returned before every source finished. The offers already present are valid.
metadataproviderResults
array
metadataproviderResults[]gdsprovider
enum
0
metadataproviderResults[]searchId
stringNo
metadataproviderResults[]completed
booleanNo
True when this source has no further offers to return.
metadataproviderResults[]timedOut
booleanNo
metadataproviderResults[]moreComing
booleanNo
True when more offers may still arrive for this searchId.
metadatastartLocation
object
metadatastartLocationformattedAddress
stringNo
metadatastartLocationfullAddress
stringNo
metadatastartLocationiataCode
stringNo
Present for airport locations.
metadatastartLocationicaoCode
stringNo
metadatastartLocationplaceId
stringNo
Reusable place identifier; send it back to skip geocoding.
metadatastartLocationlatitude
numberNo
metadatastartLocationlongitude
numberNo
metadatastartLocationtimezone
stringNo
IANA timezone of the location.
metadataendLocation
object
metadataendLocationformattedAddress
stringNo
metadataendLocationfullAddress
stringNo
metadataendLocationiataCode
stringNo
Present for airport locations.
metadataendLocationicaoCode
stringNo
metadataendLocationplaceId
stringNo
Reusable place identifier; send it back to skip geocoding.
metadataendLocationlatitude
numberNo
metadataendLocationlongitude
numberNo
metadataendLocationtimezone
stringNo
IANA timezone of the location.
metadatapickupDatetime
string
Formato: ISO 8601
No
Resolved pickup moment in the origin timezone.
metadatanumPassengers
numberNo

Schema de respuesta (responseMode=stream)

transfers
array
transfers[]searchId
string
Send this value in pricing, booking and reservation reads.
transfers[]gdsprovider
enum
0
transfers[]resultId
string
Identifies the selected offer.
transfers[]bookingToken
string
Opaque value. Copy it into pricing and booking; never decode or modify it.
transfers[]expiresAt
string
Formato: ISO 8601
The offer and its token stop being usable after this moment.
transfers[]vehicleId
stringNo
transfers[]totalAmount
number
Indicative total for the offer in currency.
transfers[]currency
enum
EURUSDINRCHFJPYGBPAUDCADCNYSGDNZDMXN
transfers[]bookable
boolean
False when the offer cannot be booked.
transfers[]flightInfoRequired
boolean
When true, airline and flightNumber are required to book.
transfers[]extraPaxRequired
boolean
When true, extraPaxInfo is required to book.
transfers[]goodToKnowInfo
array
transfers[]goodToKnowInfo[]
string[]
Localized operational notes to show the traveller.
transfers[]supports
object
transfers[]cancellationPolicies
array
transfers[]cancellationPolicies[]notice
numberNo
Hours of notice the policy requires.
transfers[]cancellationPolicies[]refundPercent
numberNo
transfers[]cancellationPolicies[]refundableUntilDatetime
string
Formato: ISO 8601
No
transfers[]cancellationPolicies[]refundAmount
numberNo
Refundable amount in the offer currency.
transfers[]cancellationPolicies[]currency
enum
EURUSDINRCHFJPYGBPAUDCADCNYSGDNZDMXN
No
transfers[]steps
array
transfers[]steps[]stepType
stringNo
Leg type, for example car.
transfers[]steps[]main
booleanNo
True for the primary leg of the transfer.
transfers[]steps[]description
stringNo
transfers[]steps[]departureDatetime
string
Formato: ISO 8601
No
transfers[]steps[]durationMinutes
numberNo
transfers[]steps[]durationSeconds
numberNo
transfers[]steps[]distanceMeters
numberNo
transfers[]steps[]distanceMiles
numberNo
transfers[]steps[]lineName
stringNo
Present for scheduled line transport.
transfers[]steps[]lineColor
stringNo
transfers[]steps[]provider
object
transfers[]steps[]providername
stringNo
transfers[]steps[]providerrating
numberNo
transfers[]steps[]vehicle
object
transfers[]steps[]vehicletype
stringNo
Vehicle name, for example Shared Ride Van.
transfers[]steps[]vehiclecategory
stringNo
Vehicle grouping, for example Shared or Private.
transfers[]steps[]vehiclemaxBags
numberNo
transfers[]steps[]vehiclemaxPassengers
numberNo
transfers[]steps[]vehiclenumVehicles
numberNo
transfers[]steps[]vehicleimageUrl
string
Formato: URL
No
transfers[]steps[]waitTime
object
transfers[]steps[]waitTimeincluded
booleanNo
transfers[]steps[]waitTimeminutesIncluded
numberNo
transfers[]steps[]waitTimeextraWaitTimeChargeable
booleanNo
transfers[]steps[]amenities
array
transfers[]steps[]amenities[]key
string
Value to send in selectedAmenities.
transfers[]steps[]amenities[]name
string
Localized name.
transfers[]steps[]amenities[]description
stringNo
transfers[]steps[]amenities[]imageUrl
string
Formato: URL
No
transfers[]steps[]amenities[]pngImageUrl
string
Formato: URL
No
transfers[]steps[]amenities[]inputType
enum
booleannumeric
No
transfers[]steps[]amenities[]included
boolean
True when the amenity is already part of the offer.
transfers[]steps[]amenities[]selectable
boolean
True when the amenity can be added to this offer.
transfers[]steps[]amenities[]selected
boolean
True when the amenity is part of the priced selection.
transfers[]steps[]startLocation
object
transfers[]steps[]startLocationformattedAddress
stringNo
transfers[]steps[]startLocationfullAddress
stringNo
transfers[]steps[]startLocationiataCode
stringNo
Present for airport locations.
transfers[]steps[]startLocationicaoCode
stringNo
transfers[]steps[]startLocationplaceId
stringNo
Reusable place identifier; send it back to skip geocoding.
transfers[]steps[]startLocationlatitude
numberNo
transfers[]steps[]startLocationlongitude
numberNo
transfers[]steps[]startLocationtimezone
stringNo
IANA timezone of the location.
transfers[]steps[]endLocation
object
transfers[]steps[]endLocationformattedAddress
stringNo
transfers[]steps[]endLocationfullAddress
stringNo
transfers[]steps[]endLocationiataCode
stringNo
Present for airport locations.
transfers[]steps[]endLocationicaoCode
stringNo
transfers[]steps[]endLocationplaceId
stringNo
Reusable place identifier; send it back to skip geocoding.
transfers[]steps[]endLocationlatitude
numberNo
transfers[]steps[]endLocationlongitude
numberNo
transfers[]steps[]endLocationtimezone
stringNo
IANA timezone of the location.
transfers[]ticketTypes
array
transfers[]ticketTypes[]id
string
Send this value in ticketTypes[].id when booking.
transfers[]ticketTypes[]name
stringNo
transfers[]ticketTypes[]departureDatetime
string
Formato: ISO 8601
No
transfers[]ticketTypes[]arrivalDatetime
string
Formato: ISO 8601
No
transfers[]alternativeTimes
array
transfers[]alternativeTimes[]departureDatetime
string
Formato: ISO 8601
No
transfers[]alternativeTimes[]arrivalDatetime
string
Formato: ISO 8601
No
metadata
object
metadatacompleted
boolean
True when the result set is final.
metadatatimedOut
boolean
True when results were returned before every source finished. The offers already present are valid.
metadataproviderResults
array
metadataproviderResults[]gdsprovider
enum
0
metadataproviderResults[]searchId
stringNo
metadataproviderResults[]completed
booleanNo
True when this source has no further offers to return.
metadataproviderResults[]timedOut
booleanNo
metadataproviderResults[]moreComing
booleanNo
True when more offers may still arrive for this searchId.
metadatastartLocation
object
metadatastartLocationformattedAddress
stringNo
metadatastartLocationfullAddress
stringNo
metadatastartLocationiataCode
stringNo
Present for airport locations.
metadatastartLocationicaoCode
stringNo
metadatastartLocationplaceId
stringNo
Reusable place identifier; send it back to skip geocoding.
metadatastartLocationlatitude
numberNo
metadatastartLocationlongitude
numberNo
metadatastartLocationtimezone
stringNo
IANA timezone of the location.
metadataendLocation
object
metadataendLocationformattedAddress
stringNo
metadataendLocationfullAddress
stringNo
metadataendLocationiataCode
stringNo
Present for airport locations.
metadataendLocationicaoCode
stringNo
metadataendLocationplaceId
stringNo
Reusable place identifier; send it back to skip geocoding.
metadataendLocationlatitude
numberNo
metadataendLocationlongitude
numberNo
metadataendLocationtimezone
stringNo
IANA timezone of the location.
metadatapickupDatetime
string
Formato: ISO 8601
No
Resolved pickup moment in the origin timezone.
metadatanumPassengers
numberNo
error
stringNo
Present on an error event.
errorCode
stringNo
Present on an error event.

Ejemplos de respuesta

json
json
{
  "transfers": [
    {
      "searchId": "5c8563a5d31d4c33a3a1eafbbfe59c4b",
      "gdsprovider": 0,
      "resultId": "763475651c06f5ac31ea587084dc0629",
      "bookingToken": "opaque_offer_token_generated_by_travelandz",
      "expiresAt": "2026-08-05T21:20:00.000Z",
      "totalAmount": 49.84,
      "currency": "USD",
      "bookable": true,
      "flightInfoRequired": true,
      "extraPaxRequired": false,
      "goodToKnowInfo": [],
      "cancellationPolicies": [
        {
          "notice": 48,
          "refundPercent": 100,
          "refundableUntilDatetime": "2026-08-14T14:40:00-04:00",
          "refundAmount": 49.84,
          "currency": "USD"
        }
      ],
      "supports": {},
      "steps": [
        {
          "stepType": "car",
          "main": true,
          "departureDatetime": "2026-08-16T14:40:00-04:00",
          "durationMinutes": 26,
          "distanceMeters": 25749,
          "provider": {
            "name": "GO Airlink NYC",
            "rating": 5
          },
          "vehicle": {
            "type": "Shared Ride Van",
            "category": "Shared",
            "maxBags": 4,
            "maxPassengers": 11,
            "numVehicles": 1
          },
          "waitTime": {
            "included": false,
            "minutesIncluded": 0,
            "extraWaitTimeChargeable": false
          },
          "amenities": []
        }
      ],
      "ticketTypes": [],
      "alternativeTimes": [
        {
          "departureDatetime": "2026-08-16T14:40:00-04:00",
          "arrivalDatetime": "2026-08-16T15:06:10-04:00"
        },
        {
          "departureDatetime": "2026-08-16T13:40:00-04:00",
          "arrivalDatetime": "2026-08-16T14:06:10-04:00"
        }
      ]
    }
  ],
  "metadata": {
    "completed": true,
    "timedOut": false,
    "providerResults": [
      {
        "gdsprovider": 0,
        "searchId": "5c8563a5d31d4c33a3a1eafbbfe59c4b",
        "completed": true,
        "timedOut": false,
        "moreComing": false
      }
    ],
    "startLocation": {
      "formattedAddress": "433 Park Ave, New York, NY 10022, USA",
      "fullAddress": "433 Park Ave, New York",
      "placeId": "EiU0MzMgUGFyayBBdmUsIE5ldyBZb3JrLCBOWSAxMDAyMiwgVVNB",
      "latitude": 40.7607634,
      "longitude": -73.971212,
      "timezone": "America/New_York"
    },
    "endLocation": {
      "formattedAddress": "John F Kennedy International Airport",
      "fullAddress": "John F Kennedy International Airport",
      "iataCode": "JFK",
      "icaoCode": "KJFK",
      "latitude": 40.639751,
      "longitude": -73.778926,
      "timezone": "America/New_York"
    },
    "pickupDatetime": "2026-08-16T15:30:00-04:00",
    "numPassengers": 2
  }
}

Eventos del stream

EventoDescripción
provider_search_createdLa búsqueda fue aceptada. Incluye las primeras ofertas, si ya hay alguna disponible.
provider_poll_resultUn conjunto actualizado de ofertas. Reemplaza lo que estabas mostrando con el payload del último evento.
provider_doneUna fuente terminó de aportar ofertas.
errorEl stream no pudo continuar. Incluye error y errorCode.
doneResultado final combinado. Cierra la conexión al recibirlo.

Ejemplo de stream

text
text
event: provider_search_created
data: {"transfers":[],"metadata":{"completed":false,"timedOut":false,"providerResults":[{"gdsprovider":0,"searchId":"5c8563a5d31d4c33a3a1eafbbfe59c4b","moreComing":true}]}}

event: provider_poll_result
data: {"transfers":[{"searchId":"5c8563a5d31d4c33a3a1eafbbfe59c4b","resultId":"763475651c06f5ac31ea587084dc0629","totalAmount":49.84,"currency":"USD"}],"metadata":{"completed":false,"timedOut":false,"providerResults":[{"gdsprovider":0,"moreComing":true}]}}

event: provider_done
data: {"transfers":[{"searchId":"5c8563a5d31d4c33a3a1eafbbfe59c4b","resultId":"763475651c06f5ac31ea587084dc0629","totalAmount":49.84,"currency":"USD"}],"metadata":{"completed":true,"timedOut":false,"providerResults":[{"gdsprovider":0,"completed":true,"moreComing":false}]}}

event: done
data: {"transfers":[{"searchId":"5c8563a5d31d4c33a3a1eafbbfe59c4b","resultId":"763475651c06f5ac31ea587084dc0629","totalAmount":49.84,"currency":"USD"}],"metadata":{"completed":true,"timedOut":false,"providerResults":[{"gdsprovider":0,"completed":true,"moreComing":false}]}}

Errores

HTTPCódigoSignificadoAcción recomendada
400El body, la query o el path son inválidos, o incluyen una propiedad desconocida.Corrige la petición usando el array message.
400transfer_invalid_currencyLa moneda está fuera de la lista soportada.Usa una moneda soportada.
400transfer_invalid_languageEl idioma solicitado no está soportado.Usa uno de los valores de idioma documentados.
429transfer_provider_errorEl servicio está temporalmente limitado por rate limit.Reintenta con backoff exponencial.
502transfer_provider_errorLa petición no pudo completarse.No asumas que tuvo éxito. Conserva tus identificadores y consulta la reserva cuando la operación pudiera haberse creado.
400transfer_location_not_foundNo se pudo resolver el origen o el destino.Añade city o zipcode, o envía un place ID o un par de coordenadas.
503El precio no pudo confirmarse en este momento.Reintenta más tarde. No reserves ni cobres al viajero.

Notas de uso

Si todas las fuentes fallan antes de abrir el stream, la petición falla con un error HTTP JSON normal. Si el stream ya empezó, el fallo llega como evento error. Cierra explícitamente las conexiones de stream cuando ya no las necesites.

Persiste searchId, resultId y bookingToken de la oferta que elija el viajero: pricing, booking y las consultas de reserva los necesitan.

Ejemplo cURL

bash
bash
curl --request POST \
  --url "https://api.sandbox.travelandz.com/v1/transfers/search" \
  -H "Authorization: Bearer $TRAVELANDZ_SECRET_KEY" \
  -H "X-Travelandz-Id: $TRAVELANDZ_PUBLIC_KEY:$TRAVELANDZ_PROFILE_CODE" \
  -H "Content-Type: application/json" \
  --data '{
  "mode": "one_way",
  "startAddress": "433 Park Ave",
  "startCity": "New York",
  "startZipcode": "10022",
  "endAddress": "JFK",
  "pickupDatetime": "2026-08-16 15:30",
  "numPassengers": 2,
  "currency": "USD",
  "responseMode": "complete"
}'