cloro WebsiteAPI Get an API key
API Reference › Copilot › Shopping cards

Shopping cards

Structured product cards that cloro extracts whenever Microsoft Copilot surfaces shopping or commercial results, complete with pricing, seller, and rating details.

POST https://api.cloro.cloud/v1/copilot

Overview

Shopping cards are not fetched through a dedicated call. They arrive as part of the standard Copilot extraction response whenever the underlying answer includes product listings. When Copilot presents commercial content, cloro parses it into a normalized shoppingCards array so you can read product data programmatically without scraping the rendered page.

No extra flags or parameters are needed to opt in — if product cards are present in the Copilot answer, they are populated automatically. When Copilot returns no commercial results, the array is simply omitted or empty.

Shopping card structure

Every entry in the shoppingCards array groups a set of related products under a shared presentation style.

FieldTypeDescription
typestringCategory of the card, for example shoppingProducts.
layoutstringHow the products are laid out, such as Carousel.
productsarrayCollection of individual product objects contained in this card.

Product information

Each object in the products array describes a single offering.

FieldTypeDescription
productobjectIdentifier block carrying id, groupId, and brandGroupId.
positioninteger1-based rank of the product across every shopping card in the response; the counter is flat and does not restart per card.
offerIdstringIdentifier that uniquely marks this specific offer.
urlstringLink to the product's detail page.
namestringDisplay name of the product.
descriptionstringShort text summarizing the product.
imagesarrayImage entries, each with a title and url.
specificationsarrayAttribute entries, each pairing a displayName with one or more values.
tagsarrayDescriptive labels attached to the product.
priceobjectCurrent price block (see below).
discountPriceobjectReduced price using the same shape as price; null when there is no discount.
sellerstringName of the merchant offering the product.
sellerLogoUrlstringURL of the seller's logo image.
brandNamestringBrand the product belongs to.
ratingobjectAggregate rating block (see below).
canTrackPricebooleanIndicates whether price tracking can be enabled for this product.

Product identifier structure

The nested product field holds the identifiers cloro uses to reference the item.

FieldTypeDescription
idstringUnique product identifier.
groupIdstringIdentifier for the product group.
brandGroupIdstringOptional identifier for the brand-level group.

Price structure

FieldTypeDescription
amountnumberNumeric price value.
currencystringISO currency code; optional.
currencySymbolstringSymbol for the currency, for example $.

Rating structure

FieldTypeDescription
valuenumberAverage rating score.
countintegerTotal number of ratings collected.
maxRatingnumberTop of the rating scale; may be null.

Response example

{
  "success": true,
  "result": {
    "text": "Here are several laptops well suited to software development...",
    "shoppingCards": [
      {
        "type": "shoppingProducts",
        "layout": "Carousel",
        "products": [
          {
            "product": {
              "id": "prod_12345",
              "groupId": "group_12345"
            },
            "position": 1,
            "offerId": "offer_12345",
            "url": "https://www.microsoft.com/en-us/d/surface-laptop-studio-2/8rqr54krf1dz",
            "name": "Microsoft Surface Laptop Studio 2",
            "description": "High-performance laptop aimed at developers and creators",
            "images": [
              { "title": "Front view", "url": "https://cdn.example.com/surface-front.jpg" }
            ],
            "specifications": [
              { "displayName": "Color", "values": ["Platinum", "Black"] }
            ],
            "tags": ["laptop", "professional"],
            "price": {
              "amount": 1999.99,
              "currency": "USD",
              "currencySymbol": "$"
            },
            "discountPrice": null,
            "seller": "Microsoft Store",
            "sellerLogoUrl": "https://cdn.example.com/microsoft-logo.png",
            "brandName": "Microsoft",
            "rating": {
              "value": 4.7,
              "count": 542,
              "maxRating": 5
            },
            "canTrackPrice": true
          }
        ]
      }
    ]
  }
}

Notes