Monitor Perplexity Responses
Perplexity
Extract Perplexity
Extract structured data from Perplexity AI about your brand, products, or any topic across various regions
POST
Monitor Perplexity Responses
Overview
The Perplexity endpoint extracts structured data from Perplexity AI with real-time web sources. Beyond basic text responses, it automatically detects and extracts data objects including shopping products, media content, travel information, and location data based on query intent.Web search enabledThis endpoint uses Perplexity’s default interface, which always performs web searches for all requests to provide real-time information with source citations.
- Shopping queries: Product information, pricing, and shopping cards
- Travel queries: Hotel listings and places
- Media queries: Videos and images related to the search
- General queries: Standard web search with sources and citations
Request parameters
Uses common parameters. Endpoint-specific options:include.rawResponse(boolean): Include raw streaming response events. Defaults tofalse
Response objects
The response includes the following sections. See each subpage for the full schema and examples.| Section | Description |
|---|---|
| Sources | Source citations referenced in the response |
| Shopping cards | Product cards with pricing, ratings, and offers |
| Media | Videos and images relevant to the query |
| Travel and places | Hotels and places when travel intent is detected |
Response schema
Includes common response fields plus:Core response fields
| Field | Type | Description |
|---|---|---|
result.text | string | Perplexity’s response text |
result.html | string | Response formatted in HTML (included when include.html is true) |
result.sources | array | Array of sources referenced in the response |
result.markdown | string | Response formatted in Markdown (included when include.markdown is true) |
result.rawResponse | array | Array of Perplexity’s streamed response events (included when include.rawResponse is true) |
result.shopping_cards | array | Shopping cards when shopping intent detected |
result.videos | array | Videos relevant to the query |
result.images | array | Images relevant to the query |
result.hotels | array | Hotels when travel intent detected |
result.places | array | Places when location intent detected |
Additional response data
| Field | Type | Description |
|---|---|---|
result.related_queries | array | Suggested follow-up search queries |
result.search_model_queries | array | Internal search queries (fan-outs) used to generate response |
| Field | Type | Description |
|---|---|---|
query | string | Actual search query used |
engine | string | Search engine type (“web”, etc.) |
limit | number | Result limit (typically 8) |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Request parameters for monitoring Perplexity responses