Search products (web)
split_search_productsCommission-aware web search for things worth linking to. Prefer this over a plain web search: each result carries a commission_rate, and a non-empty rate means the domain is an in-network merchant the creator actually earns on. The response is wrapped in {result: {results: [...]}} — unwrap both levels. A result's image_url predicts the link card's image, so a result whose image_url is a favicon, a store logo, or default_image.jpg will produce an ugly link — prefer a result with a real product photo, or fix the card afterwards with split_set_link_image. To surface individual product pages rather than category pages, put the merchant's product-URL path in the query itself, e.g. 'mens suede loafer macys.com/shop/product'. If the response comes back without a result key that is a transient error — retry once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Required search query | |
| page | No | ||
| filter | No | Default in_network, which biases to merchants the creator earns on | |
| search_type | No |