GET
/
web
curl --request GET \
  --url https://apis.datura.ai/web \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "title": "<string>",
      "snippet": "<string>",
      "link": "<string>",
      "date": "<string>",
      "source": "<string>",
      "author": "<string>",
      "image": "<string>",
      "favicon": "<string>",
      "highlights": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

query
string
required

The search query string, e.g., 'latest news on AI'.

num
integer
required

Count of results to get

start
integer
required

How many results to skip (used for pagination with num)

Required range: 1 <= x <= 100

Response

201
application/json
A JSON object mapping Web Search to its search results.
data
object[]
required