
Real-time web search with filtering by domain, language, date, and more. Returns search results, not LLM responses; no file uploads.
Real-time web search with filtering by domain, language, date, and more. Returns search results, not LLM responses; no file uploads.
perplexity-searchPOST /v1/searchLive pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.
Perplexity Search answers live queries through POST /v1/search. Send the search query with the model id perplexity-search and read structured results from the response. Get an API key from the EmpirioLabs dashboard.
curl https://api.empiriolabs.ai/v1/search \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "perplexity-search",
"query": "latest developments in solid-state batteries"
}'import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/search",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "perplexity-search",
"query": "latest developments in solid-state batteries",
},
)
print(response.json())Request parameters supported by the Perplexity Search API on EmpirioLabs. Defaults apply when a field is omitted.
| Parameter | Type | Default | Range / values | Description |
|---|---|---|---|---|
| query | string | - | - | The natural-language search query. |
| max_results | number | 10 | 1 to 20 | Maximum number of results to return. |
| max_tokens | number | 1000000 | 1 to 1000000 | Maximum tokens extracted across all results. |
| max_tokens_per_page | number | 4096 | 1 to 16384 | Max tokens extracted per individual result page. |
| multi_query_mode | boolean | false | - | Let Perplexity expand the query into multiple parallel searches for broader coverage. |
| search_domain_filter | string | - | - | Comma-separated domains. Prefix with '-' to exclude. Max 20. |
| search_language_filter | string | - | - | Comma-separated ISO 639-1 codes (2 letters). Max 10. |
| search_recency_filter | enum | none | none, hour, day, week, month, year | Relative time filter (hour | day | week | month | year). |
| search_after_date_filter | string | - | - | Use YYYY-MM-DD. Only include sources after this date. |
| search_before_date_filter | string | - | - | Use YYYY-MM-DD. Only include sources before this date. |
| last_updated_after_filter | string | - | - | Use YYYY-MM-DD. Only include sources after this date. |
| last_updated_before_filter | string | - | - | Use YYYY-MM-DD. Only include sources before this date. |
| country | string | - | - | Two-letter ISO 3166-1 code (US, GB, etc.) for biasing results to a country. |
| display_server_time | boolean | false | - | Include the server-time timestamp in the response payload. |
Returns title/url/snippet only — no LLM-style answer. Up to 5 queries via newline-separated multi_query.
On EmpirioLabs, Perplexity Search is billed pay as you go: Search Request $0.0060 per request. The live rate card on this page always matches what the API charges.
Perplexity Search is served through POST /v1/search on api.empiriolabs.ai with standard bearer-token authentication.
Yes. The EmpirioLabs playground runs Perplexity Search in the browser with the same parameters the API exposes, so you can test prompts before writing code.
Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.
Explore our models, or contact us about business inquiries, custom deployments, or anything else.