Start research
const url = 'https://deeperesearch.com/v1/research';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"query":"Which Postgres-backed job queues for Node.js are production-ready in 2026, and how do they compare?","vendors":"balanced","max_cost_usd":20}'};
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 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "Which Postgres-backed job queues for Node.js are production-ready in 2026, and how do they compare?", "vendors": "balanced", "max_cost_usd": 20 }'Sends the question to each provider and returns at once. The worst-case cost is held from your credit while it runs; you’re charged the actual cost when it finishes. Follow progress with GET /v1/research/{id} or a webhook.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Up to 255 characters. Retrying with the same key returns the original instead of starting (and charging) again.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The research question, with any context the providers need. Up to 15,000 characters.
A preset (“fast”, “balanced” or “thorough”) or a list of up to 16 {vendor, offering} pairs from GET /v1/vendors.
object
Refuse to start if the worst case (hold_usd) is above this.
Up to 10 ready file ids from POST /v1/files, sent to every provider with the question.
Merge the providers’ reports into one cited synthesis when they finish. Needs at least two mergeable providers.
object
Example
{ "query": "Which Postgres-backed job queues for Node.js are production-ready in 2026, and how do they compare?", "vendors": "balanced", "max_cost_usd": 20}Responses
Section titled “Responses”Already started with this Idempotency-Key; nothing new was charged
object
Expected cost when it started
Charged so far; final once the research and its merges finish
The coding agent that started it, when one did
ISO 8601 timestamp, UTC
One per provider
One provider working on a research question.
object
A synthesis merge: several provider reports combined into one cited report.
object
Auto: requested with the research; manual: started afterwards
US dollars
ISO 8601 timestamp, UTC
Files sent with the question (on GET /v1/research/{id})
object
Example
{ "object": "research", "status": "queued", "merge_config": { "thinking": "off", "mode": "comprehensive" }, "runs": [ { "state": "pending" } ], "merges": [ { "object": "merge", "trigger": "auto", "thinking": "off", "mode": "comprehensive", "state": "pending" } ]}Started
object
Expected cost when it started
Charged so far; final once the research and its merges finish
The coding agent that started it, when one did
ISO 8601 timestamp, UTC
One per provider
One provider working on a research question.
object
A synthesis merge: several provider reports combined into one cited report.
object
Auto: requested with the research; manual: started afterwards
US dollars
ISO 8601 timestamp, UTC
Files sent with the question (on GET /v1/research/{id})
object
Example
{ "object": "research", "status": "queued", "merge_config": { "thinking": "off", "mode": "comprehensive" }, "runs": [ { "state": "pending" } ], "merges": [ { "object": "merge", "trigger": "auto", "thinking": "off", "mode": "comprehensive", "state": "pending" } ]}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" }}Not enough credit for the worst case (insufficient_credit)
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" }}Conflicts with the current state, e.g. not_cancellable or idempotency_conflict
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" }}