API Presets

Product Category APIs

Learn how to create specialized APIs for any product category

Discover how to use custom JSON schemas and category prefixes to build powerful, category-specific product APIs. Each guide includes complete examples and best practices.

What are API Presets?

API Presets are ready-to-use configurations for creating specialized product APIs for specific categories. By combining the flexible Product API with category-specific JSON schemas, you can build powerful APIs tailored to your needs.

Key Concepts

  • Custom Data Schema: Define additional structured fields using JSON Schema that are passed with the query via the custom_data_schema parameter
  • Category Prefix: Use category prefixes (like "guitar", "smartphone", "drill") in your search queries to help the AI understand context and return more relevant results
  • Frontend Integration: All examples are frontend-focused, showing you how to make requests and handle responses in your applications