# Lenovo Product ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/lenovo/product` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 2 credits per call | | **Documentation** | https://www.piloterr.com/library/lenovo-product | ## Description Extract a Lenovo product page by URL: id, name, price, currency, availability, images, and description (browser rendering, 2 credits). ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/lenovo/product' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### ThinkStation P5 Gen 2 (France) ```json { "mpn": "LEN102S0024", "sku": "LEN102S0024", "url": "https://www.lenovo.com/fr/fr/p/workstations/thinkstationp/thinkstation-p5-gen-2-intel-tower-workstation/len102s0024", "name": "ThinkStation P5 Gen 2 (Intel) Tower", "brand": "Série P", "price": 4439.02, "title": "ThinkStation P5 Gen 2 (Intel) Tower", "images": [ "https://p4-ofp.static.pub/ShareResource/optimized/thinkstation/thinkstation-p5-gen2-intel-tower/lenovo-thinkstation-p5-gen-2-pdp-hero.png" ], "series": "ThinkStation", "category": "Workstations", "currency": "EUR", "product_id": "LEN102S0024", "config_type": "CTO", "description": "La station de travail tour Lenovo ThinkStation P5 Gen 2 (Intel) offre des performances prêtes pour l’IA, un processeur avancé et une carte graphique professionnelle pour les tâches critiques.", "availability": "in_stock", "thumbnail_url": "https://p4-ofp.static.pub/ShareResource/optimized/thinkstation/thinkstation-p5-gen2-intel-tower/lenovo-thinkstation-p5-gen-2-pdp-hero.png" } ``` ### ThinkPad E16 Gen 3 (United States) ```json { "mpn": "LEN101T0125", "sku": "21TF001NUS", "url": "https://www.lenovo.com/us/en/p/laptops/thinkpad/thinkpade/lenovo-thinkpad-e16-gen-3-16-inch-intel/21tf001nus", "name": "ThinkPad E16 Gen 3 (16″ Intel) Laptop", "brand": "ThinkPad", "price": 1599, "title": "ThinkPad E16 Gen 3 (16″ Intel) Laptop", "images": [ "https://p4-ofp.static.pub//fes/cms/2025/04/07/52kiu4uukvy6dnj3ryrs2grmwt7716558555.png" ], "series": "ThinkPad", "category": "Laptops", "currency": "USD", "product_id": "21TF001NUS", "config_type": "MTM", "description": "The 16″ Lenovo ThinkPad E16 Gen 3 laptop with Intel® Core™ processors boasts enhanced performance & long battery life for anywhere business.", "availability": "in_stock", "thumbnail_url": "https://p4-ofp.static.pub//fes/cms/2025/04/07/52kiu4uukvy6dnj3ryrs2grmwt7716558555.png" } ``` ## Documentation ## Overview Extract a product page from lenovo.com. Pass a **full `/p/` URL**. Bare MTM codes are rejected (`400`). Missing products that redirect to a category return `404`. Browser rendering. **2 credits** per call. ## Quickstart ``` GET https://api.piloterr.com/v2/lenovo/product?query=https://www.lenovo.com/fr/fr/p/workstations/thinkstationp/thinkstation-p5-gen-2-intel-tower-workstation/len102s0024 GET https://api.piloterr.com/v2/lenovo/product?query=https://www.lenovo.com/us/en/p/laptops/thinkpad/thinkpade/lenovo-thinkpad-e16-gen-3-16-inch-intel/21tf001nus ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Full lenovo.com product URL (`/p/`) | ## Response fields | Field | Type | Description | |---|---|---| | `product_id` / `sku` / `mpn` | string | Product codes | | `name` / `title` | string | Display name | | `url` | string | Canonical product URL | | `price` | number | Shelf price | | `currency` | string | `EUR`, `USD`, `GBP`… | | `availability` | string \| null | e.g. `in_stock` | | `images` / `thumbnail_url` | array / string | Photos | | `description` | string \| null | Short description | | `brand` / `category` / `series` | string \| null | Taxonomy | | `config_type` | string \| null | e.g. `CTO`, `MTM` | ## Error codes | Code | Meaning | |---|---| | `400` | Empty query, non-lenovo.com host, or bare part number | | `404` | Product not found | | `500` | Rendering or parse failed | ## Related endpoints - [Lenovo Search](https://www.piloterr.com/library/lenovo-search)