position, url, label, and description) with no Perplexity-specific fields. For use cases, pricing context, and copy-paste examples, see the Perplexity citations API page on the product site.

Sources in Perplexity
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
The AI Assistant is here to help — ask it anything instead of browsing through the pages.
Schema for source citations returned by the Perplexity endpoint, listing URLs, titles, snippets, and publishers referenced throughout the generated answer.
position, url, label, and description) with no Perplexity-specific fields. For use cases, pricing context, and copy-paste examples, see the Perplexity citations API page on the product site.

Sources in Perplexity
{
"prompt": "best laptops for programming",
"country": "US"
}
{
"success": true,
"result": {
"text": "Here are several laptops for programming...",
"sources": [
{
"position": 1,
"url": "https://example.com/best-laptops-2026",
"label": "Best laptops for programmers in 2026",
"description": "A guide to the top laptops for software development this year."
},
{
"position": 2,
"url": "https://example.com/dev-laptops-review",
"label": "Developer laptop reviews",
"description": "Reviews of laptops aimed at software developers."
}
]
}
}
Was this page helpful?