Search the site with NLWeb
GET and POST requests to /ask search public pages. No API key or sign-in is required. Results are ranked links, not generated answers.
Use a query parameter for GET or send query.text in a JSON body for POST. Set prefer.streaming to true to receive server-sent events instead of JSON.
curl 'https://usedream.ai/ask?query=pricing'
curl 'https://usedream.ai/ask' \
-H 'Content-Type: application/json' \
-d '{"query":{"text":"Where can I find pricing?"}}'An NLWeb failure includes a code, message and hint. No matching pages returns NO_RESULTS with HTTP 200; a malformed query returns HTTP 400.
Send Dream-API-Version: 2026-12-04 to pin the API version. If omitted, the current version is used. Responses include the version; an unsupported version returns HTTP 400. We introduce breaking changes in a new version and announce any retirement here before it takes effect.
POST echoes an optional Idempotency-Key header. Search is read-only; the key does not cache or deduplicate results.
Set the limit query parameter to return 1–25 results per page (default 10). Pass next back as the cursor query parameter with the same question and language. If next is null, there are no more pages. In a stream, next is sent in the complete event.