Skip to content
ajar.Book a demo

Car place predict

skyscanner.car.place.predict

View connector

Find rental car pickup and drop-off locations

POST /v1/operations/skyscanner.car.place.predict

Headers

Authorization: Bearer YOUR_AJAR_API_KEY
x-skyscanner-token: YOUR_SKYSCANNER_TOKEN
Content-Type: application/json

Guest access needs no Skyscanner account sign-in. The x-skyscanner-token header carries the short-lived guest session from guest bootstrap; it is separate from your ajar Authorization bearer. Keep the same guest token when opening search or offer references.

Inputs

ParameterExample typeExample value
querystring"Heathrow"

Example input

{
  "query": "Heathrow"
}

Illustrative response for the example input. Availability, prices and result order vary. Replace example references and URLs with values returned by your own requests.

Example response

{
  "items": [
    {
      "entity_id": "95565050",
      "name": "London Heathrow",
      "type": "Airport",
      "latitude": 51.47,
      "longitude": -0.4543
    }
  ]
}
Open JSON schema

Input schema

{
  "$id": "https://useajar.com/schemas/skyscanner/car-place-predict.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "query": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "type": "object"
}