Agent
Autonomous lead and data harvesting from a single prompt.
POST
/api/v1/agentmaxSources + 4The Agent turns a plain-language goal into a structured dataset. It plans a search strategy, discovers sources, scrapes them, and aggregates and de-duplicates the records — e.g. "find flats for rent in Vivek Vihar with phone numbers and photos." Runs asynchronously.
Request
| Parameter | Type | Description |
|---|---|---|
promptrequired | string | What to harvest, in natural language. |
maxSources | number | How many sources to discover and scrape. |
targetRecords | number | Stop once this many records are collected. |
schema | object | Shape of each record (fields you want on every row). |
urls | string[] | Seed URLs to start from instead of (or alongside) search. |
lang / country | string | Localize discovery. |
Example
bash
curl -X POST https://peep.shownomore.com/api/v1/agent \
-H "Authorization: Bearer peep_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Find flats for rent in Vivek Vihar with phone numbers and photos",
"maxSources": 10
}'Poll GET /api/v1/agent/{jobId} for live progress steps and the record table as it fills in.