Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Everything is billed in credits. Most kickoff endpoints take estimate_cost (price without running) and max_credits (refuse above a ceiling).
- scrape and quick_search answer synchronously. search_agent holds up to 50 s; enrich and other kickoffs return a run (run_…): poll runs.get (pending, enqueued, processing, success, stopped) every 10-20 s or long-poll runs.result with wait, or pass webhook_url.
- Datasets, saved enrichments, extractions and monitors are not in this entry. Verb-style legacy paths (/run_new_enrichment, /run_status…) still answer but are deprecated.
Endpoints
Scrape a page
- A read over POST. The answer uses the legacy request_status format.
Quick web search
- A read over POST. The answer is a run with the results already in output.
Ask a research question
- A read over POST. For many rows or complex research use enrich.