Request Structure
How to structure your API requests for the Catalog Feed API in your agentic commerce applications
This guide explains how to structure your requests to the Catalog Feed API, including how to use filters and pagination. All requests follow a consistent format to make integration straightforward for AI shopping agents.
HTTP Method and Endpoint
All requests to the Catalog Feed API use the POST method and should be sent to:
Headers
Every request must include these headers:
Header | Value | Description |
---|---|---|
Content-Type | application/json | Indicates that the request body is in JSON format |
x-api-key | YOUR_VALID_API_KEY | Your unique API key for authentication |
Request Body
The request body must be a JSON object with the required parameters:
Request Parameters
Parameters are passed directly in the root of the JSON request body.
Filter feed results by vendor name (case-insensitive partial match). Only products matching this vendor pattern will be included.
Example: "Saintlaurent"
would match products from the Saint Laurent vendor.
Vendor names are derived from the URL site name (domain) with capitalization. For example, https://www.jennikayne.com/
corresponds to the vendor name Jennikayne
.
The page number (1-indexed) for pagination. The API returns a fixed number of products per page (10 items per page).
Example: 2
Page numbers are 1-indexed, meaning the first page is page 1 (not 0).
Example Requests
Basic Required Request
Requesting a Specific Page
Request Validation
The API performs validation on your request:
vendor
is required and must be a string. It’s recommended to use the capitalized site name (domain without TLD).- Example: For
https://www.jennikayne.com/
, use"Jennikayne"
- Example: For
page
is required and must be a positive integer.
If validation fails, you’ll receive an appropriate error response with details about the issue. See the Response Structure guide for error formats.
Related Guides
- Response Structure - Understanding the Feed API response format (including pagination metadata)