Skip to main content
Build product comparison tools that help users make informed purchasing decisions. Catalog’s product endpoints provide detailed, normalized product data that makes comparing products across different vendors straightforward.

Overview

Product comparison helps users:
  • Evaluate alternatives side-by-side
  • Compare key attributes like price, materials, features, and specifications
  • Make informed decisions based on normalized data

Core Concepts

Normalized Product Data

Catalog provides normalized product data with consistent structure across different vendors:
  • Pricing: Normalized price amounts and currency
  • Attributes: Standardized attribute structure (color, material, style, etc.)
  • Variants: Consistent variant information
  • Availability: Standardized availability status

Comparison Dimensions

Compare products across multiple dimensions:
  • Price: Current price, price ranges, sale status
  • Specifications: Materials, dimensions, care instructions
  • Attributes: Style, color, aesthetic, features
  • Availability: Stock status, variant availability

Building Your Comparison Tool

Step 1: Retrieve Products

Retrieve products you want to compare using the Extract endpoint:

Step 2: Extract Comparison Attributes

Extract and normalize comparison attributes from product data:

Step 3: Create Comparison

Build a comparison class to organize and display products side-by-side:

Step 4: Error Handling

Handle cases where some products fail to retrieve:

Best Practices

Enable Enrichment

Always enable enable_enrichment: true when retrieving products for comparison. This provides richer, normalized attributes that make comparisons more meaningful.
Enrichment provides:
  • Better attribute extraction
  • Normalized color and material information
  • Enhanced style and feature descriptions
  • Consistent data structure across vendors

Handle Missing Data

Not all products will have all attributes. Handle missing data gracefully:

Batch Requests

Retrieve all products in a single batch (up to 1000 URLs) for better performance and consistency.

/extract

Extract high-quality, real-time product data

/extract/{execution_id}

Check extraction status and access results when ready

/agentic-search

AI-powered semantic search tailored to customer profiles