Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Perplexity Search API

The Search API from Perplexity — 1 operation(s) for search.

Perplexity Search API is one of 12 APIs that Perplexity publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Search. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, pricing, and an AsyncAPI specification.

This API exposes 1 operation across 1 path, and defines 9 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.perplexity.ai.

1 operations 1 paths 9 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.perplexity.ai
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Perplexity Search API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (HTTPBearer).

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Search 1
POST
/search
Search the Web
search_search_post body → 200422

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are ApiSearchPage (5 properties), DateFilters (5 properties), ValidationError (3 properties), ApiSearchResponse (3 properties). Each schema is shown below with its type and property counts.

HTTPValidationError
object
1 property
ValidationError
object
3 properties 3 required
ApiSearchPage
object
A single page from search results
5 properties 3 required
ApiSearchRequest
object
Date
string
Input: MM/DD/YYYY, Output: YYYY-MM-DD
ApiSearchResponse
object
3 properties 2 required
SearchRecencyFilter
string
Time-based recency filter for search results
SearchDomainFilter
object
1 property
DateFilters
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

perplexity-search-api-openapi.yml Raw ↑

Other APIs Perplexity publishes across the network.

Perplexity
Perplexity Async Chat Completions API
Perplexity Search API
Perplexity Responses API
Perplexity Embeddings API
Perplexity Agent API
Perplexity Async API
Perplexity Contextualizedembeddings API
Perplexity Embeddings API
Perplexity Models API
Perplexity Sonar API