Fleetwire Quotes API
The Quotes API from Fleetwire, for quotes.
The Quotes API from Fleetwire, for quotes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/fleetwire:fleetwire-quotes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fleetwire Quotes API
version: '1.0'
description: 'Operations tagged Quotes across 2 of this provider''s published API definitions: fleetwire-openapi-openapi.json, fleetwire-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
tags:
- name: Quotes
paths:
/v2/quote:
post:
tags:
- Quotes
operationId: postQuote
summary: Quote a trip
description: 'Prices a trip with the same math checkout uses and says whether the vehicle is free. Nothing is saved, so call it as often as you like (120 per minute).
**Body**
- `l_id` (string, required)
- `start`, `end` (string, required) — local times in the listing''s timezone
- `extras` (array, optional) — `[{"id": "", "option": ""}]`. Omit `option` for the first one. Use `with=listings` on `GET /extras` to see what each listing offers. Required extras are always charged; listing one here picks its option.
- `coupon` (string, optional)
- `email` (string, optional) — needed only for coupons limited per customer
**Response**
- `available` — `false` if the vehicle is booked or blocked for those dates (buffer time included)
- `totals` — all in cents: `subtotal`, `discounts`, `taxes`, `total`, `security_deposit`, and `due_at_checkout` (what the renter pays now, per your payment settings)
- `checkout_url` — your storefront''s checkout for this listing with the dates filled in. Send the renter there to book and pay; you''ll get `reservation.created` when they do.
Delivery isn''t priced here yet. Trips that break your booking rules (hours, lead time, trip length) return `422` with the reason under `errors.dates`.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- l_id
- start
- end
properties:
l_id:
type: string
maxLength: 40
start:
type: string
description: A date and time, e.g. `2026-11-06 10:00:00` or ISO 8601.
end:
type: string
description: After `start`.
extras:
type:
- array
- 'null'
maxItems: 50
items:
type: object
required:
- id
properties:
id:
type: string
maxLength: 64
option:
type:
- string
- 'null'
maxLength: 64
coupon:
type:
- string
- 'null'
maxLength: 200
email:
type:
- string
- 'null'
format: email
maxLength: 255
example:
l_id: l_EXAMPLE1
start: '2026-11-06 10:00:00'
end: '2026-11-09 10:00:00'
extras:
- id: 00000000-0000-4000-8000-000000000301
option: 00000000-0000-4000-8000-000000000302
coupon: FALL10
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
quote:
type: object
properties:
l_id:
type: string
start:
type: string
end:
type: string
timezone:
type: string
available:
type: boolean
duration:
type: object
properties:
units:
type: integer
unit:
type: string
days:
type: integer
hours:
type: integer
currency:
type: string
lines:
type: array
items:
type: object
properties:
type:
type: string
title:
type: string
charge_label:
type: string
price_each_in_cents:
type: integer
price_in_cents:
type: integer
discount_in_cents:
type: integer
tax_in_cents:
type: integer
coupon:
type: string
totals:
type: object
properties:
subtotal_in_cents:
type: integer
discounts_in_cents:
type: integer
taxes_in_cents:
type: integer
total_in_cents:
type: integer
security_deposit_in_cents:
type: integer
due_at_checkout_in_cents:
type: integer
checkout_url:
type: string
examples:
Quote:
summary: Quote
value:
quote:
l_id: l_EXAMPLE1
start: '2026-11-06 10:00:00'
end: '2026-11-09 10:00:00'
timezone: America/Chicago
available: true
duration:
units: 3
unit: day
days: 3
hours: 72
currency: USD
lines:
- type: vehicle
title: 2022 Toyota RAV4 Hybrid
charge_label: 3 days
price_each_in_cents: 6900
price_in_cents: 20700
discount_in_cents: 2070
tax_in_cents: 1863
- type: extra
title: Child seat - Infant
charge_label: 1 trip
price_each_in_cents: 2500
price_in_cents: 2500
discount_in_cents: 250
tax_in_cents: 225
coupon: FALL10
totals:
subtotal_in_cents: 23200
discounts_in_cents: 2320
taxes_in_cents: 2088
total_in_cents: 22968
security_deposit_in_cents: 25000
due_at_checkout_in_cents: 22968
checkout_url: https://example-rentals.fleetwire.io/rental/reservations/l_EXAMPLE1?startDate=2026-11-06&startTime=1000&endDate=2026-11-09&endTime=1000
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
security:
- apiToken: []
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
components:
responses:
ValidationFailed:
description: The request is invalid.
content:
application/json:
schema:
type: object
required:
- message
- errors
properties:
message:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
description: Each invalid field with its problems.
example:
message: The email field must be a valid email address.
errors:
email:
- The email field must be a valid email address.
RateLimited:
description: Too many requests. Wait for the `Retry-After` header (seconds).
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
example:
message: Too Many Attempts.
Forbidden:
description: The token doesn't carry the scope this needs, or the plan doesn't include API access.
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
example:
message: Invalid ability provided.
Unauthenticated:
description: Missing or invalid token.
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
example:
message: Unauthenticated.
schemas:
V2QuotePostRequestBodyContentApplicationJsonSchemaExtrasItems:
type: object
properties:
id:
type: string
maxLength: 64
option:
type:
- string
- 'null'
maxLength: 64
required:
- id
title: V2QuotePostRequestBodyContentApplicationJsonSchemaExtrasItems
V2QuotePostResponsesContentApplicationJsonSchemaQuoteTotals:
type: object
properties:
subtotal_in_cents:
type: integer
discounts_in_cents:
type: integer
taxes_in_cents:
type: integer
total_in_cents:
type: integer
security_deposit_in_cents:
type: integer
due_at_checkout_in_cents:
type: integer
title: V2QuotePostResponsesContentApplicationJsonSchemaQuoteTotals
V2QuotePostResponsesContentApplicationJsonSchemaQuoteLinesItems:
type: object
properties:
type:
type: string
title:
type: string
charge_label:
type: string
price_each_in_cents:
type: integer
price_in_cents:
type: integer
discount_in_cents:
type: integer
tax_in_cents:
type: integer
title: V2QuotePostResponsesContentApplicationJsonSchemaQuoteLinesItems
Quotes_postQuote_Response_200:
type: object
properties:
quote:
$ref: '#/components/schemas/V2QuotePostResponsesContentApplicationJsonSchemaQuote'
title: Quotes_postQuote_Response_200
PostQuoteRequestForbiddenError:
type: object
properties:
message:
type: string
required:
- message
title: PostQuoteRequestForbiddenError
V2QuotePostResponsesContentApplicationJsonSchemaQuote:
type: object
properties:
l_id:
type: string
start:
type: string
end:
type: string
timezone:
type: string
available:
type: boolean
duration:
$ref: '#/components/schemas/V2QuotePostResponsesContentApplicationJsonSchemaQuoteDuration'
currency:
type: string
lines:
type: array
items:
$ref: '#/components/schemas/V2QuotePostResponsesContentApplicationJsonSchemaQuoteLinesItems'
coupon:
type: string
totals:
$ref: '#/components/schemas/V2QuotePostResponsesContentApplicationJsonSchemaQuoteTotals'
checkout_url:
type: string
title: V2QuotePostResponsesContentApplicationJsonSchemaQuote
PostQuoteRequestUnauthorizedError:
type: object
properties:
message:
type: string
required:
- message
title: PostQuoteRequestUnauthorizedError
PostQuoteRequestTooManyRequestsError:
type: object
properties:
message:
type: string
required:
- message
title: PostQuoteRequestTooManyRequestsError
PostQuoteRequestUnprocessableEntityError:
type: object
properties:
message:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
description: Each invalid field with its problems.
required:
- message
- errors
title: PostQuoteRequestUnprocessableEntityError
V2QuotePostResponsesContentApplicationJsonSchemaQuoteDuration:
type: object
properties:
units:
type: integer
unit:
type: string
days:
type: integer
hours:
type: integer
title: V2QuotePostResponsesContentApplicationJsonSchemaQuoteDuration
securitySchemes:
apiToken:
type: http
scheme: bearer
description: 'An API token from **Settings → API tokens** in Fleetwire, sent as `Authorization: Bearer …`. Each token carries scopes: `read` for every GET, plus write scopes such as `bookings:write`.'
partnerKey:
type: http
scheme: bearer
description: 'Your partner key, starting with `fwp_`, sent as `Authorization: Bearer fwp_…`. Keep it server-side.
Fleetwire can rotate it at any time; the old key stops working as soon as a new one is issued.
'
x-refined-from:
- fleetwire-openapi-openapi.json
- fleetwire-openapi.json