Skip to main content
POST
Search one retailer's catalog for products
POST /agent/products/search searches a single retailer (see which retailer to pass) and is the agent-native, MPP-paid counterpart to the authenticated Search Products endpoint. Use it when you want to search one retailer at a time; use Agent Search when you want breadth across every retailer in one call. No Zinc account is required. Each call is paid per request via the Machine Payments Protocol (MPP).

Pricing

402 Payment Required

If no valid payment credential is provided, the API returns 402 Payment Required with one WWW-Authenticate header per payable method (per RFC 9110 §11.6.1). Your MPP client uses these to complete payment and resubmit the request. See the MPP guide for details.

Query Parameters

query
string
required

Search term

retailer
string
required

Zinc retailer slug: amazon, amazon-uk, amazon-ca, amazon-de, amazon-mx, amazon-fr, amazon-au, walmart, bestbuy, etsy, or a catalogued Shopify store's slug (e.g. retailer=yetch; GET /retailers/check?url=... returns a store's slug). A store's domain is also accepted, as are the older amazon_uk-style codes. Stores not in Zinc's catalog are rejected with a 422. Responses carry the slug.

page
integer | null

Page number for pagination

free_shipping
boolean
default:false

Only return items that ship for free (Walmart and Best Buy: ship price of 0). Currently a no-op for Amazon: the upstream search data under-reports Prime, so filtering on it would drop valid items — Amazon results are returned unfiltered. Filtering happens after pagination, so per-page counts vary; use next_page in the response to keep paging — an empty page with a non-null next_page is not the end of results. Rejected for Shopify stores: their search data carries no shipping information, so the filter cannot be honored.

sort
string | null

Amazon only (any other retailer is a 400). Amazon's sort order, its s value: price-asc-rank, price-desc-rank, review-rank, date-desc-rank or exact-aware-popularity-rank. Omit for Amazon's own relevance order.

rh
string | null

Amazon only (any other retailer is a 400). Filters to apply, as Amazon's rh string: comma-separated refinement option ids from a previous response's refinements. To narrow a search, append an option's id to that response's rh.

bbn
string | null

Amazon only (any other retailer is a 400). Browse node: an Amazon category id to search within.

i
string | null

Amazon only (any other retailer is a 400). Amazon department (search index), e.g. electronics or stripbooks.

extra_params
string | null

Amazon only (any other retailer is a 400). Further query-string parameters for Amazon's search page, URL-encoded as one value (a=1&b=2).

Response

Normalized search results. Common fields are always present; retailer-specific fields are null or omitted for other retailers.

Response from the product search endpoint.

status
string
required
results
ProductSearchResult · object[]
refinements
SearchRefinementGroup · object[] | null

Amazon only: the filters (facets) Amazon offers for this search. Null for other retailers.

rh
string | null

Amazon only: the filters applied to this search, as Amazon's rh string. Append a refinement option's id (comma-separated) and pass it back as rh to narrow the search.

showing
SearchShowing · object | null

Amazon only: the result range and page count.

next_page
integer | null

The page to request to keep paging, set while the retailer has more results: on every Etsy and Best Buy search, on a free_shipping search for the other named retailers, and never for a Shopify store (its search is a single page). An empty results with a non-null next_page is NOT the end of results — request next_page to continue. Null means there is nothing more to page through.