curl -X POST https://win.oneshotagent.com/v1/tools/research \
-H "Content-Type: application/json" \
-H "X-Payment-Proof: <your_x402_signature>" \
-d '{
"topic": "Latest developments in AI agent frameworks",
"depth": "deep"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/research", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Payment-Proof": paymentProof,
},
body: JSON.stringify({
topic: "Latest developments in AI agent frameworks",
depth: "deep",
}),
});
{
"request_id": "req_research_xyz",
"status": "pending",
"tool": "research",
"message": "Job queued successfully."
}
Research
Deep Research
AI-powered research with comprehensive reports and citations
POST
/
v1
/
tools
/
research
curl -X POST https://win.oneshotagent.com/v1/tools/research \
-H "Content-Type: application/json" \
-H "X-Payment-Proof: <your_x402_signature>" \
-d '{
"topic": "Latest developments in AI agent frameworks",
"depth": "deep"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/research", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Payment-Proof": paymentProof,
},
body: JSON.stringify({
topic: "Latest developments in AI agent frameworks",
depth: "deep",
}),
});
{
"request_id": "req_research_xyz",
"status": "pending",
"tool": "research",
"message": "Job queued successfully."
}
Authentication
Requires x402 payment proof in theX-Payment-Proof header.
Request Body
string
required
Research topic or question
string
default:"quick"
Research depth:
quick or deepResponse
string
Job ID for tracking research progress
string
Job status:
pending, processing, completed, or failedstring
Status message
curl -X POST https://win.oneshotagent.com/v1/tools/research \
-H "Content-Type: application/json" \
-H "X-Payment-Proof: <your_x402_signature>" \
-d '{
"topic": "Latest developments in AI agent frameworks",
"depth": "deep"
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/research", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Payment-Proof": paymentProof,
},
body: JSON.stringify({
topic: "Latest developments in AI agent frameworks",
depth: "deep",
}),
});
{
"request_id": "req_research_xyz",
"status": "pending",
"tool": "research",
"message": "Job queued successfully."
}
Research Depths
- quick: Fast research with 5-10 sources (2-3 minutes)
- deep: Comprehensive research with 20+ sources (5-10 minutes)
Notes
- Results include markdown report with citations
- Sources are verified and ranked by relevance
- Job status can be polled using the
request_id