SDK
Installation
Authentication
You can provide your API key using the CHANNEL3_API_KEY environment variable, or by passing it directly to the client.
Default locale
Set a default locale once on the client and it’ll apply to every search and product detail call. Per-call values (e.g. config.country on search, ?country= on product detail) override the client default.
You can also set defaults via environment variables: CHANNEL3_LANGUAGE, CHANNEL3_COUNTRY, CHANNEL3_CURRENCY. Supported codes follow ISO 639-1 (language), ISO 3166-1 alpha-2 (country), and ISO 4217 (currency).
When only country is set, the server infers currency (e.g. GB → GBP) and language (e.g. GB → en). When all three are unset, defaults to en / US / USD.
Usage
All top-level endpoints are available as properties on the client:
Async Usage
Advanced Usage
Search with filters
Search with pagination
Use next_page_token from the response to fetch the next page of results.
Search with an image URL
Search with a base64 image
Configure search behavior
Look up a product by URL
Pass any supported product page URL to products.lookup and get back the canonical Product from Channel3’s catalog.
Find similar products
Given a canonical product_id, find the closest neighbors in the catalog. Add filters to narrow results.
Find brands by name
Search the brand catalog by free-text query. Returns brands ordered by relevance.
Browse the brand catalog
Cursor-paginated. Pass next_cursor from the response back as cursor to fetch the next page.