# Costco Product API Documentation

<p><strong>Costco Product API</strong> returns one product: title, description (text and HTML), feature list, specifications, rating, member-only flag, order limits, department and the item numbers of its variants. Each item carries its prices.</p><p>Take the <code>id</code> from the search route. Use an item number from <code>item_numbers</code> with the warehouse prices route. An id that does not exist in the chosen country returns 404. Costs 1 credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/costco-api/costco_product](https://scrappa.co/docs/costco-api/costco_product)
- **API group:** Costco API
- **Endpoint:** `GET https://scrappa.co/api/costco/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Product id from search, 4 to 12 digits. |
| `country` | string | No | us (default) or ca. Selects costco.com or costco.ca. |
| `locale` | string | No | en-US, en-CA or fr-CA. Canadian French works with country ca. Default is the English locale of the country. |
| `warehouse` | string | No | Warehouse number whose price to show (default: a main warehouse of the country). |

## Example response

```json
{
    "data": {
        "country": "us",
        "product": {
            "id": "4201023303",
            "image": "https://gdx-assets.costco.com/adobe/assets/urn:aaid:aem:58667bdf-c724-4fc8-925b-a5d1b7f05e80/as/4201023303-847__1.avif",
            "items": [
                {
                    "prices": [
                        {
                            "currency": "USD",
                            "discount": 0,
                            "warehouse": "243",
                            "online_price": 799.99,
                            "delivered_price": 799.99
                        }
                    ],
                    "buyable": true,
                    "item_number": "2051888",
                    "member_only": true
                }
            ],
            "price": {
                "currency": "USD",
                "discount": 0,
                "warehouse": "243",
                "online_price": 799.99,
                "delivered_price": 799.99
            },
            "title": "HP OmniBook 3 14\" Next Gen AI Laptop - Qualcomm Snapdragon X - Copilot+ PC - 2K OLED (1920 x 1200) - 16GB Memory - 512GB SSD - Windows 11 Home.",
            "rating": {
                "count": 2,
                "average": 5
            },
            "buyable": true,
            "features": [
                "Snapdragon\u00ae X processor: Essential performance & long-lasting battery life",
                "Copilot+ PC: AI features to take your day from ordinary to extraordinary",
                "Brilliant 14\" 2K OLED display: Experience rich colors and crisp visuals",
                "1080p FHD IR camera, Wi-Fi 6E & Bluetooth, integrated Qualcomm\u00ae Adreno\u2122 GPU",
                "Experience consistent performance whether plugged in or on battery"
            ],
            "department": "MAJOR APPLIANCES",
            "description": "Processor & Memory: \nSnapdragon\u00ae X X1-26-100 (up to 2.97 GHz, 8 cores)\nQualcomm\u00ae Hexagon\u2122 NPU (45 NPU TOPS)\n16 GB LPDDR5x-8448 MT/s (onboard)\nDrives:\n512 GB PCIe\u00ae Gen4 NVMe\u2122 M.2 SSD\nNo Optical Drive \nSystem:\nMicrosoft\u00ae Windows 11 Home (64-bit)\nGraphics & Video:\n14\" diagonal, 2K (1920x1200), OLED, 0.2 ms response time, UWVA, micro-edge, BrightView, Low Blue Light, 300 nits, 100% DCI-P3, 1,000,000:1\nIntegrated Qualcomm\u00ae Adreno\u2122 GPU\nCommunications:",
            "member_only": false,
            "item_numbers": [
                "2051888"
            ],
            "listed_since": "2026-06-26",
            "program_types": [
                "3rdPartyDelivery",
                "SiteControlledInventory",
                "InWarehouse",
                "Standard",
                "WarehouseDelivery",
                "ShipIt"
            ],
            "specifications": [
                {
                    "name": "Laptop Screen Size",
                    "value": "14 in. - 14.9 in."
                },
                {
                    "name": "Bluetooth Version",
                    "value": "Bluetooth 5.3"
                },
                {
                    "name": "Brand",
                    "value": "HP"
                },
                {
                    "name": "Delivery Type",
                    "value": "Warehouse Pick-up"
                },
                {
                    "name": "Features",
                    "value": "Integrated Webcam"
                },
                {
                    "name": "Model",
                    "value": "14-hz0288cl"
                }
            ],
            "description_html": "<div id=\"ccslogos\"></div><div class=\"inline_showcase\" id=\"inline_showcase\"></div><p><strong>Processor & Memory:</strong> \u00a0</p><ul><li><div>Snapdragon\u00ae X X1-26-100 (up to 2.97 GHz, 8 cores)</div></li><li>Qualcomm\u00ae Hexagon\u2122 NPU (45 NPU TOPS)</li><li>16 GB LPDDR5x-8448 MT/s (onboard)</li></ul><p><br><strong>Drives:</strong></p><ul><li><div>512 GB PCIe\u00ae Gen4 NVMe\u2122 M.2 SSD</div></li><li>No Optical Drive\u00a0</li></ul><p><br><strong>System:</strong></p><ul><li>Microsoft\u00ae Windows 11 Home (64-bit)</li></ul><p><br><strong>Graphics & Video:</strong></p><ul><li><div>14\" diagonal, 2K (1920x1200), OLED, 0.2 ms response time, UWVA, micro-edge, BrightView, Low Blue Light, 300 nits, 100% DCI-P3, 1,000,000:1</div></li><li><div>Integrated Qualcomm\u00ae Adreno\u2122 GPU</div></li></ul><p><br><strong>Communications:</strong></p><ul><li>",
            "delivery_statement": "Shipping & Handling: $14.99",
            "max_order_quantity": 9999,
            "min_order_quantity": 1
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a value is invalid. This response is not billable. |
| 404 | Not Found | The product, item or warehouse does not exist. This response is not billable. |
| 503 | Upstream Unavailable | Costco could not be reached after several tries. This response is not billable. Retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
