API reference · Lead searches
Plan a lead search
Plan a lead search and see its credits (spends nothing)
https://api.signalvan.com/v1/searches/planWorks out a lead search exactly as the SignalVan chat does and keeps it 15 minutes behind a plan_id: what will run (summary, intent_signals, settings), the settings still missing, and the credits (suggested, minimum, the split per intent signal, the live balance and the problem when they are not enough). ready is true when it can start.
kind: signals(the default): one or moreintent_signalsfromGET /intent-signals, with optionalsettings. Left out, the settings are drafted from what SignalVan knows about the website (GET /knowledge).kind: directory: the Business directory, bysegments(kinds of business),countriesandcities.
Show the user the summary and the credits; when they agree, start it with POST /searches.
Credits: none. It may make a small AI call to read your use_case. Start the lead search with POST /searches. Send an Idempotency-Key to retry safely.
QueryAdded to the address after ?. Optional unless marked required.
website_idstringThe website to act on (GET /websites). Left out: the key's default website, else its only one; a key that opens several websites and has no default must send it Example: 6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14
HeadersSent with every request. Authorization always; Content-Type and Idempotency-Key with POST.
AuthorizationstringrequiredBearer and your API key. Keys are made in SignalVan: Account, API keys. Example: Bearer sv_live_...
Content-TypestringrequiredThe body is JSON. Example: application/json
X-Website-IdstringThe same as website_id, as a header (the query parameter wins when both are sent) Example: 6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14
Idempotency-KeystringSend the same key to retry safely: the first answer comes back (24 hours) Example: plan-2026-11-20-leeds-01
BodyJSON. Fields marked required must be sent; the rest are optional. Unknown fields answer 400 invalid.
application/jsonkindstringsignals: intent signals from GET /v1/intent-signals; directory: the Business directory
signalsdirectoryuse_casestringWho you want to reach and why, in your words
intent_signalsstring[]signals: intent signal keys from GET /v1/intent-signals
settingsobjectsignals: the settings of the picked intent signals (GET /v1/intent-signals lists each one with its limits and an example). Left out: drafted from what SignalVan knows. A setting the picked intent signals do not use, or a value outside its limits, answers 400 with every problem listed
max_creditsinteger | nullThe most credits the lead search may use (left out: the suggested amount, shown in the plan). For the Business directory it is the same as credit_limit
max_leadsinteger | nullstop after this many likely customers
executionstringsignals, several intent signals: run them together, or one by one (the next only after the one before finishes)
togetherone_by_onecontactstringsignals: contact details to look up for the likely customers in the same lead search
noneemailphonebothsegmentsstring[]directory: the kinds of business to find (left out: drafted from what SignalVan knows)
countriesstring[]directory: country codes to look in (gb, us...)
citiesstring[]directory: cities to look in
buyer_rolesstring[]directory: the roles of the people to reach at each business
company_sizestringdirectory: the size of business (small, mid, any...)
exclude_domainsstring[]directory: websites to leave out (your own customers, partners...)
credit_limitinteger | nulldirectory: the most credits it may use
Response · 200The fields of a successful answer. Answers may carry more fields than listed; ignore the ones you do not use.
application/jsonplan_idstringrequiredStart it with POST /searches {plan_id, confirm: true} within 15 minutes
expires_atstring | nullrequiredWhen the plan expires
kindstringrequiredThe kind of lead search planned
signalsdirectorysummarystring | nullrequiredWhat will run, in one or two plain sentences: show it to the user
use_casestring | nullrequiredWho to reach and why, as the lead search will read it
intent_signalsPlanSignal[]requiredThe intent signals that will run (empty for the directory)
Show 2 fields
keystringrequiredIts key (GET /intent-signals)
labelstringrequiredIts name in the app
settingsobject | nullrequiredEvery setting the lead search will run with (signals: keywords, job_titles, competitors, country...; directory: segments, regions, buyer_roles, exclude...)
missingobjectrequiredSettings still needed, per intent signal ({} when none). Plan again with them before starting
readybooleanrequiredtrue when nothing is missing and the credits have no problem
creditsSignalsCredits | DirectoryCreditsrequiredThe credits, before anything is used
Show 9 fields
rangeCreditRangerequiredNeeds at least, usually uses, stops at: show its sentence
max_creditsinteger | nullrequiredThe most credits the lead search may use: your max_credits, else the suggested amount
suggestedinteger | nullrequiredThe credits we suggest for these intent signals and settings
minimuminteger | nullrequiredThe fewest credits that let every intent signal try once
contact_reserveinteger | nullrequiredCredits set aside for the contact details asked for (contact), 0 when none
splitSplitShare[]requiredHow max_credits is shared between the intent signals
notesstring[]requiredPlain sentences about the split (up to 10)
problemstring | nullrequiredWhy these credits will not work (for example not enough available), null when they will. The plan is not ready while set
balanceCreditsrequiredThe live balance
nextstringrequiredWhat to do next, in plain words
startedboolean | nullOn GET /searches/plan/{plan_id}: true once the plan started its lead search (a plan starts one only)
search_idstring | nullWith started: the lead search it started
app_urlstringrequiredThe lead searches in SignalVan