Romanian Car Hire Non-stop+40 741 644 169 Book online

API for partners and AI

Our availability and prices, in real time, for AI assistants and for partners who sell our cars.

4.7 on Google, 206 reviews Instant confirmation, no waiting for an agent 24/7, nights includedNo credit cardSince 2006

Two ways to use our data

AI search

For AI assistants and simple integrations: one public GET request, no key. Live availability, final prices, deposits and a booking link for each car.

See the AI search

Partner API

For travel agencies, resellers and websites that sell our cars: search, options and booking, with the same prices and rules as our website. Each request is signed.

See the partner API

Partner API

POST https://romaniancarhire.com/api/v1/

OpenAPI specification (JSON, English): https://romaniancarhire.com/api/v1/openapi.json

To get access (user name and secret), write to us at office@romaniancarhire.com.

Request and response

The body is JSON with the command and the language; every response has the same envelope. An error stops the request (success false, data null); warnings and notes come together with the data.

{"command": "searchRq", "language": "en", ...}

{"success": true, "version": "v1", "command": "searchRq", "language": "en",
 "data": {...}, "messages": [{"code": "NO_RESULTS", "level": "info", "text": "..."}]}

Signing the request

  1. X-Api-Key: your user name.
  2. X-Api-Timestamp: the current time in Unix seconds (at most 5 minutes from ours).
  3. X-Api-Signature: HMAC-SHA256 with your secret, in hex, of: timestamp, method, path and the SHA-256 of the exact body you send, separated by new lines.
signature = hex(HMAC-SHA256(secret, timestamp + "\n" + "POST" + "\n" + "/api/v1/" + "\n" + hex(SHA256(body))))

Check your code with this example:

timestamp = 1795460000
path      = /api/v1/
body      = {"command":"searchRq"}
secret    = Secret-123
signature = 2512b3056edce7ed09006c446d73431d76455431696a797556ea1df07e33e2fc
PHP
$ts = (string) time();
$body = json_encode($request);
$text = $ts."\nPOST\n/api/v1/\n".hash('sha256', $body);
$signature = hash_hmac('sha256', $text, $secret);
Node.js
const crypto = require('crypto');
const ts = String(Math.floor(Date.now() / 1000));
const body = JSON.stringify(request);
const text = `${ts}\nPOST\n/api/v1/\n${crypto.createHash('sha256').update(body).digest('hex')}`;
const signature = crypto.createHmac('sha256', secret).update(text).digest('hex');
Python
import hashlib, hmac, json, time
ts = str(int(time.time()))
body = json.dumps(request, separators=(",", ":"))
text = f"{ts}\nPOST\n/api/v1/\n{hashlib.sha256(body.encode()).hexdigest()}"
signature = hmac.new(secret.encode(), text.encode(), hashlib.sha256).hexdigest()
Java
String ts = String.valueOf(System.currentTimeMillis() / 1000);
String bodyHash = HexFormat.of().formatHex(MessageDigest.getInstance("SHA-256").digest(body.getBytes(StandardCharsets.UTF_8)));
Mac mac = Mac.getInstance("HmacSHA256");
mac.init(new SecretKeySpec(secret.getBytes(StandardCharsets.UTF_8), "HmacSHA256"));
String signature = HexFormat.of().formatHex(mac.doFinal((ts + "\nPOST\n/api/v1/\n" + bodyHash).getBytes(StandardCharsets.UTF_8)));
.NET (C#)
var ts = DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString();
var bodyHash = Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(body))).ToLowerInvariant();
using var hmac = new HMACSHA256(Encoding.UTF8.GetBytes(secret));
var signature = Convert.ToHexString(hmac.ComputeHash(Encoding.UTF8.GetBytes($"{ts}\nPOST\n/api/v1/\n{bodyHash}"))).ToLowerInvariant();

The usual order

Load the lists once and keep them until siteVersion changes. Then: searchRq for a period, extrasRq and crossBordersRq for the chosen car, searchDetailsRq for the exact total, and bookRq with that total as expectedTotal.

Commands

locationsRq Pick-up and return locations.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names. Default en.

Response data

FieldTypeRequiredDescription
siteVersionintegerRequiredVersion of our data: reload the list only when it changes.
locationsarrayRequiredActive locations.
locations[].codeintegerRequiredLocation code (pickup.locationId / dropoff.locationId).
locations[].namestringRequiredName with type, e.g. "Iași Airport".
locations[].citystringRequiredCity.
locations[].typeobjectRequiredcity|airport|trainStation|office, with name.
locations[].iatastringoptionalAirport code, or null.
locations[].kindobjectRequiredoffice|fleet|pool|request, with name: own office, local fleet, car brought from the nearest fleet, on request.
locations[].latnumberoptionalLatitude.
locations[].lngnumberoptionalLongitude.
categoriesRq Car classes.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names. Default en.

Response data

FieldTypeRequiredDescription
siteVersionintegerRequiredVersion of our data: reload the list only when it changes.
categoriesarrayRequiredActive classes, in our order.
categories[].codeintegerRequiredCategory code.
categories[].namestringRequiredName.
categories[].descriptionstringoptionalDescription, or null.
carTypesRq Car types you can sell.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names. Default en.

Response data

FieldTypeRequiredDescription
siteVersionintegerRequiredVersion of our data: reload the list only when it changes.
carTypesarrayRequiredActive car types you have access to.
carTypes[].codeintegerRequiredCar type code.
carTypes[].namestringRequiredCar type name (the car or a similar one of the same class or higher).
carTypes[].categoryobjectRequiredCar class.
carTypes[].category.codeintegerRequiredCategory code (categoriesRq).
carTypes[].category.namestringRequiredName.
carTypes[].acrissstringoptionalACRISS code, or null.
carTypes[].specsobjectRequiredFeatures.
carTypes[].specs.seatsintegeroptionalSeats.
carTypes[].specs.doorsintegeroptionalDoors.
carTypes[].specs.luggageintegeroptionalSuitcases.
carTypes[].specs.transmissionobjectoptionalCode (manual|automatic) and name in the request language, or null.
carTypes[].specs.transmission.codestringRequiredmanual|automatic
carTypes[].specs.transmission.namestringRequiredName.
carTypes[].specs.fuelobjectoptionalFuel {code, name}, or null.
carTypes[].specs.consumptionnumberoptionalLitres / 100 km, or null.
carTypes[].specs.airConditioningobjectoptionalCode (automatic|manual) and name in the request language, or null.
carTypes[].specs.airConditioning.codestringRequiredautomatic|manual
carTypes[].specs.airConditioning.namestringRequiredName.
carTypes[].specs.driveobjectoptionalCode (front|rear|4x4) and name in the request language, or null.
carTypes[].specs.drive.codestringRequiredfront|rear|4x4
carTypes[].specs.drive.namestringRequiredName.
carTypes[].specs.isofixbooleanRequiredIsofix.
carTypes[].specs.wagonbooleanRequiredEstate body.
carTypes[].specs.smartphonebooleanRequiredSmartphone integration.
carTypes[].picturesarray<string>RequiredPhoto URLs.
carTypes[].minimumDaysintegerRequiredMinimum rental days of the type.
ageGroupsRq Driver age groups.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names. Default en.

Response data

FieldTypeRequiredDescription
siteVersionintegerRequiredVersion of our data: reload the list only when it changes.
ageGroupsarrayRequiredActive age groups.
ageGroups[].codeintegerRequiredAge group code (ageGroup).
ageGroups[].fromAgeintegerRequiredFrom age.
ageGroups[].toAgeintegeroptionalTo age, or null (and over).
ageGroups[].namestringRequiredName, e.g. "23–69 years".
ageGroups[].defaultbooleanRequiredThe usual group (no surcharge).
searchRq Available cars and prices for a period.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectRequiredThe pickup place and moment.
pickup.locationIdintegerRequiredLocation code (locationsRq).
pickup.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectRequiredThe dropoff place and moment.
dropoff.locationIdintegerRequiredLocation code (locationsRq).
dropoff.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerRequiredMain driver age group code (ageGroupsRq).
carTypeCodeintegeroptionalOptional: a car type to return first (if it is offered for the search).
availabilityavailable|onRequest|bothoptionalWhich cars to return. Default both.
filtersobjectoptionalFilters.
filters.categoriesarray<integer>optionalCategory codes.
filters.seatsarray<integer>optionalSeat counts.
filters.luggageintegeroptionalMinimum suitcases.
filters.fuelarray<integer>optionalFuel codes.
filters.transmissionarray<string>optionalmanual / automatic.

Response data

FieldTypeRequiredDescription
currencystringRequiredCurrency of all amounts (ISO 4217, EUR).
requestobjectRequiredThe request as understood.
daysintegerRequiredRental days.
typesarrayRequiredCars that can be rented for the search (the others are not returned).
types[].codeintegerRequiredCar type code.
types[].namestringRequiredCar type name (the car or a similar one of the same class or higher).
types[].categoryobjectRequiredCar class.
types[].category.codeintegerRequiredCategory code (categoriesRq).
types[].category.namestringRequiredName.
types[].acrissstringoptionalACRISS code, or null.
types[].specsobjectRequiredFeatures.
types[].specs.seatsintegeroptionalSeats.
types[].specs.doorsintegeroptionalDoors.
types[].specs.luggageintegeroptionalSuitcases.
types[].specs.transmissionobjectoptionalCode (manual|automatic) and name in the request language, or null.
types[].specs.transmission.codestringRequiredmanual|automatic
types[].specs.transmission.namestringRequiredName.
types[].specs.fuelobjectoptionalFuel {code, name}, or null.
types[].specs.consumptionnumberoptionalLitres / 100 km, or null.
types[].specs.airConditioningobjectoptionalCode (automatic|manual) and name in the request language, or null.
types[].specs.airConditioning.codestringRequiredautomatic|manual
types[].specs.airConditioning.namestringRequiredName.
types[].specs.driveobjectoptionalCode (front|rear|4x4) and name in the request language, or null.
types[].specs.drive.codestringRequiredfront|rear|4x4
types[].specs.drive.namestringRequiredName.
types[].specs.isofixbooleanRequiredIsofix.
types[].specs.wagonbooleanRequiredEstate body.
types[].specs.smartphonebooleanRequiredSmartphone integration.
types[].picturesarray<string>RequiredPhoto URLs.
types[].requestedbooleanRequiredThis is the carTypeCode from the request.
types[].statusavailable|onRequestRequiredavailable = can be booked now; onRequest = we confirm it.
types[].instantConfirmationbooleanRequiredThe booking is confirmed immediately (24 h+ before pick-up, car in the fleet).
types[].daysintegerRequiredRental days.
types[].chargedDaysintegerRequiredDays charged (the minimum, when the period is shorter).
types[].minimumDaysintegerRequiredMinimum days here.
types[].offersobjectRequiredThe two offers.
types[].offers.standardobjectRequiredWith damage deposit.
types[].offers.standard.totalintegerRequiredFinal price for the whole rental, all included (rounded up to whole euro). Never compute it from perDay.
types[].offers.standard.perDaynumberRequiredAverage price per day (information only). In currency (EUR).
types[].offers.standard.discountobjectoptionalThe discount already applied, or null.
types[].offers.standard.discount.amountnumberRequiredAmount saved. In currency (EUR).
types[].offers.standard.discount.percentnumberRequiredPercent saved.
types[].offers.standard.discount.totalBeforeintegerRequiredTotal before the discount.
types[].offers.standard.depositobjectRequiredSecurity deposit at pick-up, by part (all keys always present, 0 when not required).
types[].offers.standard.deposit.carnumberRequiredDamage deposit (0 with extraProtection). In currency (EUR).
types[].offers.standard.deposit.fuelnumberRequiredFuel deposit. In currency (EUR).
types[].offers.standard.deposit.extrasnumberRequiredEquipment deposit. In currency (EUR).
types[].offers.standard.deposit.crossBordernumberRequiredCross-border deposit. In currency (EUR).
types[].offers.standard.deposit.agenumberRequiredExtra deposit for the driver age group. In currency (EUR).
types[].offers.standard.deposit.totalnumberRequiredTotal deposit. 0 = no deposit at all. In currency (EUR).
types[].offers.standard.kmobjectRequiredKilometres.
types[].offers.standard.km.perDayintegerRequiredIncluded km per day.
types[].offers.standard.km.includedintegerRequiredTotal km included for the rental.
types[].offers.standard.km.extraKmPricenumberRequiredPrice per extra km, charged at the end over the total included. In currency (EUR).
types[].offers.standard.cancellationobjectRequiredCancellation policy of this offer.
types[].offers.standard.cancellation.freeUntildatetimeoptionalFree cancellation until this moment (Romanian time); null = free until pick-up.
types[].offers.standard.cancellation.stagesarrayRequiredCancellation fees after the free period.
types[].offers.standard.cancellation.stages[].fromdatetimeRequiredFrom this moment.
types[].offers.standard.cancellation.stages[].amountnumberRequiredCancellation fee. In currency (EUR).
types[].offers.standard.cancellation.noShownumberoptionalNo-show fee in EUR, or null.
types[].offers.standard.advanceobjectoptionalAlways null for partners (an advance can be asked only for website bookings).
types[].offers.standard.advance.amountnumberRequiredAdvance amount. In currency (EUR).
types[].offers.extraProtectionobjectoptionalWithout damage deposit (SCDW), or null when the car has no such option. Same fields as standard.
types[].notestringoptionalA note on the price (e.g. minimum days).
facetsobjectRequiredCounts per availability, category, transmission, fuel, seats, luggage: [{code, name, count}].
extrasRq Equipment offered with a car.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectRequiredThe pickup place and moment.
pickup.locationIdintegerRequiredLocation code (locationsRq).
pickup.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectRequiredThe dropoff place and moment.
dropoff.locationIdintegerRequiredLocation code (locationsRq).
dropoff.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerRequiredMain driver age group code (ageGroupsRq).
carTypeCodeintegerRequiredThe chosen car type (carTypesRq / searchRq).

Response data

FieldTypeRequiredDescription
currencystringRequiredEUR.
carTypeCodeintegerRequiredThe car type.
chargedDaysintegerRequiredDays charged.
extrasarrayRequiredEquipment.
extras[].codeintegerRequiredEquipment code.
extras[].namestringRequiredName.
extras[].descriptionstringoptionalDescription.
extras[].photostringoptionalPhoto URL.
extras[].pricePerDaynumberRequiredPrice per day. In currency (EUR).
extras[].maxQuantityintegerRequiredMaximum per booking.
extras[].depositnumberRequiredDeposit per piece. In currency (EUR).
extras[].totalnumberRequiredPrice of one piece for the whole rental. In currency (EUR).
crossBordersRq Countries the car may be driven to.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectRequiredThe pickup place and moment.
pickup.locationIdintegerRequiredLocation code (locationsRq).
pickup.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectRequiredThe dropoff place and moment.
dropoff.locationIdintegerRequiredLocation code (locationsRq).
dropoff.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerRequiredMain driver age group code (ageGroupsRq).
carTypeCodeintegerRequiredThe chosen car type (carTypesRq / searchRq).

Response data

FieldTypeRequiredDescription
currencystringRequiredEUR.
carTypeCodeintegerRequiredThe car type.
chargedDaysintegerRequiredDays charged.
crossBordersarrayRequiredAllowed destinations. Without one, leaving Romania is forbidden.
crossBorders[].codeintegerRequiredDestination code.
crossBorders[].namestringRequiredName.
crossBorders[].descriptionstringoptionalDocuments and rules.
crossBorders[].pricePerDaynumberRequiredPrice per day. In currency (EUR).
crossBorders[].minTotalnumberRequiredMinimum per rental (0 = none). In currency (EUR).
crossBorders[].maxTotalnumberRequiredMaximum per rental (0 = none). In currency (EUR).
crossBorders[].depositnumberRequiredExtra deposit. In currency (EUR).
crossBorders[].totalnumberRequiredPrice for the whole rental. In currency (EUR).
searchDetailsRq Exact price of a selection (car, equipment, cross-border), before booking.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectRequiredThe pickup place and moment.
pickup.locationIdintegerRequiredLocation code (locationsRq).
pickup.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectRequiredThe dropoff place and moment.
dropoff.locationIdintegerRequiredLocation code (locationsRq).
dropoff.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerRequiredMain driver age group code (ageGroupsRq).
carTypeCodeintegerRequiredThe chosen car type (carTypesRq / searchRq).
extrasarrayoptionalChosen equipment.
extras[].codeintegerRequiredEquipment code (extrasRq).
extras[].qtyintegeroptionalQuantity, default 1; capped at maxQuantity.
crossBordersarray<integer>optionalChosen cross-border destination codes (crossBordersRq).

Response data

FieldTypeRequiredDescription
currencystringRequiredEUR.
requestobjectRequiredThe request as understood.
typeobjectRequiredThe car type with status, days, chargedDays, minimumDays, note.
type.codeintegerRequiredCar type code.
type.namestringRequiredCar type name (the car or a similar one of the same class or higher).
type.categoryobjectRequiredCar class.
type.category.codeintegerRequiredCategory code (categoriesRq).
type.category.namestringRequiredName.
type.acrissstringoptionalACRISS code, or null.
type.specsobjectRequiredFeatures.
type.specs.seatsintegeroptionalSeats.
type.specs.doorsintegeroptionalDoors.
type.specs.luggageintegeroptionalSuitcases.
type.specs.transmissionobjectoptionalCode (manual|automatic) and name in the request language, or null.
type.specs.transmission.codestringRequiredmanual|automatic
type.specs.transmission.namestringRequiredName.
type.specs.fuelobjectoptionalFuel {code, name}, or null.
type.specs.consumptionnumberoptionalLitres / 100 km, or null.
type.specs.airConditioningobjectoptionalCode (automatic|manual) and name in the request language, or null.
type.specs.airConditioning.codestringRequiredautomatic|manual
type.specs.airConditioning.namestringRequiredName.
type.specs.driveobjectoptionalCode (front|rear|4x4) and name in the request language, or null.
type.specs.drive.codestringRequiredfront|rear|4x4
type.specs.drive.namestringRequiredName.
type.specs.isofixbooleanRequiredIsofix.
type.specs.wagonbooleanRequiredEstate body.
type.specs.smartphonebooleanRequiredSmartphone integration.
type.picturesarray<string>RequiredPhoto URLs.
extrasarrayRequiredEquipment added.
extras[].codeintegerRequiredCode.
extras[].namestringRequiredName.
extras[].quantityintegerRequiredQuantity.
extras[].totalnumberRequiredTotal. In currency (EUR).
crossBordersarrayRequiredDestinations added.
crossBorders[].codeintegerRequiredCode.
crossBorders[].namestringRequiredName.
crossBorders[].totalnumberRequiredTotal. In currency (EUR).
offersobjectRequiredThe two offers for the selection; send the chosen total as expectedTotal in bookRq.
offers.standardobjectRequiredWith damage deposit.
offers.standard.totalintegerRequiredFinal price for the whole rental, all included (rounded up to whole euro). Never compute it from perDay.
offers.standard.perDaynumberRequiredAverage price per day (information only). In currency (EUR).
offers.standard.rentalTotalnumberRequiredThe rental without equipment and cross-border (summary line). In currency (EUR).
offers.standard.discountobjectoptionalThe discount already applied, or null.
offers.standard.discount.amountnumberRequiredAmount saved. In currency (EUR).
offers.standard.discount.percentnumberRequiredPercent saved.
offers.standard.discount.totalBeforeintegerRequiredTotal before the discount.
offers.standard.depositobjectRequiredSecurity deposit at pick-up, by part (all keys always present, 0 when not required).
offers.standard.deposit.carnumberRequiredDamage deposit (0 with extraProtection). In currency (EUR).
offers.standard.deposit.fuelnumberRequiredFuel deposit. In currency (EUR).
offers.standard.deposit.extrasnumberRequiredEquipment deposit. In currency (EUR).
offers.standard.deposit.crossBordernumberRequiredCross-border deposit. In currency (EUR).
offers.standard.deposit.agenumberRequiredExtra deposit for the driver age group. In currency (EUR).
offers.standard.deposit.totalnumberRequiredTotal deposit. 0 = no deposit at all. In currency (EUR).
offers.standard.kmobjectRequiredKilometres.
offers.standard.km.perDayintegerRequiredIncluded km per day.
offers.standard.km.includedintegerRequiredTotal km included for the rental.
offers.standard.km.extraKmPricenumberRequiredPrice per extra km, charged at the end over the total included. In currency (EUR).
offers.standard.cancellationobjectRequiredCancellation policy of this offer.
offers.standard.cancellation.freeUntildatetimeoptionalFree cancellation until this moment (Romanian time); null = free until pick-up.
offers.standard.cancellation.stagesarrayRequiredCancellation fees after the free period.
offers.standard.cancellation.stages[].fromdatetimeRequiredFrom this moment.
offers.standard.cancellation.stages[].amountnumberRequiredCancellation fee. In currency (EUR).
offers.standard.cancellation.noShownumberoptionalNo-show fee in EUR, or null.
offers.standard.advanceobjectoptionalAlways null for partners (an advance can be asked only for website bookings).
offers.standard.advance.amountnumberRequiredAdvance amount. In currency (EUR).
offers.extraProtectionobjectoptionalWithout damage deposit (SCDW), or null when the car has no such option. Same fields as standard.
bookRq Book the selection.

Request

FieldTypeRequiredDescription
commandstringRequiredThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectRequiredThe pickup place and moment.
pickup.locationIdintegerRequiredLocation code (locationsRq).
pickup.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectRequiredThe dropoff place and moment.
dropoff.locationIdintegerRequiredLocation code (locationsRq).
dropoff.dateTimedatetimeRequiredRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerRequiredMain driver age group code (ageGroupsRq).
carTypeCodeintegerRequiredThe chosen car type (carTypesRq / searchRq).
extrasarrayoptionalChosen equipment.
extras[].codeintegerRequiredEquipment code (extrasRq).
extras[].qtyintegeroptionalQuantity, default 1; capped at maxQuantity.
crossBordersarray<integer>optionalChosen cross-border destination codes (crossBordersRq).
offerstandard|extraProtectionRequiredThe chosen offer.
expectedTotalnumberRequiredThe total the customer saw (searchDetailsRq). A different current total gives PRICE_CHANGED with the new total.
driverobjectRequiredMain driver (signs the contract).
driver.fullNamestringRequiredFull name.
driver.phonestringRequiredPhone with country code (WhatsApp if possible).
driver.emailstringRequiredEmail (confirmation and booking link).
driver.personalIdstringoptionalPersonal ID number.
driver.birthDatestringoptionalYYYY-MM-DD.
driver.citizenshipstringoptionalCitizenship: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.
driver.addrCountrystringoptionalAddress country: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.
driver.addrStateRomaniastringoptionalCounty code, 2 letters, e.g. IS, B (only when addrCountry is RO).
driver.addrStatestringoptionalRegion (other countries).
driver.addrCitystringoptionalCity.
driver.addrStreetstringoptionalStreet.
driver.idTypeintegeroptionalID document type: 1 = identity card, 2 = passport, 3 = residence permit. Default 1; another value gives FIELD_INVALID.
driver.idCountrystringoptionalCountry that issued the ID document: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.
driver.idNumberstringoptionalID document number.
driver.idExpiresAtstringoptionalYYYY-MM-DD.
driver.licCountrystringoptionalCountry that issued the driving licence: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.
driver.licNumberstringoptionalLicence number.
driver.licIssuedAtstringoptionalYYYY-MM-DD.
driver.licExpiresAtstringoptionalYYYY-MM-DD.
additionalDriverobjectoptionalSecond driver, same fields (email not required). Free of charge.
billingobjectoptionalInvoice to: {type: person} (the main driver, default) or {type: company, name, taxId, vatPayer, tradeRegisterNo, country, stateRomania, state, city, street}; country: ISO 3166-1 alpha-2 code, 2 letters (e.g. RO), stateRomania: county code (e.g. IS, B).
flightobjectoptionalArrival flight, so we can follow delays.
flight.numberstringoptionalFlight number.
flight.fromstringoptionalDeparture airport.
messagestringoptionalMessage for us.
consentbooleanRequiredtrue: the customer accepted the rental conditions and the privacy policy.
confirmDuplicatebooleanoptionaltrue: book again after DUPLICATE_BOOKING.
partnerVoucherstringoptionalYour own booking reference (up to 60 characters).

Response data

FieldTypeRequiredDescription
bookingCodeintegerRequiredOur booking number.
statusrequest|confirmedRequiredconfirmed = instant confirmation; request = we confirm it by email.
bookingTokenstringRequiredSigned proof of the booking.
totalnumberRequiredBooked total.
currencystringRequiredEUR.

Message codes

Codes never change and are never removed (new ones may be added); texts may be improved at any time. Rely on the code, not on the text.

CodeLevelHTTPText
INVALID_JSONerror400The request is not valid JSON.
UNKNOWN_COMMANDerror404Unknown command: {value}.
METHOD_NOT_ALLOWEDerror405Send the request with POST, with the command as JSON in the body.
EMPTY_BODYerror400The request has no body: send the command as JSON, for example {"command": "searchRq", ...}.
AUTH_REQUIREDerror401Sign the request with the X-Api-Key, X-Api-Timestamp and X-Api-Signature headers.
AUTH_INVALIDerror401The partner credentials are not valid.
SIGNATURE_INVALIDerror401The request signature is not valid.
SIGNATURE_EXPIREDerror401The request time is too far from ours: sign each request with the current time.
FIELD_REQUIREDerror400This field is required: {value}.
FIELD_INVALIDerror400This field has an invalid value: {value}.
LOCATION_UNKNOWNerror400This location does not exist: {value}.
PICKUP_IN_PASTerror400The pick-up date and time must be in the future.
DROPOFF_BEFORE_PICKUPerror400The return must be after the pick-up.
AGE_GROUP_UNKNOWNerror400This driver age group does not exist.
CAR_TYPE_NOT_OFFEREDerror400This car is not offered for this search.
TOO_MANY_ATTEMPTSerror429Too many attempts. Please try again in a few minutes.
TRY_AGAINerror503Another booking for this car is being saved right now. Please try again in a few seconds.
EXTRA_NOT_OFFEREDwarning—This equipment is not offered with this car, so it was not added: {value}.
EXTRA_QTY_REDUCEDwarning—The quantity was reduced to the maximum per booking: {value}.
CROSS_BORDER_NOT_ALLOWEDwarning—This car cannot leave the country to this destination, so it was not added: {value}.
NO_RESULTSinfo—No car matches your search.
BELOW_MIN_DAYSinfo—The price is for the minimum rental of {value} days.
CONSENT_REQUIREDerror400Accept the rental conditions and the privacy policy to send the booking.
PRICE_CHANGEDerror409The price has changed in the meantime: the new total is {value}. Check it and send the booking again.
DUPLICATE_BOOKINGerror409You already have a booking with the same driver, dates and locations. Send it again only if you want one more.
OFFER_UNAVAILABLEerror400The offer without deposit is not available for this car. Choose the offer with deposit.
SERVER_ERRORerror500Something went wrong on our side. Please try again.

Good to know

  • All amounts are in the currency of the response (EUR today).
  • All dates and times are Romanian local time.
  • Prices are only guaranteed by bookRq: if the total changed, you get PRICE_CHANGED with the new total.