The Desearch API allows you to perform AI-powered web searches, gathering relevant information from multiple sources including web pages, research papers, and social media discussions.
Here's a simple example to get started:
💡 Try it live: Use our API Playground to test the AI Search endpoint interactively with your API key.
| Parameter | Type | Description |
|---|---|---|
prompt | string | The search query |
tools | array | List of tools to search (e.g., ["web", "twitter", "reddit"]) |
| Parameter | Type | Default | Description |
|---|---|---|---|
date_filter | string | PAST_24_HOURS | Filter results by date (PAST_24_HOURS, PAST_WEEK, PAST_MONTH, PAST_YEAR, ALL_TIME) |
streaming | boolean | true | Enable/disable streaming responses |
result_type | string | LINKS_WITH_SUMMARIES | Result format: ONLY_LINKS, LINKS_WITH_SUMMARIES, or LINKS_WITH_FINAL_SUMMARY |
system_message | string | "" | Custom system message for AI processing |
count | integer | 10 | Number of results per source (10-200) |
For complete parameter details and live testing, visit the API Reference.
| Tool | Description |
|---|---|
web | Search across web pages |
twitter | Real-time X (Twitter) posts |
reddit | Community discussions |
hackernews | Tech news and discussions |
youtube | Video content |
wikipedia | Encyclopedia articles |
arxiv | Research papers and preprints |