Crawl
Crawl a URL (and optional linked pages) and return full + filtered text.
POST
/v2/diligence/crawlCrawl
Crawl a URL with optional link expansion and LLM-guided selection.
cURL
curl -X POST https://api.omtx.ai/v2/diligence/crawl \
-H "x-api-key: YOUR_API_KEY" \
-H "idempotency-key: crawl-$(date +%s)" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.org/egfr-review",
"preset": "quick"
}'Response
{
"job_id": "job_123abc",
"status": "running"
}- This endpoint runs asynchronously and returns
202withjob_id. - Poll
/v2/jobs/{job_id}until status issucceeded. - The final crawl payload is in
response_payloadon/v2/jobs/{job_id}. - Public callers may pass
presetasquick,deep,deeper, ordeepest.