- Name, description, category of the product
- Pricing models, listed price and ISO currency code
- List of features, the product’s target audience, and more
Integrate Context.dev's Product API in your app
Prerequisites
-
A Context.dev API key. Sign up at context.dev/signup, copy the key from the dashboard (prefix
ctxt_secret_), and export it: -
An SDK (optional). Install for your language, or skip the install and call directly with
curl:
Extract a single product
POST /brand/ai/product takes a single product URL and returns whether the page is a product page, the detected ecommerce platform, and the extracted product record.
Request Parameters
Response
Handle errors
A non-2xx response returns an{ message, error_code } envelope:
A 400 from omitting
url:
Use cases
- Build a printable product catalog: Use a website’s sitemap to find all products, run
extract_producton each page - Procurement / ERP auto-fill: when a buyer pastes a product URL into a procurement form, populate
sku,name,description,currency,priceandfeaturesautomatically.
Next steps
Prefetch for Faster Response
Hide cold-hit latency from your users.
Handle Rate Limits
Backoff strategies, client cache, and prefetch fallbacks.
Best Practices
Caching, error handling, and key hygiene.
Troubleshooting
Status codes, retry patterns, and common errors.