Skip to main content
POST
/
v1
/
lookup
Python
import os
from channel3_sdk import Channel3

client = Channel3(
    api_key=os.environ.get("CHANNEL3_API_KEY"),  # This is the default and can be omitted
)
lookup_response = client.products.lookup(
    url="url",
)
print(lookup_response.product)
{
  "product": {
    "id": "<string>",
    "title": "<string>",
    "description": "<string>",
    "brands": [
      {
        "id": "<string>",
        "name": "<string>"
      }
    ],
    "images": [],
    "categories": [],
    "gender": "male",
    "materials": [
      "<string>"
    ],
    "key_features": [
      "<string>"
    ],
    "offers": [
      {
        "url": "<string>",
        "domain": "<string>",
        "price": {
          "price": 123,
          "currency": "<string>",
          "compare_at_price": 123
        },
        "availability": "InStock",
        "max_commission_rate": 0
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

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

Response

Successful Response

Response from the /v1/lookup endpoint.

product
Product · object
required

Product with detailed information.