curl --request POST \
--url https://api.example.com/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'{
"results": [
{
"title": "<string>",
"url": "<string>",
"snippet": "<string>",
"date": "<string>",
"last_updated": "<string>"
}
],
"id": "<string>",
"server_time": "<string>"
}Search the web and retrieve relevant web page contents.
curl --request POST \
--url https://api.example.com/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'{
"results": [
{
"title": "<string>",
"url": "<string>",
"snippet": "<string>",
"date": "<string>",
"last_updated": "<string>"
}
],
"id": "<string>",
"server_time": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
hour, day, week, month, year web, academic, sec Was this page helpful?