Car rental API for developers

A code window with lines of JSON, a key going into it and a shield with a check mark, connected to a booking website, a phone app, a car with a price, a booking calendar and an integration gear

Connect your website, mobile app or booking platform to CarRentSoft: a REST car rental API with JSON responses, API keys with scopes and ready-made booking widgets.

What is the CarRentSoft car rental API?

Car rental API: code in curly braces and a gear

The car rental API is how other programs talk to CarRentSoft. Your booking website or app asks for vehicles, live availability and the exact price for the dates, then creates the customer and the booking — and the booking appears in the account at once, like one made at the counter.

It is a REST API over HTTPS with JSON requests and responses. Every request carries an API key, and the key decides what it may do: a storefront key for a booking website, a full key for your own integrations.

Authentication: API keys with scopes

Send the key in the Authorization header of every request. The client_id starts with crs_; the secret is shown only once, when the key is issued, and CarRentSoft stores just its hash.

Authorization: Bearer <client_id>.<secret>

Storefront key (booking)

Vehicles, availability, price quotes, locations, insurance and extras, and creating a customer and a booking — what a booking website or app needs. Your customer list and other bookings stay closed to it.

Full key (cabinet)

The whole API of your company for your own integrations: bookings, customers, the fleet, payments and the rest of the account. Issued on request.

Agent keys and revocation

An agent's storefront key is issued in the agent card under Settings → Integrations & Agents. Bookings made with it are recorded to the agent, and a new secret switches the old one off at once.

Car rental API endpoints for online booking

Everything a storefront key can call. Requests go to carrentsoft.com over HTTPS; responses are JSON.

RequestWhat it does
GET /api/v1/vehiclesVehicles of the fleet for the storefront
GET /api/v1/vehicles/{id}One vehicle and its details
GET /api/v1/availabilityVehicles free for the chosen dates and location, with prices
POST /api/v1/quoteThe exact price of a booking for the dates, with extras and insurance
GET /api/v1/locationsPickup and return locations
GET /api/v1/insurancesInsurance options
GET /api/v1/optionsExtras that can be added to a booking
GET /api/v1/vehicle-featuresVehicle features for search filters
GET /api/v1/countriesCountries for the customer form
GET /api/v1/document-typesTypes of customer documents
POST /api/v1/customersCreate the customer of a booking
POST /api/v1/ordersCreate a booking
POST /api/v1/orders/{id}/paymentsRecord a payment for a booking; an agent's storefront key — only for its own booking and only if the agent may take prepayments

A full key also reaches the rest of the account — bookings and their statuses, customers, the fleet, payments, expenses, fines and maintenance. The storefront methods above are documented in the public API reference; the full-key methods are described on request. Open the API reference

Booking widgets without code

Don't want to write code? An agent's booking widget is one line on any website: copy it from the agent cabinet and paste it where the form should appear.

<script src="…/w/v1/embed.js" data-widget="<widget_id>" async></script>

Four kinds of widgets

A search form, a vehicle catalogue, a full booking page or a single booking button. Colours, size and language are set in the agent cabinet — the code on the website never changes.

Online booking for your website

The same data as the API

The widget shows exactly what the agent's storefront key would see: locations, free vehicles with prices and the price quote. No secret goes into the page — the widget ID opens only the storefront.

Only on the agent's websites

The widget opens only on the websites listed in the agent's card, so nobody can put your storefront on someone else's site.

Partner program

Formats, limits and webhooks

JSON over HTTPS

Requests and responses are JSON, and all traffic goes over HTTPS. Field names are the same in every language of the account.

Clear errors

An error comes with a standard HTTP status and a JSON body with the error text and, where useful, a machine-readable code: 401 — the key is wrong, 403 — the key has no access to this section, 429 — too many requests.

Request limits

Public widget endpoints have a request limit per IP address that stops abuse but not real visitors. Over the limit the answer is 429 — wait a little and repeat the request.

Integration webhooks

Payment services report payments to CarRentSoft by webhook at /api/v1/hooks/{provider}/{company}, and every notification is checked against the service's signature. Webhooks from CarRentSoft to your own system are set up on request.

Integrations

Your business time zone

Dates and times are counted in the time zone of your business set in the account, so a booking made through the API lands on the same day as in the office.

Full API reference

Every storefront method is documented in our public API reference, with parameters and request and response examples you can try right away. The full-key methods are described on request — tell us what you are building.

Open the API reference

Car rental API: questions and answers

How do I get an API key?

Open a CarRentSoft account. A storefront key for an agent is issued in the agent card under Settings → Integrations & Agents; for a full key for your own integration, contact us.

Is the car rental API free?

Yes. The API is included in the CarRentSoft subscription, with no extra fee and no commission on bookings.

Can I build my own booking website with the API?

Yes. A storefront key gives your website vehicles, live availability and price quotes and creates customers and bookings. Bookings appear in the account at once and are checked against all other bookings, so a vehicle can't be booked twice.

What if a key leaks?

Issue a new secret: the old one stops working at once. A storefront key can't read your customer list or other bookings, and no key can issue new keys or change the security of the account.

Is there a sandbox for testing?

Use the free 14-day trial account: add a few vehicles, get a key and try every request before you go live.

Start building with the car rental API

Open a free account, add your fleet and try the API on real data. 14 days free, no credit card needed.

Start free trial