BaliRent API

Scooter and car rental offers from local rental shops in Bali, as JSON. Read-only, no key, no sign-up. Prices are in Indonesian rupiah (IDR), dates and times in Bali time.

First request

Scooters and motorbikes you can get in Canggu, cheapest first. Without dates the API takes tomorrow 10:00 for 7 days:

Each result is a vehicle with variant.url, the page where a person books, and the offers from rental shops: price per day, total for the trip, deposit, delivery, licence and cancellation terms. Offers with booking: "instant" are confirmed at once; with request the shop confirms.

Endpoints

Base URL: https://balirent.io/api/v1

GET /areas
Areas where rental shops hand over or deliver vehicles, plus the airport.
GET /models
Scooter and car models with links to their pages.
GET /offers
Vehicles available for your dates, each with rental shops' offers and the trip total.
GET /variants/{model}/{variant}
One variant (year and condition) with the offers of every shop that has it free on your dates.

Parameters

type
bike (scooters and motorbikes) or car. Default: bike.
from, to
Pick-up and return, YYYY-MM-DDTHH:mm, Bali time (UTC+8), up to 365 days ahead and up to 365 days long. Default: tomorrow 10:00, for 7 days.
area
Area slug from /areas: where the person gets the vehicle. Shops in the area hand it over at their office, others deliver; shops that don't deliver there are left out. Empty: pick up at the shop.
class
Vehicle class. Bikes: scooter, maxi_scooter, big_scooter, motorbike. Cars: economy, compact, compact_suv, mpv, suv, premium.
nodeposit
1: only offers without a deposit or with a no-deposit option.
instant
1: only offers confirmed at once.
sort
rec (default: instant booking first, then cheaper), price (cheapest trip first) or rating (best-rated shop first). Vehicles whose total the shop still has to confirm (total_is_estimate) come last.
limit
Vehicles to return, 1–100. Default: 20.

A variant with offers for your dates. Take model and variant from variant.model_slug and variant.slug in /offers, put real dates in place of YYYY-MM-DD:

Limits

120 requests per minute from one IP. Every endpoint response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset. Over the limit the API answers 429 with Retry-After.

Errors

Errors are JSON: { "error": "invalid_from", "message": "…" }. error is a machine code to branch on, message is for people.

400
A parameter is wrong: invalid_type, invalid_from, invalid_to, invalid_dates, invalid_area, invalid_class, invalid_sort, invalid_limit, invalid_slug.
404
variant_not_found or not_found: no such variant or endpoint.
429
rate_limited: wait Retry-After seconds.
500
internal: our error, try again later.

Versions and access

The version is in the path: /api/v1. The API is public and needs no authentication; it answers with Access-Control-Allow-Origin: *, so you can call it from a browser. Bookings are made on the site, on the vehicle page, or by an AI assistant through the BaliRent MCP server with OAuth sign-in. The OpenAPI file declares the OAuth scopes the MCP server uses.

MCP server

AI assistants (Claude, ChatGPT, Cursor) can search and book through MCP at https://balirent.io/mcp. How to connect, tools and permissions: BaliRent MCP server.

Machine-readable files