What's new See our recent updates

Costco Search API

Search Costco and get structured JSON with product codes, prices, savings, ratings and promotions, from its online stores in 10 countries.
  • United States, Canada, United Kingdom, Mexico, Australia, Japan, South Korea, Taiwan, Iceland and New Zealand
  • Prices in each site's currency
  • Pay only for successful searches
No credit card required.
          curl --get https://www.searchapi.io/api/v1/search \
  -d engine="costco_search" \
  -d q="coffee" \
  -d costco_domain="costco.co.uk"
        

Costco Search Results

Receive JSON results in real-time

Get each product's Costco product code, title and link, with the image, price, saving, rating and promotions where Costco shows them.

{
  "search_metadata": {
    "id": "search_mQdZY24X3k8NtxVpyxG15W7k",
    "status": "Success",
    "created_at": "2026-11-22T17:13:15Z",
    "request_time_taken": 1.09,
    "parsing_time_taken": 0.03,
    "total_time_taken": 1.12,
    "request_url": "https://www.costco.co.uk/search?q=coffee%3Arelevance",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_mQdZY24X3k8NtxVpyxG15W7k.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_mQdZY24X3k8NtxVpyxG15W7k"
  },
  "search_parameters": {
    "engine": "costco_search",
    "q": "coffee",
    "costco_domain": "costco.co.uk"
  },
  "search_information": {
    "query_displayed": "coffee",
    "total_results": 149,
    "currency": "GBP"
  },
  "organic_results": [
    {
      "position": 1,
      "product_id": "139465",
      "title": "Lavazza Qualita Rossa Coffee Beans",
      "link": "https://www.costco.co.uk/Grocery-Household/Grocery-Delivery/Lavazza-Qualita-Rossa-Coffee-Beans/p/139465",
      "thumbnail": "https://www.costco.co.uk/medias/sys_master/images/h6c/h73/86606608433182.jpg",
      "price": "£16.89",
      "extracted_price": 16.89,
      "unit_price": "£16.89 per kg",
      "extracted_unit_price": 16.89,
      "unit": "kg",
      "rating": 4.8,
      "reviews": 69,
      "highlights": [
        "Arabica & Robusta",
        "Hints of Chocolate & Dried Fruit",
        "Full-Bodied & Strong Flavour",
        "1kg"
      ],
      "badges": [
        "Grocery Delivery"
      ],
      "is_price_hidden": false,
      "is_warehouse_only": false,
      "is_out_of_stock": false,
      "has_variants": false,
      "has_membership_restrictions": false,
      "has_shipping_restrictions": true,
      "is_free_shipping": false
    },
    {
      "position": 2,
      "product_id": "422420",
      "title": "Kenco Latte Coffee, 1kg",
      "link": "https://www.costco.co.uk/Grocery-Household/Grocery-Delivery/Kenco-Latte-Coffee-1kg/p/422420",
      "thumbnail": "https://www.costco.co.uk/medias/sys_master/images/h1a/h00/135632036626462.jpg",
      "price": "£12.49",
      "extracted_price": 12.49,
      "original_price": "£12.79",
      "extracted_original_price": 12.79,
      "savings": "£0.30",
      "extracted_savings": 0.3,
      "savings_ends_at": "2026-11-24T23:59:59.999Z",
      "unit_price": "£12.49 per kg",
      "extracted_unit_price": 12.49,
      "unit": "kg",
      "rating": 4.8,
      "reviews": 39,
      "highlights": [
        "Smooth & Silky",
        "1.8g Fat per Serving",
        "65 Calories per Serving"
      ],
      "badges": [
        "Grocery Delivery"
      ],
      "is_price_hidden": false,
      "is_warehouse_only": false,
      "is_out_of_stock": false,
      "has_variants": false,
      "has_membership_restrictions": false,
      "has_shipping_restrictions": true,
      "is_free_shipping": false
    },
    {
      "position": 3,
      "product_id": "650136",
      "title": "Lavazza Cremoso Coffee Beans, 1kg",
      "link": "https://www.costco.co.uk/Grocery-Household/Grocery-Delivery/Lavazza-Cremoso-Coffee-Beans-1kg/p/650136",
      "thumbnail": "https://www.costco.co.uk/medias/sys_master/images/hcd/he1/524481514307614.jpg",
      "price": "£18.79",
      "extracted_price": 18.79,
      "highlights": [
        "100% Arabica Beans",
        "Medium Roast",
        "8/10 Intensity Level",
        "Chocolate & Spice Notes",
        "Made in Italy"
      ],
      "badges": [
        "Grocery Delivery"
      ],
      "is_price_hidden": false,
      "is_warehouse_only": false,
      "is_out_of_stock": false,
      "has_variants": false,
      "has_membership_restrictions": false,
      "has_shipping_restrictions": true,
      "is_free_shipping": false
    }
  ],
  "filters": [
    {
      "type": "Delivery",
      "options": [
        {
          "text": "Grocery Delivery",
          "items": 48,
          "filter_value": "cartGroup:8796093380189",
          "is_selected": false
        },
        {
          "text": "Business Delivery",
          "items": 17,
          "filter_value": "cartGroup:8796224157277",
          "is_selected": false
        }
      ]
    },
    {
      "type": "Delivery",
      "options": [
        {
          "text": "Business Delivery",
          "items": 17,
          "filter_value": "delivery:Business Delivery",
          "is_selected": false
        }
      ]
    }
  ],
  "pagination": {
    "current": 1,
    "next": 2,
    "total_pages": 7
  }
}

Developer experience

Easy integration

Integrating is as simple as making a GET HTTP request.

GET
https://www.searchapi.io/api/v1/search?costco_domain=costco.co.uk&engine=costco_search&q=coffee
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "costco_search",
  "q": "coffee",
  "costco_domain": "costco.co.uk"
}

response = requests.get(url, params=params)
print(response.text)

What You Get for Every Product

Structured product data from Costco search

Costco Search returns the products Costco lists for a search, parsed into clean JSON. Narrow a search with the filters Costco offers, sort it, and page through the results.

Products

The Costco product code, title, product page link and image, with titles in the site's own language.

Prices and Savings

The price as Costco shows it and as a number, the price before a saving, the amount saved and, outside the United States and Canada, when the saving ends.

Member-Only Prices

A flag for products whose price Costco shows only to signed-in members, and, outside the United States and Canada, whether the price includes shipping.

Promotions

The offers Costco lists for a product, such as a reduction applied at checkout, and the labels it shows, such as Online Only.

Ratings and Reviews

The average rating out of 5 and the number of reviews behind it.

Filters

The categories, brands, price ranges and product attributes Costco offers for the search, each with a code to send back and a product count.

Sorting

Costco's own order, by price, by rating, best sellers first, by name or newest first, as each site offers them.

Pagination

Page through up to 500 pages of 24 products, with the total number of pages and the next page number.

Legal Coverage

Legal Protection Guarantee

We accept legal responsibility for how SearchApi collects and parses publicly available search results, backed by up to $2M in coverage. This protection applies to customers worldwide, operates under U.S. law, and does not cover your use of the data or unlawful activities.

Robust Infrastructure

Handle even the most demanding needs

Sub-2 second average response time

Performance

Sub-2 second average response time

Optimized for low latency, delivering rapid results for AI applications, SEO analysis, and research.

100% success rate

100% Success Rate

Guaranteed query completion

Guaranteed success with built-in auto-retry mechanism and adaptive error handling to ensure complete data collection.

Scalable proxy rotation

Proxy Management

Scalable proxy rotation

Our built-in proxy rotator and auto-retry mechanisms ensure scalability, handling millions of searches daily across a global network of 100M+ proxies.

Advanced CAPTCHA bypass

Captcha Solving

Advanced CAPTCHA bypass

Mimics real human behavior with full browser rendering, JavaScript execution, and CAPTCHA solving for uninterrupted data scraping.

Open-source integrations

Integrations

Open-source integrations

Easily integrate with popular open-source tools like Dify, Flowise, LangChain, and Haystack to extend functionality with minimal setup.

Simple Pricing

Pricing plans

  • Pay per success
  • Built in location geo-targetting
  • Only premium proxies

Developer Plan

$4 per 1,000 searches

$40 / month

What's included
  • 10,000 Searches
  • 99.9% SLA

Production Plan

$3 per 1,000 searches

$100 / month

What's included
  • 35,000 Searches
  • Team Management
  • Legal Protection Guarantee
  • 99.9% SLA

BigData Plan

$2.5 per 1,000 searches

$250 / month

What's included
  • 100,000 Searches
  • Team Management
  • Legal Protection Guarantee
  • 99.9% SLA
  • Medium Throughput

Scale Plan

$2 per 1,000 searches

$500 / month

What's included
  • 250,000 Searches
  • Team Management
  • Legal Protection Guarantee
  • 99.9% SLA
  • High Throughput
  • Search Analytics

Trusted by industry leaders

Anthropic logo Bain & Company logo DataRails logo Scale AI logo Ahrefs logo Demyst logo

Get started with SearchApi today

No credit card required. No commitment. Cancel anytime.