POST
/
desearch
/
ai
/
search
/
links
/
web
curl --request POST \
  --url https://apis.datura.ai/desearch/ai/search/links/web \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "What are the recent sport events?",
  "tools": [
    "web",
    "hackernews",
    "reddit",
    "wikipedia",
    "youtube",
    "arxiv"
  ],
  "model": "NOVA"
}'
{
  "youtube_search_results": {
    "organic_results": [
      {
        "position": 123,
        "title": "Example Web Page Title",
        "link": "https://example.com",
        "redirect_link": "https://example.com/redirect",
        "displayed_link": "https://example.com/displayed",
        "favicon": "https://example.com/favicon.ico",
        "date": "17 hours ago",
        "snippet": "This is an example snippet from the web page.",
        "snippet_highlighted_words": [
          "example",
          "snippet"
        ],
        "source": "On Location",
        "inline": [
          {
            "link": "https://example.com",
            "title": "Example Web Page Title"
          }
        ],
        "summary_description": "List of bitcoin companies - Wikipedia"
      }
    ]
  },
  "hacker_news_search_results": {
    "organic_results": [
      {
        "position": 123,
        "title": "Example Web Page Title",
        "link": "https://example.com",
        "redirect_link": "https://example.com/redirect",
        "displayed_link": "https://example.com/displayed",
        "favicon": "https://example.com/favicon.ico",
        "date": "17 hours ago",
        "snippet": "This is an example snippet from the web page.",
        "snippet_highlighted_words": [
          "example",
          "snippet"
        ],
        "source": "On Location",
        "inline": [
          {
            "link": "https://example.com",
            "title": "Example Web Page Title"
          }
        ],
        "summary_description": "List of bitcoin companies - Wikipedia"
      }
    ]
  },
  "reddit_search_results": {
    "organic_results": [
      {
        "position": 123,
        "title": "Example Web Page Title",
        "link": "https://example.com",
        "redirect_link": "https://example.com/redirect",
        "displayed_link": "https://example.com/displayed",
        "favicon": "https://example.com/favicon.ico",
        "date": "17 hours ago",
        "snippet": "This is an example snippet from the web page.",
        "snippet_highlighted_words": [
          "example",
          "snippet"
        ],
        "source": "On Location",
        "inline": [
          {
            "link": "https://example.com",
            "title": "Example Web Page Title"
          }
        ],
        "summary_description": "List of bitcoin companies - Wikipedia"
      }
    ]
  },
  "arxiv_search_results": {
    "organic_results": [
      {
        "position": 123,
        "title": "Example Web Page Title",
        "link": "https://example.com",
        "redirect_link": "https://example.com/redirect",
        "displayed_link": "https://example.com/displayed",
        "favicon": "https://example.com/favicon.ico",
        "date": "17 hours ago",
        "snippet": "This is an example snippet from the web page.",
        "snippet_highlighted_words": [
          "example",
          "snippet"
        ],
        "source": "On Location",
        "inline": [
          {
            "link": "https://example.com",
            "title": "Example Web Page Title"
          }
        ],
        "summary_description": "List of bitcoin companies - Wikipedia"
      }
    ]
  },
  "wikipedia_search_results": {
    "organic_results": [
      {
        "position": 123,
        "title": "Example Web Page Title",
        "link": "https://example.com",
        "redirect_link": "https://example.com/redirect",
        "displayed_link": "https://example.com/displayed",
        "favicon": "https://example.com/favicon.ico",
        "date": "17 hours ago",
        "snippet": "This is an example snippet from the web page.",
        "snippet_highlighted_words": [
          "example",
          "snippet"
        ],
        "source": "On Location",
        "inline": [
          {
            "link": "https://example.com",
            "title": "Example Web Page Title"
          }
        ],
        "summary_description": "List of bitcoin companies - Wikipedia"
      }
    ]
  },
  "search_results": {
    "organic_results": [
      {
        "position": 123,
        "title": "Example Web Page Title",
        "link": "https://example.com",
        "redirect_link": "https://example.com/redirect",
        "displayed_link": "https://example.com/displayed",
        "favicon": "https://example.com/favicon.ico",
        "date": "17 hours ago",
        "snippet": "This is an example snippet from the web page.",
        "snippet_highlighted_words": [
          "example",
          "snippet"
        ],
        "source": "On Location",
        "inline": [
          {
            "link": "https://example.com",
            "title": "Example Web Page Title"
          }
        ],
        "summary_description": "List of bitcoin companies - Wikipedia"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Body

application/json
prompt
string
required

Search query prompt

Example:

"What are the recent sport events?"

tools
(enum<string> | string)[]
required

List of tools to search with

Available options:
web,
hackernews,
reddit,
wikipedia,
youtube,
arxiv
Example:
[
  "web",
  "hackernews",
  "reddit",
  "wikipedia",
  "youtube",
  "arxiv"
]
model
enum<string> | null
default:NOVA

Model to use for scraping. Options: NOVA, ORBIT, HORIZON

Available options:
NOVA,
ORBIT,
HORIZON
Example:

"NOVA"

Response

200
application/json
A JSON object mapping tool names to their search results.
youtube_search_results
required

Youtube search results

hacker_news_search_results
required

Hacker News search results

reddit_search_results
required

Reddit search results

arxiv_search_results
required

Arxiv search results

wikipedia_search_results
required

Wikipedia search results

search_results
required

Search results