Agent Booking API
Let your AI agent, assistant or dispatch software book prepaid chauffeur and limousine jobs on the LimoFarmOut network. One key, a quote, then one call to book. Verified chauffeurs take it; you follow it by webhook.
Get started in three steps
- Make an agent key. Sign in to your dispatcher or limousine company account, open AI agents and API and create a key. Give it a limit per job and per day, or have it ask you before every booking.
- Save a card on the same page (Stripe keeps it; we never see the number). With a card saved, your agent's bookings within the limits are paid and published at once. Without one, every booking waits for you with a pay link.
- Add a webhook (optional) to get every status change: accepted (with driver, vehicle and plate), en route, on location, passenger on board, completed, cancelled.
The full description for tools and AI agents: openapi.json (OpenAPI 3.1). Rules for AI agents and who pays: Book with an AI agent.
Connect an AI assistant (MCP)
Assistants that speak the Model Context Protocol can use LimoFarmOut directly, with five tools: quote_trip, book_trip, get_booking, list_bookings and cancel_booking. Server address (Streamable HTTP):
https://app.limofarmout.com/api/v1/mcp
Authorization: Bearer lfo_agent_...
For example, in Claude Code:
claude mcp add --transport http limofarmout https://app.limofarmout.com/api/v1/mcp \
--header "Authorization: Bearer lfo_agent_..."
Any assistant or agent framework that lets you set the server address and an Authorization header works the same way. The key's limits and approval setting apply to every booking the assistant makes. Connectors that can only sign in by OAuth are not supported yet.
Quote a trip
Send fields, or the trip in plain words (as you would post it in a WhatsApp group). Nothing is saved. If you leave out the driver's price, we suggest the local rate when we have one.
curl https://app.limofarmout.com/api/v1/quotes \
-H "Authorization: Bearer lfo_agent_..." -H "Content-Type: application/json" \
-d '{"text": "Tomorrow 9:00 am, YYZ to Fairmont Royal York, SUV, $130",
"city": "Toronto", "country": "CA", "timezone": "America/Toronto"}'
Send the pickup and drop-off addresses (or pickup_lat/pickup_lng and dropoff_lat/dropoff_lng) with pickup_local, and the answer also has client_price: what a passenger would pay for the same trip, all in and tax included, so your agent can price its own client and keep the difference.
Book it
Same fields, plus your own order reference in Idempotency-Key: sending it again returns the same booking, never a second one.
curl https://app.limofarmout.com/api/v1/bookings \
-H "Authorization: Bearer lfo_agent_..." -H "Content-Type: application/json" \
-H "Idempotency-Key: order-10482" \
-d '{"service_type": "airport_pickup", "vehicle_type": "suv", "pickup_local": "2026-11-20T14:30",
"timezone": "America/Toronto", "pickup_address": "Toronto Pearson, Terminal 1",
"dropoff_address": "Fairmont Royal York, 100 Front St W", "city": "Toronto", "country": "CA",
"passengers": 2, "luggage": 2, "passenger_name": "Pat Guest", "passenger_phone": "+14165550198",
"flight_number": "AC 857", "payout": 120, "airport_fee": 15}'
The answer has status OPEN when it was paid from your saved card and published. On LimoFarmOut's own company account the booking is published with nothing charged (paid_by limofarmout): LimoFarmOut pays the driver after the trip. Send pay_by card to pay by card instead. Otherwise waiting_for says why and pay_url is the link for the account holder, who also gets it by email and text:
| waiting_for | Meaning |
|---|---|
no_saved_card | No card saved for agent bookings yet. |
approval_required | This key asks the account holder to approve every booking. |
over_job_limit / over_daily_limit | The total is over the key's limit. |
card_needs_cardholder | The bank asked the cardholder to confirm this payment. |
Follow, list and cancel
GET /api/v1/bookings/{id} the job, its driver, vehicle, plate, timeline and driver_location
GET /api/v1/bookings?status=OPEN your jobs
POST /api/v1/bookings/{id}/cancel {"reason": "..."} (website cancellation terms apply)
driver_location is {lat, lng, at} while the driver is on the way, on location or on the trip (the driver's phone sends it every few seconds). Poll every 10 to 30 seconds for a live map in your own software.
Auto-dispatch
Add "auto_dispatch": true to a booking to offer it to one driver at a time, your favourites first, then the nearest available, 3 minutes each, before it opens to everyone. Leave it out to use your account setting.
Several vehicles for one event
POST /api/v1/events the trip fields, plus
"event_name": "Patel wedding",
"vehicles": [{"vehicle_type": "sedan", "count": 2, "payout": 150, "passengers": 3},
{"vehicle_type": "suv", "count": 1, "payout": 220, "passengers": 6}]
GET /api/v1/events/{id} every vehicle with its status, driver and live location
Each vehicle becomes its own job with its own driver (follow it with /api/v1/bookings/{id}). The reply has one checkoutUrl that pays for all of them.
Webhooks
We POST every status change to your address with the header LimoFarmOut-Signature: t=<unix seconds>,v1=<hex>, where v1 is the HMAC-SHA256 of <t>.<raw body> with your webhook secret. Answer with any 2xx; failures are retried for about a day.
// Node.js
const [, t, v1] = header.match(/^t=(\d+),v1=([0-9a-f]+)$/);
const ok = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex') === v1;
The rules are the website's rules
- Prices include tax. The platform fee is kept once a job is published; a job nobody takes is refunded in full.
- Paid members of our partner directories get the first minutes on every new job (Gold at once, Silver after 5, Bronze after 10, everyone else after 15).
- No contacting the client or passenger outside the platform. The passenger is reached through a private line.
- New accounts keep at most 5 open jobs until 5 trips are completed, and their first payouts are held a little longer.
- An agent key works only on
/api/v1: it can't change the account, its keys or its card. Revoke it any time.
Questions: support@limofarmout.com