Outcome-focused APIs for SaaS developers
One API call.
A finished result.
Add citation-backed research and structured web extraction to your product without operating search, fetching, model routing, retries, or validation.
$ curl https://api.openagently.com/v1/research \
-H "Authorization: Bearer $OPENAGENTLY_API_KEY" \
-d '{"query":"Compare project tools for small agencies"}'
# 202 Accepted — poll the task or receive a signed webhook
{
"taskId": "task_01j8re6q2k",
"status": "succeeded",
"citations": 22,
"sources": 14
}
Predefined capabilities, predictable results
No prompt editors, no workflow builders, no model selection. Call a capability, get a polished final output your product can show.
POST /v1/research
Citation-backed research
Bounded source discovery, evidence synthesis, and citation checks deliver a final response designed around verifiable sources.
POST /v1/extract
Structured extraction
Known-URL extraction into five stable templates — from company-profile to product-catalog — with SSRF and schema validation built in.
GET /v1/tasks/{taskId}
Production task handling
Idempotency keys, async jobs, HMAC-signed webhooks, customer-visible usage details, and charges only on success.
From request to result
Every task runs the same agentic loop behind one endpoint: search, fetch, validate, deliver.
Send one request
Authenticate with an API key and post a research query or extraction URL set. Short tasks return synchronously; longer ones return 202 Accepted with a task ID.
We run the loop
Source discovery, page fetching, model routing, retries, and validation run on our infrastructure — with citation and schema checks before anything is returned.
Receive a finished result
Poll the task or receive a signed webhook. You get the final output, status, usage, and credit details — never raw traces to clean up.
Ship agentic features without building agent infrastructure
Create an account, generate a test key, and make your first API call in minutes. Credits are charged only for successfully completed tasks.
