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.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
| Field | Type | Description |
|---|---|---|
result.shopping_cards | array | Shopping product cards with detailed product information |
| Field | Type | Description |
|---|---|---|
products | array | Array of product objects |
tags | array | Optional category tags |
Product structure
Each product object includes:| Field | Type | Description |
|---|---|---|
title | string | Product name |
position | integer | 1-indexed rank across all products in all shopping cards in the response (flat, not reset per card). |
url | string | Product page URL |
description | string | Product description |
price | string | Current price |
original_price | string | Original price before discount |
rating | number | Product rating (0-5) |
numReviews | number | Number of reviews |
imageUrls | array | Product image URLs |
merchant | string | Merchant name |
id | any | Product identifier |
variants | array | Product variants (size, color, etc.) |
offers | array | Shopping offers with pricing details |