API, MCP and CLI reference
Search for prospects, read your qualified leads, give fit feedback, enroll leads into outreach and review drafts, from your own code, from Claude or Cursor, or from your terminal.
Authentication
Create a key in Settings → API (All Access or Scale). It starts with vk_live_ and is shown once, so copy it when you create it. Each member can have up to 5 active keys and can revoke any of them anytime. Send it on every request:
curl https://www.vanterasystem.dev/api/v1/leads?min_score=80 \
-H "Authorization: Bearer vk_live_..."A key acts with the permissions of the person who created it. Members can search, read leads and give fit feedback. Only admins can enroll leads and approve or decline drafts. The workspace is always the key’s own; you never pass an account id.
Base URL: https://www.vanterasystem.dev/api/v1. Successful responses are { "data": ... }; lists add next_cursor. Errors are { "error": { "code": "...", "message": "..." } }.
Limits
- 60 requests a minute per key.
- 10 searches a day and 300 prospects evaluated a day per workspace, one search at a time.
- A search evaluates 25 prospects by default and 50 at most.
- Only prospects at or above your qualification bar are returned.
- Enrolled leads follow your Outreach agent’s send mode: in review mode drafts wait in Approvals; on autopilot, clean drafts send within your safety limits. Approving over the API changes nothing about pacing or limits.
- An id that isn’t valid answers 404 not_found.
Endpoints
/meWho am I
The workspace, plan and key behind the request, plus today's remaining search allowance.
{
"data": {
"account": "Acme Co",
"plan": "All Access",
"key_name": "Claude on my laptop",
"role": "member",
"searches_left_today": 10,
"prospects_left_today": 300
}
}/searchesStart a search
Queues a prospect search and answers 202 right away. The search runs in the background; poll it until its status is done or failed. A search finds and scores prospects. It never writes or sends a message.
- description
- Required. Who to find, in plain language, 1 to 500 characters.
- titles, industries, locations
- Optional. Up to 10 short strings each.
- companySize
- Optional. For example "11-50".
- limit
- Optional. Prospects to evaluate, 1 to 50. Default 25.
- useDefaultIcp
- Optional. Also apply the workspace's saved ideal customer profile.
{
"description": "Heads of sales at seed to Series B SaaS",
"titles": ["Head of Sales", "VP Sales"],
"limit": 25
}{ "data": {
"id": "9a2e7c44-1f0b-4c63-b8d5-2e6a1f3c9d70",
"status": "running",
"criteria": { "description": "Heads of sales at seed to Series B SaaS", "limit": 25 },
"evaluated": 0,
"qualified": 0,
"error": null,
"created_at": "2026-11-12T09:30:00.000Z",
"finished_at": null
} }/searches/{id}Get a search
The search's status (queued, running, done or failed), how many prospects it evaluated and qualified, and, once it has any, the qualified prospects it returned. is_new is true for prospects this search created.
{
"data": {
"id": "9a2e7c44-1f0b-4c63-b8d5-2e6a1f3c9d70",
"status": "done",
"criteria": { "description": "Heads of sales at seed to Series B SaaS", "limit": 25 },
"evaluated": 25,
"qualified": 6,
"error": null,
"created_at": "2026-11-12T09:30:00.000Z",
"finished_at": "2026-11-12T09:34:12.000Z",
"leads": [ { "...": "a lead, plus \"is_new\": true" } ]
}
}/leadsList leads
Qualified prospects, newest first. Only leads at or above your qualification bar are returned; min_score can raise the floor but never lower it. Pass next_cursor back as cursor for the next page.
- min_score
- 0 to 100.
- since
- A date or date-time. Only prospects added after it.
- source
- discovery, manual, import, inbound, ad, intent or api.
- status
- sourced, rejected, qualified, enriched, in_campaign, replied, converted or archived.
- search_id
- Only prospects returned by that search.
- cursor
- The next_cursor from the previous page.
- limit
- 1 to 100. Default 25.
{
"data": [ {
"id": "3f6c1c0e-5b7a-4d2e-9a43-0c1f6d2b8e11",
"name": "Omar Haddad",
"title": "Partner",
"company": "Cobalt Advisory",
"industry": "Management consulting",
"location": "London, UK",
"linkedin_url": "https://www.linkedin.com/in/example",
"email": null,
"phone": null,
"score": 79,
"rationale": "Partner at a consulting firm hiring its first two account executives.",
"insights": {
"pain_points": ["New account executives need first meetings"],
"triggers": ["Hiring two account executives"],
"motivations": ["Get the new hires selling quickly"],
"value_angle": "First meetings booked from LinkedIn while the new hires ramp",
"summary": "Partner building a sales team."
},
"status": "qualified",
"source": "api",
"fit": null,
"enrolled": false,
"created_at": "2026-11-12T09:30:00.000Z"
} ],
"next_cursor": null
}/leads/{id}Get a lead
One prospect with their score, rationale, insights and outreach status. fit is good_fit, not_fit or null.
{ "data": {
"id": "3f6c1c0e-5b7a-4d2e-9a43-0c1f6d2b8e11",
"name": "Omar Haddad",
"title": "Partner",
"company": "Cobalt Advisory",
"industry": "Management consulting",
"location": "London, UK",
"linkedin_url": "https://www.linkedin.com/in/example",
"email": null,
"phone": null,
"score": 79,
"rationale": "Partner at a consulting firm hiring its first two account executives.",
"insights": {
"pain_points": ["New account executives need first meetings"],
"triggers": ["Hiring two account executives"],
"motivations": ["Get the new hires selling quickly"],
"value_angle": "First meetings booked from LinkedIn while the new hires ramp",
"summary": "Partner building a sales team."
},
"status": "qualified",
"source": "api",
"fit": null,
"enrolled": false,
"created_at": "2026-11-12T09:30:00.000Z"
} }/leads/{id}/feedbackGive fit feedback
Record whether a prospect is a good fit, not a fit, or clear the verdict. The feedback steers future targeting.
- verdict
- Required. good_fit, not_fit or clear.
- reason
- Optional. Up to 500 characters.
{ "verdict": "not_fit", "reason": "Agency, not a SaaS company" }{ "data": { "fit": "not_fit" } }/leads/{id}/enrollAdmin onlyEnroll a lead
Sends a qualified prospect to your Outreach agent, which drafts the first message. The draft follows the agent's send mode: in review mode it waits in Approvals; on autopilot, clean drafts are approved automatically and sent within your safety limits, and flagged drafts wait in Approvals. Enrolling a lead that is already enrolled answers already_enrolled.
{ "data": { "status": "enrolled", "lead": { "...": "the lead" } } }/draftsList drafts
Drafts waiting for approval, newest first. flagged is true when the draft has a quality flag; flagged drafts have to be reviewed in the app.
- cursor
- The next_cursor from the previous page.
- limit
- 1 to 100. Default 25.
{
"data": [ {
"id": "b1d5f0a2-7c3e-4a8b-8e52-5d9c0a4f7e21",
"lead_id": "3f6c1c0e-5b7a-4d2e-9a43-0c1f6d2b8e11",
"lead_name": "Omar Haddad",
"step": "message",
"body": "Omar, saw Cobalt is hiring two account executives. Who’s booking their first meetings?",
"flagged": false,
"flag_reason": null,
"created_at": "2026-11-12T09:41:00.000Z"
} ],
"next_cursor": null
}/drafts/{id}/approveAdmin onlyApprove a draft
Approves the draft so it is sent. It still goes through every safety limit: pacing, weekly ceilings and the do-not-contact list, so it may go out later rather than immediately. Drafts with a quality flag answer 409 draft_flagged.
{ "data": { "status": "approved" } }/drafts/{id}/declineAdmin onlyDecline a draft
Declines the draft with a reason. Set suppress to true to also stop all contact with that prospect; the response status is then suppressed instead of declined.
- reason
- Required. wrong_person, bad_timing, weak_message or other.
- suppress
- Optional. true also adds the prospect to your do-not-contact list.
{ "reason": "weak_message", "suppress": false }{ "data": { "status": "declined" } }
// with "suppress": true
{ "data": { "status": "suppressed" } }Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request | A parameter or the body is not valid. The message says which. |
| 401 | invalid_key | The key is missing, mistyped, revoked, or its owner has left the workspace. |
| 403 | plan_required | API access needs the All Access plan or higher. |
| 403 | admin_required | Only workspace admins can do this. |
| 404 | not_found | No such record in your workspace. |
| 409 | search_running | A search is already running. Wait for it to finish. |
| 409 | outreach_agent_required | Set up your Outreach agent in Vantera before enrolling leads. |
| 409 | already_handled | This draft was already approved or declined. |
| 409 | draft_flagged | This draft has a quality flag. Review it in the app. |
| 422 | not_qualified | This prospect hasn't passed qualification, so it can't be enrolled. |
| 422 | no_contact | This prospect has no LinkedIn profile to suppress. |
| 500 | fit_failed | Couldn't save a fit verdict. Try again. |
| 500 | decline_failed | Couldn't finish declining a draft. Try again. |
| 429 | rate_limited | More than 60 requests a minute on this key. |
| 429 | search_quota | The daily search or prospect limit was reached. Try again tomorrow. |
| 500 | internal | Something went wrong on our side. |
| 503 | api_unavailable | The API is temporarily unavailable (also when starting a search or enrolling a lead fails to start). Try again later. |
MCP server
Vantera’s hosted MCP server is at https://www.vanterasystem.dev/api/mcp (streamable HTTP). Authenticate with the same key in an Authorization: Bearer header. Tools return the same data as the REST API, with the same permissions and limits.
claude.ai and Claude Desktop
No key needed. In Claude, open Settings → Connectors → Add custom connector and paste https://www.vanterasystem.dev/api/mcp. Click Connect, sign in to Vantera and allow it. The server supports OAuth 2.1 with PKCE and dynamic client registration (discovery at /.well-known/oauth-protected-resource), so any MCP client that signs in that way works the same. Each connection shows up in Settings → API as a key named after the app.
Claude Code
claude mcp add --transport http vantera https://www.vanterasystem.dev/api/mcp \
--header "Authorization: Bearer <your key>"Cursor
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"vantera": {
"url": "https://www.vanterasystem.dev/api/mcp",
"headers": { "Authorization": "Bearer <your key>" }
}
}
}Tools
- whoami
- The workspace, plan and today's remaining search allowance.
- start_lead_search
- Start a prospect search. Returns a search id.
- get_lead_search
- Check a search and read its results.
- list_leads
- List qualified prospects, with filters.
- get_lead
- One prospect with score, rationale and outreach status.
- set_lead_fit
- Mark a prospect good_fit, not_fit, or clear it.
- enroll_lead
- Send a qualified prospect to the Outreach agent. Admin only.
- list_drafts
- Drafts waiting for approval.
- approve_draft
- Approve a draft. Admin only; flagged drafts can't be approved here.
- decline_draft
- Decline a draft with a reason, optionally suppressing the prospect. Admin only.
Want the walkthrough? See Claude & MCP.
Command line
The vantera command line tool wraps the same API. Run npx vantera setup once: it saves your key and connects Claude Code, Cursor and Claude Desktop. Add --json to any command for machine-readable output, and set VANTERA_API_KEY instead of running login if you prefer.
npx vantera setup # one step: save your key and connect your AI tools
vantera login
vantera whoami
vantera search start --icp "Heads of sales at seed to Series B SaaS" --wait
vantera leads list --min-score 80
vantera leads fit <id> good|bad|clear [--reason "..."]
vantera leads enroll <id>
vantera drafts list
vantera drafts approve <id>
vantera drafts decline <id> --reason weak_message [--suppress]
vantera mcp # bridge a local-only MCP client to Vantera