# B&H Photo Video Product ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/bhphotovideo/product` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/bhphotovideo-product | ## Description Read a B&H Photo Video product from its URL or id. Returns price, rating, specifications, and box contents. ## 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/bhphotovideo/product' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### SANDISK 128GB Extreme PRO on B&H ```json { "mpn": "SDSDXXJ-128G-GSCIN", "sku": "SA128EPSD", "url": "https://www.bhphotovideo.com/c/product/1948568-REG/sandisk_sdsdxxj_128g_gscin_128gb_extreme_pro_uhs_i.html", "gtin": "619659184812", "brand": "SANDISK", "price": 51.99, "title": "SANDISK 128GB Extreme PRO UHS-I SDXC Memory Card", "rating": 4.8, "currency": "USD", "in_stock": true, "product_id": "1948568-REG", "review_count": 25, "price_display": "$51.99", "original_price": 52.99, "original_price_display": "$52.99" } ``` ## Documentation ## Overview Read a B&H product. Example: `1948568-REG`. ## Quickstart ``` GET https://api.piloterr.com/v2/bhphotovideo/product?query=1948568-REG ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Example: `1948568-REG` | ## Response fields `price` is a number. `price_display` is `$51.99`. ## Use cases - Store GTIN, BH number, and MPN. - Read rating and review count. - List highlights and box contents. ## Error codes - 400: empty query. - 404: no product sheet. - 500: fetch failed.