Skip to main content
GET /domains returns every normalized host covered by an active crawled catalog. Use this endpoint before Product Lookup to determine whether Octogen covers a product page’s domain. The response is read-only and full-corpus. It returns one entry for each (host, catalog) pair, sorted by host and catalog.

Request

The Authorization header is optional for this endpoint. Requests without a key use the keyless trial’s lower per-IP allowance. Include your Platform API key for production workloads and your organization’s rate-limit allowance.

Example

Response

DomainEntry[]
required
Every covered (host, catalog) pair, sorted by host and catalog.

Example response

Normalize a product URL’s host before matching it against the response: lowercase it and remove a leading www.. For example, compare both https://www.macys.com/... and https://macys.com/... against macys.com.

Cache the domain list

A successful response includes a strong ETag and Cache-Control: max-age=300. Store the response and send its ETag in If-None-Match when revalidating:
The API returns 304 Not Modified with an empty body when the covered-domain set has not changed. Continue using your cached response.

Errors