/webThis API allows users to search for any information over the web. This replicates a typical search engine experience, where users can search for any information they need. Each request returns up to 20 results. Paginate with `start`, the number of results to skip: any offset works, so `start=10` returns results beginning at the 11th. A page can hold fewer than 20 results while more follow, so set the next `start` to this `start` plus the number of results returned. A search with no results, including a `start` past the last result, returns 200 with `data: []` and is not charged. A search failure or timeout returns 503 and is not charged. A result's `snippet` is an empty string when the page has no text summary. An empty or whitespace-only `query` returns 422 and is not charged. A blocked query returns 200 with no results and is not charged. Billing metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.
Base URL
https://api.desearch.aiUse SERP web search API when your application needs fresh web results without maintaining its own crawler, social-data pipeline, or retrieval infrastructure. The endpoint returns structured data that can be consumed by agents, research tools, dashboards, and retrieval-augmented generation workflows. Keep the request focused on the minimum fields your workflow needs so responses remain fast and easy to validate.
Send requests to GET /web with your Desearch API key in the authorization header. Treat the key as a server-side secret, validate all required parameters before sending the request, and handle non-2xx responses explicitly. Production integrations should use sensible timeouts, retry only transient failures with backoff, and record the response status and request identifier for troubleshooting.
Test the example request below before integrating it into a larger workflow. Confirm that the returned fields, links, and timestamps meet your freshness requirements, then add schema validation at the application boundary. For agentic systems, preserve source URLs with the generated answer so users can inspect evidence and your application can avoid presenting unsupported claims.
querystringrequiredThe search query string, e.g., 'latest news on AI'. An empty or whitespace-only query returns 422 and is not charged.
startintegerHow many results to skip, for pagination. Any offset works, with no rounding: 0 (default) returns results from the 1st, 10 from the 11th, 20 from the 21st, and so on. Each request returns up to 20 results, and a page can hold fewer while more follow: for the next page, set start to this start plus the number of results returned. Must be between 0 and 100. A value outside that range returns 422 and is not charged.
Default: 0
Your API key is sent in the Authorization header.