Skip to main content
This section documents the shopping cards data returned by the Perplexity endpoint. Shopping cards are part of the Perplexity response, so no separate API call is needed. For use cases, pricing context, and copy-paste examples, see the Perplexity shopping API page on the product site.

Example request

Shopping cards are intent-detected by Perplexity. Send a prompt that expresses shopping intent (for example, asking for product recommendations or where to buy). No flag is required.
This produces a response containing the shopping_cards array documented below.

Overview

Perplexity automatically detects shopping-intent queries and returns structured shopping cards with product listings, pricing, ratings, and offers.

Shopping card structure

Each shopping card contains:

Product structure

Each product object includes:

Offer structure

Each entry in offers represents a single merchant listing for the product:

Response example