Costco Product API 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.
Take the id from the search route. Use an item number from item_numbers with the warehouse prices route. An id that does not exist in the chosen country returns 404. Costs 1 credit per successful request.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
3 optional filters available.
string
Required
Product id from search, 4 to 12 digits.
1234567890
string
Optional
us (default) or ca. Selects costco.com or costco.ca.
US
string
Optional
en-US, en-CA or fr-CA. Canadian French works with country ca. Default is the English locale of the country.
en-US
string
Optional
Warehouse number whose price to show (default: a main warehouse of the country).
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"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
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A required parameter or a value is invalid. This response is not billable.
{
"errors": {
"query": [
"A search text is required, e.g. laptop."
]
},
"message": "The request validation failed"
}Not Found
The product, item or warehouse does not exist. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "product"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested resource was not found."
},
"success": false
}Upstream Unavailable
Costco could not be reached after several tries. This response is not billable. Retry shortly.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "product"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "Costco could not be reached. Please retry shortly."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.