Skip to main content
POST
Product Search

Overview

Searches Amazon, Shopify, and other supported retailers and returns products with price, availability, and purchase URL. The search runs as a job: you get a request_id, then poll /v1/requests/{request_id} for the result (the search runs in the API, so it is usually there on the first poll). Pass a result’s product_url to Purchase.

Request Body

string
required
Search query (e.g., “wireless bluetooth headphones”)
number
default:10
Maximum results (up to 50)

Response (202 - Processing)

Job Result

Poll /v1/requests/{request_id} for results:
price, image_url, vendor, rating, review_count, in_stock and description are null when the search did not find them. A search that finds nothing completes with products: [] and count: 0. A search that could not run ends the job failed with an error_code.

SDK Usage

Example: Search and Buy Flow