Ozon Product Card
ozon_cardRetrieve Ozon product card data: price, availability, rating, seller, and characteristics. Handles Cloudflare anti-bot via automatic fallback.
Instructions
Fetch Ozon product card data via composer-api.bx.
Tier-1 (curl_cffi) tried first. Falls back to Tier-2 (Chrome CDP at port 9222) when Tier-1 hits Cloudflare 403. Tier-2 requires the operator running Chrome via scripts/start_chrome_cdp.ps1 (Windows) or scripts/start_chrome_cdp.sh (Linux/macOS) first.
Return Format
OzonCardResponse: {status, price, card_price, price_original, is_available, rating_score, rating_count, title, seller, characteristics, url, tier_used, meta} on success. Fields are None when the page does not carry them.
Error Format
Raises ToolError on validation (BadRequestError), transport/block (TransportDownError — including the catch-all for unexpected internal errors), or parser drift (ParserDriftError). No-results is NOT an error — an empty widgetStates payload returns a healthy response with null fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku_or_path | Yes | SKU integer-as-string, full Ozon URL, or /product/<digits>/ path. Other paths are rejected (SSRF prevention). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| _meta | No | ||
| price | No | ||
| title | No | ||
| seller | No | ||
| status | No | ||
| tier_used | No | ||
| card_price | No | ||
| is_available | No | ||
| rating_count | No | ||
| rating_score | No | ||
| price_original | No | ||
| characteristics | No |