GET
/
web
curl --request GET \
  --url https://apis.datura.ai/web \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "title": "EXCLUSIVE Major coffee buyers face losses as Colombia ...",
      "snippet": "Coffee farmers in Colombia, the world's No. 2 arabica producer, have failed to deliver up to 1 million bags of beans this year or nearly 10% ...",
      "link": "https://www.reuters.com/world/americas/exclusive-major-coffee-buyers-face-losses-colombia-farmers-fail-deliver-2021-10-11/",
      "date": "21 hours ago",
      "source": "Reuters",
      "author": "Reuters",
      "image": "https://static.reuters.com/resources/2021/10/11/Reuters/Reuters_20211011_0000_01.jpg?w=800&h=533&q=80&crop=1",
      "favicon": "https://static.reuters.com/resources/2021/10/11/Reuters/Reuters_20211011_0000_01.jpg?w=800&h=533&q=80&crop=1",
      "highlights": [
        "Such requests are not allowed."
      ]
    }
  ]
}

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)

Response

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