Skip to main content
POST
Python

Authorizations

x-api-key
string
header
required

Headers

x-user-id
string | null

Optional user identifier to attribute clicks and sales to a user in your system. Channel3 appends it to buy URLs in the response.

Body

application/json
url
string
required

The URL of the product to look up

max_staleness_hours
integer
default:3

Maximum age (in hours) of cached product data before forcing a fresh lookup. Defaults to 3 hours.

Required range: x >= 1
realtime_fetch
boolean
default:true

Fetch the product page live when the URL is not in the Channel3 catalog or its data is older than max_staleness_hours. When false, only catalog products are returned: stale data is returned as-is, and URLs not in the catalog return 404.

Response

Successful Response

Response from the /v1/lookup endpoint.

product
Product · object
required

Product with detailed information.