Carsan for AI agents
Carsan rents cars in Los Angeles and Miami. An agent can search cars, check dates, and get prices without an account.
With an API key that the customer creates, the agent works on that customer's account. Payment, card addition, extension, and identity verification always stay with the customer.
What an agent can do
Without a key
- Search cars by city (
la,miami) and dates. - Read car details.
- Get a price quote for dates and options.
With the customer's API key
- Read the profile, verification status, trips, trip costs, invoices, and the saved card's brand and last four digits.
- Get customer links for payment, card addition, and extension.
- Create and cancel reservations under the normal rules (
booking_writekeys only).
Customer only
- Sign up, start and complete identity verification (KYC).
- Pay, add a card, and confirm an extension in the Carsan app.
- Create and revoke API keys.
Search and price without an account
Send no credentials on these calls. Dates are car-local YYYY-MM-DDTHH:MM: Los Angeles uses America/Los_Angeles, Miami uses America/New_York. Amounts are integer USD cents.
Search (sample data)
Result
Quote the dates and options
Result
final_total excludes the refundable deposit; deposit_cents is separate. A quote does not hold the car or guarantee a later price.
Car photos
The API returns car photos as direct image URLs. To show a car in a chat, use these URLs as they are.
- In search results (
GET /cars), usepreview_urls: every 620x372 preview, in display order. Show the first URL as the main picture. - In car details (
GET /cars/{alias}), usegallery: every photo, in display order. Each item haspreview_url(620x372) andfull_url(full size). Usefull_urlto show a large picture. - A trip (
GET /my/reservation/{uuid}andGET /my/trips) has the samegalleryincar. - An empty array means the car has no photos.
- Do not build URLs from
photosorpreviews. These fields contain stored file names, not URLs.
Car details photos (sample)
Continue with the customer's account
- The customer signs up at app.carsan.com.
- The customer opens Settings → API Keys and creates a key.
read_onlyreads the account;booking_writealso creates and cancels reservations. - The customer gives the key to the agent. It is shown once.
- The agent sends it as
Authorization: Bearer carsan_YOUR_API_KEYorX-API-Key: carsan_YOUR_API_KEY.
An API key is not driver approval. The customer starts and completes verification personally.
Connect from ChatGPT or Claude
Chat assistants that support MCP connectors can use Carsan without an API key. Add a custom connector with the URL https://api.carsan.com/mcp.
search_cars: finds available cars for a city and dates. Results include photo URLs.get_car: returns the details and full photo gallery of one car.quote_trip: returns the price of a trip. A quote does not hold the car.get_profile: returns the customer's profile and verification status.list_my_trips: returns the customer's trips.get_my_trip: returns one trip.list_trip_invoices: returns the invoices of one trip.
The first three tools work without an account. The other tools require the customer to connect the assistant. The customer logs in and approves the connection on a Carsan page; the assistant never receives the Carsan password. A connection is read-only.
To disconnect an assistant, the customer opens Settings → API Keys and removes it under Connected assistants.
Customer actions
For payment, card addition, or extension the API returns a Carsan link. The link executes nothing and carries no key.
Payment link response (sample)
- Give the
urlto the customer. - The customer opens it, logs in if needed, reviews current details, and confirms.
- Read
GET /my/reservation/00000000-0000-4000-8000-000000000001again to report the actual result. A generated or visited link is not completion.