Estimate research
const url = 'https://deeperesearch.com/v1/research/estimate';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"vendors":"fast"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://deeperesearch.com/v1/research/estimate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "vendors": "fast" }'The low, expected and worst-case cost of research, without starting anything. Free.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
A preset (“fast”, “balanced” or “thorough”) or a list of up to 16 {vendor, offering} pairs from GET /v1/vendors.
object
Merge the providers’ reports into one cited synthesis when they finish. Needs at least two mergeable providers.
object
Up to 10 ready file ids from POST /v1/files, sent to every provider with the question.
Example
{ "vendors": "fast"}Responses
Section titled “Responses”The estimate
object
object
US dollars
US dollars
US dollars
Worst case, held from credit while it runs
object
US dollars
US dollars
US dollars
Worst case, held from credit while it runs
object
object
object
US dollars
US dollars
US dollars
Worst case, held from credit while it runs
Example
{ "merge": { "thinking": "off", "mode": "comprehensive" }}The body isn’t valid JSON (invalid_json)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}Missing or invalid API key (unauthorized)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}The key lacks the scope this needs (forbidden)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}The body is over 128 KB (body_too_large)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}Invalid request; the message names the field (invalid_request, exceeds_max_cost, vendor_unavailable, …)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}Rate limit, spending limit or quota reached (rate_limited, limit_reached, quota_exceeded). See Retry-After.
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}The feature isn’t available on this server (merge_unavailable)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}