GET
/
search
curl --request GET \
  --url https://node.apiopenperplex.com/search \
  --header 'X-API-Key: <api-key>'
{
  "llm_response": "<string>",
  "sources": [
    {}
  ],
  "images": [
    {}
  ],
  "response_time": 123,
  "error": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

query
string
required
date_context
string
location
string
default:us
model
string
default:gpt-4o-mini
response_language
string
default:auto
answer_type
string
default:text
search_type
string
default:general
return_citations
boolean
default:false
return_sources
boolean
default:false
return_images
boolean
default:false

Response

200
application/json
Successful response
llm_response
string
sources
object[]
images
object[]
response_time
number
error
string