CVS

Search CVS OTC products by keyword

Performs a keyword search across CVS.com's non-prescription retail/OTC catalog and returns one page of results: products with title, brand, image, current/original price, and sponsored/featured/new-product flags; the total result count; and the facets (brand, color, size, price range, and other attributes, each with its selectable values and result counts) available to filter the results further. Covers the non-prescription retail catalog only. q is the search keyword or phrase, required. page is a 1-indexed page number (default 1). sort is an optional result order matching cvs-category's own Sort By values. CVS.com is only available from US and US-territory locations; a request served from an unsupported region returns an upstream error rather than an empty result.

get/cvs/search

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/cvs/search
  • Auth: API key in header x-api-key

Query parameters

qstring required

Search keyword or phrase

pageinteger

1-indexed page number, default 1

sort'pa' | 'pd' | 'tr' | 'rc' | 'az' | 'za'

Result sort order, default relevance. One of pa (Price Low to High), pd (Price High to Low), tr (Top Rated), rc (Most Reviewed), az (Name A-Z), za (Name Z-A)

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "facets": [
      {
        "key": "brand",
        "label": "Brand",
        "values": [
          {
            "count": 37,
            "name": "CoverGirl"
          }
        ]
      }
    ],
    "page": 1,
    "products": [
      {
        "brand": "Crest",
        "currency": "USD",
        "id": "478253",
        "list_price": 4.99,
        "sale_price": 4.99,
        "title": "Crest Pro-Health Breath Mist, Clean Mint, 0.44 OZ, 2 PK"
      }
    ],
    "total_count": 8766
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.