Request
Your API key for authentication
Body
Natural language search query for semantic product discoveryExamples:
"silk dress for summer wedding"
"organic cotton t-shirt"
"minimalist black handbag"
Filter criteria to narrow down results
Show Filter Properties
Show Filter Properties
Minimum price in dollars (e.g. $25.00)
Maximum price in dollars (e.g. $150.00)
Vendor name(s) - can be single string or array of strings
Brand name(s) - can be single string or array of strings
Filter by availability status
Currency code(s) (e.g., “USD”, “EUR”)
Product type(s) for categorization
Store domain(s) to filter by
Collection handle(s) for grouped products
Product handle(s) - URL-friendly identifiers
Product tag(s) for classification
Variant color(s) - can be single string or array of strings
Variant size(s) - can be single string or array of strings
Variant title(s) - can be single string or array of strings
Filter by variant stock availability
Product attribute filters - supports any attribute key-value pairs
Attribute filters depend on the specific attributes available in the product data. Not all products may have all attributes, and filter effectiveness varies based on data consistency.
Show Common Attribute Filters
Show Common Attribute Filters
Primary color filter
Alternative color classification
Material type (e.g., “silk”, “cotton”, “leather”)
Alternative material classification
Product category (e.g., “Women > Dresses”)
Style classification
Alternative style classification
Product features
Product summary attributes
Aesthetic style (e.g., “minimalist”, “bohemian”)
Target gender (“women”, “men”, “unisex”)
Style mood classification
Fashion trend association
Target age group
Suitable occasion (“everyday”, “formal”, “party”, “work”)
Care and maintenance instructions
Fit type (e.g., “slim”, “regular”, “oversized”)
Leg style for bottoms
Rise type for bottoms (e.g., “high”, “mid”, “low”)
Seasonal appropriateness (“spring”, “summer”, “fall”, “winter”)
Pattern type (e.g., “solid”, “striped”, “floral”)
Length classification
Silhouette type
Waist style
Waist type classification
Neckline style for tops
Lens color for eyewear
Sleeve type for tops
Size classification
Filling material (e.g., for outerwear)
Closure type (e.g., “zipper”, “button”, “velcro”)
Page number for pagination (1-indexed)
Number of items per page (currently fixed at 10)
Response
Array of matching products
Show Product Object
Show Product Object
Unique product identifier
Product title
Product description
HTML-formatted product description
Vendor/brand name
Brand name (alternative field)
Product URL
Price in dollars (e.g. $29.99)
Currency code (e.g., “USD”)
Minimum price across variants
Maximum price across variants
Product availability status
Product type classification
Store domain where product is sold
Canonical store URL
Collection handle for grouped products
Product handle (URL-friendly identifier)
Array of product tags
Product images object
Product variants object with size, color, pricing information
Product options object
Rich product attributes object containing all attribute key-value pairs
Product creation timestamp (ISO 8601)
Product last update timestamp (ISO 8601)
Product publication timestamp (ISO 8601)
Copy
curl -X POST https://api.getcatalog.ai/api/search \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"query": "summer dress",
"filters": {
"max_price": 150.00,
"is_available": true,
"brand": ["fwrd", "amiri"],
"attributes": {
"color": ["blue", "white"],
"season": "summer",
"gender": "women"
}
},
"page": 1
}'
Copy
{
"products": [
{
"id": "12345",
"title": "Blue Linen Summer Dress",
"description": "Lightweight linen dress perfect for warm weather",
"description_html": "<p>Lightweight linen dress perfect for warm weather</p>",
"vendor": "Summer Collections",
"brand": "amiri",
"url": "https://store.example.com/dress-12345",
"price_amount": 89.99,
"price_currency": "USD",
"min_price": 89.99,
"max_price": 89.99,
"is_available": true,
"product_type": "Dress",
"store_domain": "store.example.com",
"store_canonical_url": "https://store.example.com",
"collection_handle": "summer-collection",
"handle": "blue-linen-summer-dress",
"tags": ["summer", "linen", "dress", "blue"],
"images": {
"primary": "https://example.com/dress.jpg",
"gallery": ["https://example.com/dress-1.jpg", "https://example.com/dress-2.jpg"]
},
"variants": {
"color": ["blue"],
"size": ["XS", "S", "M", "L"],
"price_range": { "min": 89.99, "max": 89.99 }
},
"options": {
"size": ["XS", "S", "M", "L"],
"color": ["blue"]
},
"attributes": {
"color": "blue",
"material": "linen",
"category": "Women > Dresses",
"gender": "women",
"season": "summer",
"occasion": "casual",
"fit": "regular",
"length": "midi",
"sleeve_type": "short"
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:45:00Z",
"published_at": "2024-01-15T12:00:00Z"
}
],
"meta": {
"totalItems": 24,
"totalPages": 3,
"currentPage": 1,
"pageSize": 10
}
}
Examples
Basic Search
Search for products with a simple query:Copy
curl -X POST https://api.getcatalog.ai/api/search \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"query": "black shoes"}'
Price Range Filter
Filter products by price range:Copy
curl -X POST https://api.getcatalog.ai/api/search \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"query": "handbag",
"filters": {
"min_price": 50.00,
"max_price": 250.00
}
}'
Brand Filter
Search for products from specific brands:Copy
curl -X POST https://api.getcatalog.ai/api/search \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"query": "denim jacket",
"filters": {
"brand": ["Levi"],
"is_available": true
}
}'