CartAI Product API
The Product API from CartAI — 2 operation(s) for product.
The Product API from CartAI — 2 operation(s) for product.
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-product-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 Product API
version: 1.0.0
description: ''
servers:
- url: https://api.cartai.ai
tags:
- name: Product
paths:
/product/details:
post:
summary: Get Product Details
tags:
- Product
operationId: get_product_details
description: Retrieves detailed product information for a given product URL, including product metadata, available dimensions, and variant-level details such as pricing, availability, images, and attributes.
parameters:
- in: header
name: x-api-key
schema:
type: string
required: true
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- url
properties:
url:
type: string
format: uri
description: The product page URL to fetch details for
allVariants:
type: boolean
description: When true, returns all available variants for the product
examples:
Example:
summary: Example
value:
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
allVariants: true
responses:
'200':
description: Product found
content:
application/json:
schema:
type: object
properties:
status:
type: string
message:
type: string
data:
type: object
properties:
product:
type: object
properties:
name:
type: string
brand:
type: string
retailer:
type: string
image:
type: string
url:
type: string
directUrl:
type: string
canCheckout:
type: object
description: Checkout modes supported by the retailer
properties:
login:
type: boolean
guest:
type: boolean
dimensions:
type: array
items:
type: string
description: List of variant dimension names (e.g. Color, Band, Cup)
variants:
type: array
items:
type: object
properties:
variantId:
type: string
price:
type: number
available:
type: boolean
image:
type: string
attributes:
type: object
additionalProperties:
type: string
description: Key-value map of dimension name to value
url:
type: string
monetizationUrl:
type: string
examples:
Success:
summary: Success
value:
status: success
message: Product found
data:
product:
name: Semi Sheer Mock Neck Oasis Tank - Ivory
brand: Alo Yoga
retailer: Aloyoga
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
directUrl: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
canCheckout:
login: true
guest: true
dimensions:
- Color
- Size
variants:
- variantId: '50662297960807'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924
attributes:
Color: Ivory
Size: XXS
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7a78827c73ef&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7a78827c73ef%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662297993575'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924
attributes:
Color: Ivory
Size: XS
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7a8eb0282c05&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7a8eb0282c05%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662298026343'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924
attributes:
Color: Ivory
Size: S
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7a9c13db6d09&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7a9c13db6d09%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662298059111'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924
attributes:
Color: Ivory
Size: M
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7aaa72bc5996&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7aaa72bc5996%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662298091879'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_03299_b2_s1_a2_dFA26_m18.jpg?v=1791487924
attributes:
Color: Ivory
Size: L
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7ab263bdcb3d&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7ab263bdcb3d%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662297796967'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052
attributes:
Color: Black
Size: XXS
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7acf310f8b61&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7acf310f8b61%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662297829735'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052
attributes:
Color: Black
Size: XS
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7ad2115199cb&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7ad2115199cb%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662297862503'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052
attributes:
Color: Black
Size: S
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6560-7a70-9035-7ae9c6c08181&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6560-7a70-9035-7ae9c6c08181%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662297895271'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052
attributes:
Color: Black
Size: M
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6561-7472-9841-92963c319f58&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6561-7472-9841-92963c319f58%26source%3Dcartai_sandbox_2%26status%3Dfail
- variantId: '50662297928039'
price: 64
available: true
image: //cdn.shopify.com/s/files/1/2185/2813/files/W1518R_01_b1_s1_a50_dFA26_m161.jpg?v=1791488052
attributes:
Color: Black
Size: L
url: https://www.aloyoga.com/products/w1518r-semi-sheer-mock-neck-oasis-tank-ivory
monetizationUrl: https://r.v2i8b.com/api/v1/bid/redirect?campaign_id=01KVGP6THTZDYF2QVW1RR7CMZJ&url=https%3A%2F%2Fwww.aloyoga.com%2Fproducts%2Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory&cid=CLK_sandbox_2_01a1633f-6561-7472-9841-92a0b3968683&source=cartai_sandbox_2&fb=https%3A%2F%2Fapi.cartai.ai%2Fcatalog%2Fredirect%3Furl%3Dhttps%253A%252F%252Fwww.aloyoga.com%252Fproducts%252Fw1518r-semi-sheer-mock-neck-oasis-tank-ivory%26dom%3Daloyoga.com%26cid%3DCLK_sandbox_2_01a1633f-6561-7472-9841-92a0b3968683%26source%3Dcartai_sandbox_2%26status%3Dfail
'400':
description: Bad Request
/product/search:
post:
summary: Search Products
tags:
- Product
operationId: search_products
description: Searches for products by name across one or more merchants. Optionally prioritize results to a specific merchant. Returns a ranked list of matching products with pricing, imagery, and direct purchase links.
parameters:
- in: header
name: x-api-key
schema:
type: string
required: true
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
description: Product name or search query
merchant:
type: string
description: Optional merchant name to prioritize results for specific merchant (other retailers are still returned)
examples:
With Merchant:
summary: With Merchant
value:
name: jeans
merchant: Macy's
Without Merchant:
summary: Without Merchant
value:
name: jeans
responses:
'200':
description: Search complete
content:
application/json:
schema:
type: object
properties:
status:
type: string
message:
type: string
data:
type: object
properties:
products:
type: array
items:
type: object
properties:
name:
type: string
brand:
type: string
merchant:
type: string
image:
type: string
priceFrom:
type: number
currency:
type: string
directUrl:
type: string
targetMerchant:
type: string
description: The merchant filter applied to the search, if any
targetMatchCount:
type: integer
description: Number of results matching the target merchant
examples:
Success:
summary: Success
value:
status: success
message: Search complete
data:
products:
- name: Dkny Jeans Women's High-Rise Jeans - Clifton
brand: Dkny Jeans
merchant: Macy's
image: https://slimages.macysassets.com/is/image/MCY/products/0/optimized/35661058_fpx.tif?wid=1200&fmt=jpeg&qlt=100
priceFrom: 26.63
currency: USD
directUrl: https://www.macys.com/shop/product/dkny-jeans-womens-high-rise-jeans?ID=24996759
- name: Nautica Jeans Women's Demi Bootcut Jeans - Sailor
brand: Nautica Jeans
merchant: Macy's
image: https://slimages.macysassets.com/is/image/MCY/products/6/optimized/33148130_fpx.tif?wid=1200&fmt=jpeg&qlt=100
priceFrom: 44.52
currency: USD
directUrl: https://www.macys.com/shop/product/nautica-jeans-womens-demi-bootcut-jeans?ID=22497871
- name: Slink Jeans Women's Modern Style Jean - Hydro
brand: Slink Jeans
merchant: Macy's
image: https://slimages.macysassets.com/is/image/MCY/products/6/optimized/34981616_fpx.tif?wid=1200&fmt=jpeg&qlt=100
priceFrom: 98
currency: USD
directUrl: https://www.macys.com/shop/product/slink-jeans-womens-modern-style-jean?ID=25142822
- name: Alison Low Rise Flared Jeans
brand: edikted
merchant: edikted
image: https://cdn.shopify.com/s/files/1/0467/4148/7783/files/Edikted_Lookbook_01_29_2025159187_9adb6437-1053-4194-a011-6c3197a43454.jpg
priceFrom: 36.8
currency: USD
directUrl: https://edikted.com/products/s18683_blue?variant=46410352951463
targetMerchant: Macy's
targetMatchCount: 5
'400':
description: Bad Request
x-readme: {}