Skip to main content
Every request to the Octogen Platform Catalog API must include a valid API key. Keys are issued per organization through Octogen Platform. Developer API keys can search and browse every active crawled catalog and can never access merchant catalogs. This page explains the key format, how to configure your environment, and what to do when authentication fails.

API key format

Octogen Platform API keys follow this structure:
Keep your key private. Do not commit it to source control or expose it in client-side code.

Set up your API key

1

Create a key in Octogen Platform

Log in to Octogen Platform and navigate to API Keys. Generate a new key and copy it immediately — the secret portion is only shown once.
2

Set the environment variable

Add your key to your environment so the SDKs can pick it up automatically:
For long-lived deployments, set this in your server’s secrets manager or environment configuration rather than in shell profiles.
3

Verify the setup

Confirm the key works with a small product search:
A successful response returns an items array. Catalog enumeration is not required to search across the policy-wide crawled catalog set.

Attach the key to requests

Send the key as a Bearer token in the Authorization header on every request:

SDKs handle this automatically

If you use the Python or TypeScript SDK, authentication is handled for you. The client reads OCTO_API_KEY from the environment by default, or you can pass the key explicitly:

Rotate and revoke keys

Rotate keys from the API Keys section of Octogen Platform. When you deactivate a key, it is revoked immediately — the next request using that key returns a 401 error. Issue a replacement key before deactivating the old one to avoid downtime.
Deactivating a key takes effect on the next API request. There is no grace period. Always create and deploy a replacement key before revoking the old one.

Error reference

API keys are organization-scoped. Search/browse access for Developers covers active crawled catalogs only. BigQuery listing access remains separately granted.