CartAI Checkout Estimates API
The Checkout Estimates API from CartAI — 1 operation(s) for checkout estimates.
The Checkout Estimates API from CartAI — 1 operation(s) for checkout estimates.
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/cartai-ai:cartai-ai-checkout-estimates-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: CartAI Checkout Estimates API
version: 1.0.0
description: ''
servers:
- url: https://api.cartai.ai
tags:
- name: Checkout Estimates
paths:
/checkout-estimates:
post:
summary: Get Checkout Estimates
tags:
- Checkout Estimates
operationId: get_checkout_estimates
description: Computes a pre-checkout cost estimate for a given merchant, destination, and list of items — including subtotal, shipping, tax, and total. Useful for surfacing accurate pricing to users before initiating a full checkout.
parameters:
- in: header
name: x-api-key
schema:
type: string
required: true
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- merchant
- destination
- items
properties:
merchant:
type: string
description: Name of the merchant to estimate costs for
destination:
type: object
required:
- zip
properties:
zip:
type: string
description: Destination ZIP code
items:
type: array
items:
type: object
required:
- url
- quantity
- unitPrice
- category
properties:
url:
type: string
format: uri
description: Product page URL
quantity:
type: integer
minimum: 1
unitPrice:
type: number
description: Price per unit
category:
type: string
description: Product category (e.g. clothing)
examples:
Example:
summary: Example
value:
merchant: Alo Yoga
destination:
zip: '75001'
items:
- url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
quantity: 1
unitPrice: 64
category: clothing
responses:
'200':
description: Estimate computed
content:
application/json:
schema:
type: object
properties:
status:
type: string
message:
type: string
data:
type: object
properties:
currency:
type: string
merchant:
type: string
destination:
type: object
properties:
zip:
type: string
state:
type: string
country:
type: string
subtotal:
type: number
shipping:
type: number
shippingKnown:
type: boolean
description: Whether the shipping cost was successfully determined
tax:
type: number
taxKnown:
type: boolean
description: Whether the tax amount was successfully determined
total:
type: number
items:
type: array
items:
type: object
properties:
category:
type: string
unitPrice:
type: number
quantity:
type: integer
lineSubtotal:
type: number
tax:
type: number
examples:
Success:
summary: Success
value:
status: success
message: Estimate computed
data:
currency: USD
merchant: Alo Yoga
destination:
zip: '75001'
state: TX
country: US
subtotal: 64
shipping: 0
shippingKnown: true
tax: 5.28
taxKnown: true
total: 69.28
items:
- category: clothing
unitPrice: 64
quantity: 1
lineSubtotal: 64
tax: 5.28
'400':
description: Bad Request
x-readme: {}