curl --request POST \
--url https://api.example.com/v1/car_search \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"pick_up": {
"airport_code": "LYS",
"date_time": "2026-09-12T10:00:00"
},
"drop_off_date_time": "2026-09-15T10:00:00",
"driver_age": 30,
"residence_country": "FR",
"currency": "EUR"
}
'import requests
url = "https://api.example.com/v1/car_search"
payload = {
"pick_up": {
"airport_code": "LYS",
"date_time": "2026-09-12T10:00:00"
},
"drop_off_date_time": "2026-09-15T10:00:00",
"driver_age": 30,
"residence_country": "FR",
"currency": "EUR"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
pick_up: {airport_code: 'LYS', date_time: '2026-09-12T10:00:00'},
drop_off_date_time: '2026-09-15T10:00:00',
driver_age: 30,
residence_country: 'FR',
currency: 'EUR'
})
};
fetch('https://api.example.com/v1/car_search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/car_search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pick_up' => [
'airport_code' => 'LYS',
'date_time' => '2026-09-12T10:00:00'
],
'drop_off_date_time' => '2026-09-15T10:00:00',
'driver_age' => 30,
'residence_country' => 'FR',
'currency' => 'EUR'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/car_search"
payload := strings.NewReader("{\n \"pick_up\": {\n \"airport_code\": \"LYS\",\n \"date_time\": \"2026-09-12T10:00:00\"\n },\n \"drop_off_date_time\": \"2026-09-15T10:00:00\",\n \"driver_age\": 30,\n \"residence_country\": \"FR\",\n \"currency\": \"EUR\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/car_search")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pick_up\": {\n \"airport_code\": \"LYS\",\n \"date_time\": \"2026-09-12T10:00:00\"\n },\n \"drop_off_date_time\": \"2026-09-15T10:00:00\",\n \"driver_age\": 30,\n \"residence_country\": \"FR\",\n \"currency\": \"EUR\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/car_search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pick_up\": {\n \"airport_code\": \"LYS\",\n \"date_time\": \"2026-09-12T10:00:00\"\n },\n \"drop_off_date_time\": \"2026-09-15T10:00:00\",\n \"driver_age\": 30,\n \"residence_country\": \"FR\",\n \"currency\": \"EUR\"\n}"
response = http.request(request)
puts response.read_body{
"offers": [
{
"offer_id": "car_9f3b2a17c4e8d501",
"vehicle": {
"acriss_code": "CDMR",
"name": "Honda Accord or similar",
"category": "compact",
"transmission": "manual",
"fuel_type": "<string>",
"seats": "5",
"doors": "<string>",
"air_conditioned": true
},
"package": {
"name": "Fully Inclusive",
"supplier_name": "Avis",
"supplier_code": "<string>",
"fuel_policy": "full_to_full",
"mileage_unlimited": true,
"mileage_allowance": "<string>",
"inclusions": [
null
],
"coverages": [
null
],
"fees": [
null
]
},
"pick_up": {
"name": "Lyon Saint-Exupery Airport",
"address": "<string>",
"city": "Lyon",
"country": "FR",
"date_time": "2026-09-12T10:00:00",
"time_zone": "Europe/Paris",
"latitude": 123,
"longitude": 123
},
"drop_off": {
"name": "Lyon Saint-Exupery Airport",
"address": "<string>",
"city": "Lyon",
"country": "FR",
"date_time": "2026-09-12T10:00:00",
"time_zone": "Europe/Paris",
"latitude": 123,
"longitude": 123
},
"price": {
"pay_now": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
},
"due_at_desk": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
},
"estimated_total": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
},
"deposit": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
}
},
"on_request": true,
"cancellation_fees": [
{
"type": "cancellation",
"fee": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
},
"non_refundable": true,
"applicable_from": "<string>",
"applicable_to": "<string>",
"applicable_now": true,
"seconds_before_pick_up": 123
}
],
"expires_at": "2026-09-12T10:30:00Z"
}
],
"currency": "EUR",
"resolved_place": {
"name": "Lyon City Centre",
"kind": "airport",
"city": "Lyon",
"country": "FR"
},
"candidates": [
{
"name": "Lyon City Centre",
"kind": "airport",
"city": "Lyon",
"country": "FR"
}
],
"warnings": [
{
"code": "<string>",
"message": "<string>"
}
]
}{
"error": {
"code": "BAD_REQUEST",
"message": "Malformed JSON in request body.",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "AUTH_REQUIRED",
"message": "Invalid or expired API key.",
"doc_url": "https://docs.gojinko.com/api-reference/authentication"
}
}{
"error": {
"code": "PAYMENT_REQUIRED",
"message": "Insufficient balance — this call costs $0.0150 and your organization has $0.0000 available. Top up at https://dashboard.gojinko.com/developers/billing/topup",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "CONFLICT",
"message": "an exchange is already in progress for this booking",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "origins: origins is required; trip_type: trip_type is required",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit or quota exceeded.",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "UPSTREAM_REJECTED",
"message": "sabre-rest BargainFinderMaxRQ failed with status 400: 27131 - Number of connection locations exceeds maximum allowed",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "All flight providers are temporarily unable to serve this search. Please retry later. Provider reasons: sabre-rest: provider temporarily closed; travelfusion: quota exhausted",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "UPSTREAM_TIMEOUT",
"message": "sabre-rest BargainFinderMaxRQ timed out after 30s",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}car-search
Search live car rental offers
curl --request POST \
--url https://api.example.com/v1/car_search \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"pick_up": {
"airport_code": "LYS",
"date_time": "2026-09-12T10:00:00"
},
"drop_off_date_time": "2026-09-15T10:00:00",
"driver_age": 30,
"residence_country": "FR",
"currency": "EUR"
}
'import requests
url = "https://api.example.com/v1/car_search"
payload = {
"pick_up": {
"airport_code": "LYS",
"date_time": "2026-09-12T10:00:00"
},
"drop_off_date_time": "2026-09-15T10:00:00",
"driver_age": 30,
"residence_country": "FR",
"currency": "EUR"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
pick_up: {airport_code: 'LYS', date_time: '2026-09-12T10:00:00'},
drop_off_date_time: '2026-09-15T10:00:00',
driver_age: 30,
residence_country: 'FR',
currency: 'EUR'
})
};
fetch('https://api.example.com/v1/car_search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/car_search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pick_up' => [
'airport_code' => 'LYS',
'date_time' => '2026-09-12T10:00:00'
],
'drop_off_date_time' => '2026-09-15T10:00:00',
'driver_age' => 30,
'residence_country' => 'FR',
'currency' => 'EUR'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/car_search"
payload := strings.NewReader("{\n \"pick_up\": {\n \"airport_code\": \"LYS\",\n \"date_time\": \"2026-09-12T10:00:00\"\n },\n \"drop_off_date_time\": \"2026-09-15T10:00:00\",\n \"driver_age\": 30,\n \"residence_country\": \"FR\",\n \"currency\": \"EUR\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/car_search")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pick_up\": {\n \"airport_code\": \"LYS\",\n \"date_time\": \"2026-09-12T10:00:00\"\n },\n \"drop_off_date_time\": \"2026-09-15T10:00:00\",\n \"driver_age\": 30,\n \"residence_country\": \"FR\",\n \"currency\": \"EUR\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/car_search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pick_up\": {\n \"airport_code\": \"LYS\",\n \"date_time\": \"2026-09-12T10:00:00\"\n },\n \"drop_off_date_time\": \"2026-09-15T10:00:00\",\n \"driver_age\": 30,\n \"residence_country\": \"FR\",\n \"currency\": \"EUR\"\n}"
response = http.request(request)
puts response.read_body{
"offers": [
{
"offer_id": "car_9f3b2a17c4e8d501",
"vehicle": {
"acriss_code": "CDMR",
"name": "Honda Accord or similar",
"category": "compact",
"transmission": "manual",
"fuel_type": "<string>",
"seats": "5",
"doors": "<string>",
"air_conditioned": true
},
"package": {
"name": "Fully Inclusive",
"supplier_name": "Avis",
"supplier_code": "<string>",
"fuel_policy": "full_to_full",
"mileage_unlimited": true,
"mileage_allowance": "<string>",
"inclusions": [
null
],
"coverages": [
null
],
"fees": [
null
]
},
"pick_up": {
"name": "Lyon Saint-Exupery Airport",
"address": "<string>",
"city": "Lyon",
"country": "FR",
"date_time": "2026-09-12T10:00:00",
"time_zone": "Europe/Paris",
"latitude": 123,
"longitude": 123
},
"drop_off": {
"name": "Lyon Saint-Exupery Airport",
"address": "<string>",
"city": "Lyon",
"country": "FR",
"date_time": "2026-09-12T10:00:00",
"time_zone": "Europe/Paris",
"latitude": 123,
"longitude": 123
},
"price": {
"pay_now": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
},
"due_at_desk": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
},
"estimated_total": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
},
"deposit": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
}
},
"on_request": true,
"cancellation_fees": [
{
"type": "cancellation",
"fee": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2
},
"non_refundable": true,
"applicable_from": "<string>",
"applicable_to": "<string>",
"applicable_now": true,
"seconds_before_pick_up": 123
}
],
"expires_at": "2026-09-12T10:30:00Z"
}
],
"currency": "EUR",
"resolved_place": {
"name": "Lyon City Centre",
"kind": "airport",
"city": "Lyon",
"country": "FR"
},
"candidates": [
{
"name": "Lyon City Centre",
"kind": "airport",
"city": "Lyon",
"country": "FR"
}
],
"warnings": [
{
"code": "<string>",
"message": "<string>"
}
]
}{
"error": {
"code": "BAD_REQUEST",
"message": "Malformed JSON in request body.",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "AUTH_REQUIRED",
"message": "Invalid or expired API key.",
"doc_url": "https://docs.gojinko.com/api-reference/authentication"
}
}{
"error": {
"code": "PAYMENT_REQUIRED",
"message": "Insufficient balance — this call costs $0.0150 and your organization has $0.0000 available. Top up at https://dashboard.gojinko.com/developers/billing/topup",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "CONFLICT",
"message": "an exchange is already in progress for this booking",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "origins: origins is required; trip_type: trip_type is required",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit or quota exceeded.",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "UPSTREAM_REJECTED",
"message": "sabre-rest BargainFinderMaxRQ failed with status 400: 27131 - Number of connection locations exceeds maximum allowed",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "All flight providers are temporarily unable to serve this search. Please retry later. Provider reasons: sabre-rest: provider temporarily closed; travelfusion: quota exhausted",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}{
"error": {
"code": "UPSTREAM_TIMEOUT",
"message": "sabre-rest BargainFinderMaxRQ timed out after 30s",
"doc_url": "https://docs.gojinko.com/concepts/errors"
}
}pick_up names exactly one of an airport_code (IATA), a free-text place (resolved server-side, ambiguous text returns candidates to retry with), or geo coordinates (round-trip only). Date-times are branch-local YYYY-MM-DDTHH:MM:SS with no timezone. Omit drop_off to return the car to the pick-up branch, setting drop_off_date_time. Each offer’s offer_id is a trip item token: pass it verbatim to POST /v1/trip as trip_item_token to add the rental to a cart, then check out as normal. price.pay_now is the only amount Jinko charges, due_at_desk is collected by the rental desk locally.Authorizations
Body
pick_up names exactly one of airport_code, place or geo, and a drop-off time must come from drop_off.date_time or drop_off_date_time. These rules are enforced at runtime but cannot be expressed in JSON Schema, so they do not appear in required.
Show child attributes
Show child attributes
Driver's age at pick-up (18-99). Pricing and availability are age-dependent.
18 <= x <= 9930
Driver's country of residence, ISO 3166-1 alpha-2. Rates and inclusions vary by residence.
^[A-Za-z]{2}$"FR"
Where the car is returned. Omit for a round trip (return to the pick-up branch) and set drop_off_date_time instead.
Show child attributes
Show child attributes
Drop-off date-time for a round trip, branch-local. Required when drop_off is omitted.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$"2026-09-15T10:00:00"
ISO 4217 display currency. Defaults to USD.
3"EUR"
BCP-47 language tag for vehicle and branch text.
"en-gb"
Show child attributes
Show child attributes
Response
Bookable car rental offers
Show child attributes
Show child attributes
"EUR"
How a free-text place was interpreted. Echoed so the caller can confirm the resolution.
Show child attributes
Show child attributes
Returned instead of offers when a free-text place is ambiguous. Retry with place set to a candidate's name; when two candidates share a name, qualify it with the city — "City Centre, Lyon".
Show child attributes
Show child attributes
Show child attributes
Show child attributes
