Ranked source links
Receive web result URLs with titles and snippets that your application can display, filter, or pass to a model.
Search the public web and return ranked titles, URLs, snippets, and usage metadata as structured JSON.
GET /weblatest open source RAG research
Agent decides
Selects the Desearch tool
Tool runs
GET /web
Context returns
Ready for the next step
Web search output
Use ranked source results directly, or combine them with your own reranking, extraction, and generation steps.
Receive web result URLs with titles and snippets that your application can display, filter, or pass to a model.
Use a predictable response shape in agents, RAG pipelines, monitoring jobs, and custom search experiences.
Review supported query parameters and response fields directly in the generated API reference.
Quick start
Create an API key, then review the live endpoint contract before integrating it into your application.
curl --request GET \
--url 'https://api.desearch.ai/web?query=latest+open+source+RAG+research' \
--header "Authorization: $DESEARCH_API_KEY"Request and response
Send a query, read ranked results, and reconcile spend from the same response. The API reference holds the full schema; these are the fields most integrations start with.
| Field | Type | Notes |
|---|---|---|
| query | string | The keyword query to run. Required. |
| start | integer | Offset into the result set for paging. |
| cost_usd | number | Cost charged for the request, returned on billable responses. |
| usage_count | integer | Billable usage units applied to the request. |
| service | string | Metered service path used for pricing, such as /web. |
Usage is metered at $0.10 per 100 searches, or $1.00 per 1,000 searches. Cost metadata is also returned as X-Desearch-* response headers — see pricing and billing.
Microsoft retired the Bing Search APIs on August 11, 2025, and Google closed its Custom Search JSON API to new customers. The migration pages map each call to its Desearch equivalent, and the comparison pages cover Brave Search API, Tavily, Exa, and SerpApi.
Scope, output, and a direct path to the endpoint contract.