ProspectUpAPI · FIELD MANUAL
/
v1 · STABLE
REST · JSON · api.prospectup.ai/v1

A working manual for 13.7M businesses.

Search, enrich, and manage your entire prospecting pipeline over one credentialed REST surface — 168 endpoints, with Node & Python SDKs when you want them.

168Endpoints
22Resources
13.7MBusinesses
2SDKs
MethodGET
Endpoint/v1/prospects
AuthBearer key
CostFree
curl https://api.prospectup.ai/v1/prospects --get \
  -d "city=Austin" \
  -d "state=TX" \
  -d "has_website=false" \
  -d "min_rating=4.5" \
  -d "limit=10" \
  -H "Authorization: Bearer pk_live_…"
// pu = new ProspectUp({ apiKey })
const data = await pu.prospects.search({ city: "Austin", state: "TX", has_website: false, min_rating: 4.5, limit: 10 });
# pu = ProspectUp(api_key=...)
data = pu.prospects.search(city="Austin", state="TX", has_website=False, min_rating=4.5, limit=10)
RESPONSE · 200 OK
{
  "items": [
    {
      "business_id": 13042903,
      "display_name": "Ahwak Cafe",
      "city": "Austin",
      "rating": 5,
      "has_website": false,
      "already_saved": false
    }
  ],
  "next_cursor": "eyJwIjoy…",
  "total": 318
}
Authentication§01

One bearer key, capped by your role.

Mint a key in Settings → API keys and send it on every request. Keys are read or read+write, bound to one workspace, and a viewer stays read-only even with a write key.

curl https://api.prospectup.ai/v1/credits/balance \
  -H "Authorization: Bearer pk_live_…"
// pu = new ProspectUp({ apiKey })
const data = await pu.credits.balance();
# pu = ProspectUp(api_key=...)
data = pu.credits.balance()
RESPONSE · 200 OK
{
  "balance_cents": 617300,
  "balance_dollars": 6173
}
Revocable instantly. Keys hash at rest, show once, and cut off on the next request when revoked. Sending, launching, deleting, and payments are never exposed to a key.
ScopeGrants
readEvery GET — search, lists, analytics, exports.
read + writeSave leads, organize lists, set dispositions, draft campaigns, triage the inbox.
HeaderPurpose
AuthorizationBearer pk_live_… — required.
Idempotency-KeySafe-retry any write.
X-Request-IdReturned on every response; quote it to support.
SDKs§02

Official clients for Node and Python.

Install one and pagination, retries, idempotency keys, and signature checks are handled for you. Generated from this spec, so the client never drifts from the API. Both are live at v0.1.0 on npm and PyPI.

you@app ~/project
$ npm install prospectup
✓ added prospectup@0.1.0 # typed · zero deps beyond fetch
$ node quickstart.js
import { ProspectUp } from 'prospectup'
const pu = new ProspectUp({ apiKey: process.env.PROSPECTUP_API_KEY })

// walk every page — pagination handled for you
for await (const p of await pu.prospects.search({ query: 'coffee', city: 'Austin' }))
  console.log(p.display_name)
→ Blue Bottle Coffee · Austin, TX (page 1 of 34, streaming…)
→ Merit Coffee · Austin, TX
→ Cuvée Coffee Bar · Austin, TX
$ prospectup capabilities
✓typed
Every method maps 1:1 to an endpoint — your editor autocompletes the whole surface.
✓auto-pagination
One loop walks every page; cursor and page-number endpoints both handled.
✓retries + idempotency
429/5xx retried with backoff; writes attach an Idempotency-Key automatically.
✓webhook-verify
Confirm a signature in one call — no HMAC plumbing on your side.
Conventions§03

Learn the contract once.

01 / SHAPE

Resource at the root

Success returns the resource directly — no wrapper. Lists return items, next_cursor, and total.

02 / RETRIES

Idempotent writes

Send Idempotency-Key; a retried write never double-acts. Replays echo the stored result.

03 / PAGING

Opaque cursors

Pass next_cursor back as ?cursor=. Default 25, max 100; search caps at 50.

04 / TRACING

Every call is addressable

X-Request-Id on every response, echoed in error bodies as request_id.

Success · list
200 · application/json
{
  "items": [
    {
      "business_id": 13042903,
      "display_name": "Ahwak Cafe",
      "rating": 5
    }
  ],
  "next_cursor": "eyJwIjoy…",
  "total": 318
}
Error · typed + traceable
402 · insufficient_credits
{
  "error": {
    "code": "insufficient_credits",
    "message": "Not enough credits for this action.",
    "hint": "Top up, then retry.",
    "retryable": false,
    "details": {
      "balance_cents": 80,
      "required_cents": 100
    },
    "request_id": "a1b2c3d4-…"
  }
}
Status codes§04

Predictable failure.

Each error carries a machine code, a human message, and — where you can act — a hint.

StatusCodeMeaning
400validationA parameter failed its schema; details.issues names the field.
401unauthorizedMissing, malformed, or revoked key.
402insufficient_creditsBalance too low for a spend; body carries the shortfall. Trial expiry lands here too.
403forbiddenScope or role can't do this. Suspended → account_suspended.
404not_foundNo such resource in your workspace. Cross-workspace ids always 404.
409conflictIdempotency-Key reused with a different body.
429rate_limitedOver the ceiling. Honor Retry-After.
503service_unavailableSearch backend momentarily down; retryable: true.
Credits & pricing§05

Pay for data, not for calls.

Reads are free and rate-limited. A handful of endpoints spend credits — the same balance as the app — each marked $ CREDITS in the reference.

ActionEndpointCost
Reveal a business's contactsPOST /prospects/reveal1 credit / business
Save a prospect as a leadPOST /prospects/{id}/save1 credit · reveal included
Save many at oncePOST /prospects/bulk-save1 credit / business
Add an off-dataset businessPOST /leads1 credit
Build a list from filtersPOST /batches1 credit / delivered lead
Flag bad data · within 7 daysPOST /leads/{id}/flagrefunds 1
Already-revealed or already-saved businesses are free — spends are idempotent. A short balance returns 402 with the exact shortfall before anything is charged. Check GET /credits/balance first.
Worked examples§06

The core loop, end to end.

Search the dataset, reveal contacts, save the best into a list. Each specimen is a real request against a real response shape.

SPEC 01GET/prospects
Search the dataset

Filter 13.7M businesses across ~55 facets. Every hit carries an already_saved flag so you never pay twice.

MethodGET
Scoperead
CostFREE
Idempotent—
city
string
US city name.
state
string
2-letter state.
has_website
boolean
Website presence.
min_rating
number
Minimum rating.
limit
integer
Page size, max 50.
curl https://api.prospectup.ai/v1/prospects --get \
  -d "city=Austin" \
  -d "state=TX" \
  -d "has_website=false" \
  -d "min_rating=4.5" \
  -d "limit=10" \
  -H "Authorization: Bearer pk_live_…"
// pu = new ProspectUp({ apiKey })
const data = await pu.prospects.search({ city: "Austin", state: "TX", has_website: false, min_rating: 4.5, limit: 10 });
# pu = ProspectUp(api_key=...)
data = pu.prospects.search(city="Austin", state="TX", has_website=False, min_rating=4.5, limit=10)
RESPONSE · 200 OK
{
  "items": [
    {
      "business_id": 13042903,
      "display_name": "Ahwak Cafe",
      "city": "Austin",
      "state": "Texas",
      "rating": 5,
      "rating_count": 48,
      "has_website": false,
      "already_saved": false
    }
  ],
  "next_cursor": "eyJwIjoy…",
  "total": 318
}
SPEC 02POST/prospects/reveal$ CREDITS
Reveal contacts

Unlock owner, phone, and emails for up to 100 businesses. Spends 1 credit per newly-revealed business; already-revealed ones are free.

MethodPOST
Scopeenrichment:write
Cost1 / BIZ
IdempotentYES
business_idsREQ
integer[]
Up to 100 ids.
Idempotency-Key
header
Safe-retry key.
curl https://api.prospectup.ai/v1/prospects/reveal -X POST \
  -H "Authorization: Bearer pk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"business_ids":[13042903,564953]}'
// pu = new ProspectUp({ apiKey })
const data = await pu.prospects.reveal({ business_ids: [13042903, 564953] });
# pu = ProspectUp(api_key=...)
data = pu.prospects.reveal(business_ids=[13042903, 564953])
RESPONSE · 200 OK
{
  "newly_revealed_count": 2,
  "already_revealed_count": 0,
  "charged_cents": 200,
  "balance_cents": 617100,
  "contacts": [
    {
      "business_id": 13042903,
      "phone_number": "+1 512-266-2442",
      "emails": [
        {
          "email": "hello@ahwak.com"
        }
      ]
    }
  ]
}
SPEC 03POST/prospects/{business_id}/save$ CREDITS
Save as a lead

Save one business into a list and reveal its contacts in the same step. Free if already saved — returns the existing lead.

MethodPOST
Scopeleads:write
Cost1 CREDIT
IdempotentYES
business_idREQ
integer
The business to save.
list_idREQ
integer
Destination list.
Idempotency-Key
header
Safe-retry key.
curl https://api.prospectup.ai/v1/prospects/{business_id}/save -X POST \
  -H "Authorization: Bearer pk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"list_id":570}'
// pu = new ProspectUp({ apiKey })
const data = await pu.prospects.save(businessId, { list_id: 570 });
# pu = ProspectUp(api_key=...)
data = pu.prospects.save(business_id, list_id=570)
RESPONSE · 200 OK
{
  "lead_id": 278460,
  "saved": true
}
Webhooks§07

Events, the moment they happen.

Register an HTTPS endpoint and we POST a signed event when a prospect replies, a campaign completes, or credits run low — no polling. Manage endpoints in Settings → Webhooks, or over the API at /v1/webhooks.

EventFires when
lead.repliedA prospect replies to one of your campaigns.
campaign.completedA campaign finishes sending.
credits.lowYour credit balance crosses the low threshold.
credits.addedCredits land: a top-up, a grant, or a reversed refund.
Every delivery is signed. The X-ProspectUp-Signature header is an HMAC-SHA256 over <timestamp>.<raw-body>. Verify it before trusting the payload — the SDK does it in one call.
verify a delivery
import { verifyWebhookSignature } from 'prospectup'

// Express — pass the RAW body, not the parsed object
app.post('/webhooks', async (req, res) => {
  const ok = await verifyWebhookSignature({
    payload: req.rawBody,
    signature: req.headers['x-prospectup-signature'],
    secret: process.env.PROSPECTUP_WEBHOOK_SECRET,
  })
  if (!ok) return res.sendStatus(400)

  const event = req.body   // { type: 'lead.replied', data: {…} }
  res.sendStatus(200)
})
Reply 2xx to acknowledge. A non-2xx or a timeout retries with backoff — 1m → 5m → 30m → 2h → 6h — then stops. Watch every delivery, and replay failures, in Settings → Webhooks.
Reference§08

The complete surface.

All 168 endpoints, indexed by resource. Search from the command bar to jump.

§06Prospects19 ENDPOINTS

The global dataset — search, detail, audits, save/reveal spends.
GET/prospectsSearch prospects (businesses)
POST/prospects/search/naturalSearch prospects by natural languageW
POST/prospects/nearSearch prospects near a point (radius)W
GET/prospects/{business_id}Get a prospect (business)
GET/prospects/{business_id}/assetsGet a business's ready asset URLs
POST/prospects/{business_id}/assets/generateGenerate marketing assets for a businessW
POST/prospects/{business_id}/social-postsGenerate a social-posts asset for a businessW
GET/prospects/{business_id}/signalsGet computed signals for a business
GET/prospects/{business_id}/reviewsGet a business's reviews
GET/prospects/{business_id}/reviews/monthlyGet a business's monthly review trend
GET/prospects/{business_id}/refresh-logGet a business's last enrichment diff
POST/prospects/{business_id}/enrichRefresh enrichment for a businessW
GET/prospects/{business_id}/listings-auditAudit a business's directory listings (NAP scan)
GET/prospects/{business_id}/apple-maps-auditAudit a business on Apple Maps
POST/prospects/{business_id}/apple-maps-auditForce a fresh Apple Maps auditW
POST/prospects/apple-maps-audits/bulkQueue Apple Maps audits in bulkW
POST/prospects/{business_id}/saveSave a prospect as a lead$
POST/prospects/bulk-saveSave many prospects as leads$
POST/prospects/revealReveal business contacts$

§07Lists6 ENDPOINTS

Named lead lists: create, rename, delete, members.
GET/listsList lead lists
POST/listsCreate a lead listW
GET/lists/{list_id}Get one list
PATCH/lists/{list_id}Rename a lead listW
DELETE/lists/{list_id}Delete a lead listW
GET/lists/{list_id}/leadsList leads in a list

§08Leads22 ENDPOINTS

The saved-lead CRM — dispositions, activity, convert, move, export.
GET/leadsSearch all your saved leads (org-wide)
POST/leadsAdd a business not in ProspectUp, as a lead$
GET/leads/filter-catalogList valid lead-filter fields
POST/leads/exportExport saved leads as CSVW
POST/leads/matchFind a business in ProspectUp (no save)W
POST/leads/confirm-matchSave a matched business as a lead$
POST/leads/dispositions/bulkSet disposition on many leadsW
POST/leads/bulk-moveMove many leads to another listW
POST/leads/bulk-enrichRefresh enrichment for saved leadsW
GET/leads/{id}Get a saved lead
PATCH/leads/{id}Move a lead to another listW
GET/leads/{id}/activityGet a lead's activity history
POST/leads/{id}/activityLog an activity on a leadW
PUT/leads/{id}/dispositionSet a lead's dispositionW
POST/leads/{id}/convertMark a lead as wonW
DELETE/leads/{id}/convertUndo a lead conversionW
POST/leads/{id}/reportReport bad lead dataW
POST/leads/{id}/flagFlag a bad lead (refunds $1)$
POST/leads/importImport leads from a CSVW
GET/leads/import/{id}Get a CSV import job
POST/leads/import/{id}/confirmConfirm a CSV import (charges the hold, starts it)W
POST/leads/import/{id}/cancelCancel a CSV importW

§09Lead views4 ENDPOINTS

Reusable filter presets.
GET/lead-viewsList saved lead views
POST/lead-viewsCreate a saved lead viewW
PATCH/lead-views/{id}Update a saved lead viewW
DELETE/lead-views/{id}Delete a saved lead viewW

§10Saved filters6 ENDPOINTS

Subscribed audiences + new-lead alerts.
GET/saved-filtersList saved filters (audiences)
POST/saved-filtersSave / subscribe a filter (audience)W
GET/saved-filters/new-leadsNew leads since last check
GET/saved-filters/{id}Get a saved filter (audience)
PATCH/saved-filters/{id}Subscribe / unsubscribe a saved filterW
DELETE/saved-filters/{id}Delete a saved filter (audience)W

§11Campaigns35 ENDPOINTS

Draft campaigns, audience, run-state, analytics. Sending stays in the app.
GET/campaignsList campaigns
POST/campaignsCreate a draft campaignW
GET/campaigns/analyticsCampaign analytics over a date range
GET/campaigns/analytics/breakdownsCampaign analytics by dimension
GET/campaigns/performance-by-categoryCampaign performance by business category
GET/campaigns/sending-scheduleEmail sending: how many go out today
GET/campaigns/sendsList individual email sends
GET/campaigns/reach-previewPreview reachable audience
GET/campaigns/audit-coverageApple-audit coverage for a selection
GET/campaigns/{campaign_id}Get a campaign
PATCH/campaigns/{campaign_id}Update a campaign's metadataW
GET/campaigns/{campaign_id}/analyticsGet campaign analytics
GET/campaigns/{campaign_id}/activityCampaign activity log
GET/campaigns/{campaign_id}/leadsList a campaign's leads (who replied / opened / bounced)
POST/campaigns/{campaign_id}/leadsAdd leads to a draft campaignW
DELETE/campaigns/{campaign_id}/leads/{business_id}Remove a lead from a draft campaignW
POST/campaigns/{campaign_id}/launchLaunch a draft campaign — STARTS REAL OUTREACHW
POST/campaigns/{campaign_id}/resumeResume a paused campaign — RESUMES REAL SENDSW
POST/campaigns/{campaign_id}/reopenReopen a completed/cancelled campaign — RESUMES REAL SENDSW
POST/campaigns/{campaign_id}/pausePause a campaignW
POST/campaigns/{campaign_id}/completeMark a campaign completeW
POST/campaigns/{campaign_id}/cancelCancel a campaignW
POST/campaigns/{campaign_id}/cloneClone a campaign to a new draftW
POST/campaigns/{campaign_id}/sequenceAppend a step to a draft campaign sequenceW
PUT/campaigns/{campaign_id}/sequenceReplace a draft campaign's whole sequenceW
DELETE/campaigns/{campaign_id}/sequenceRemove one step from a draft campaign sequenceW
POST/campaigns/{campaign_id}/copyGenerate copy for one campaign leadW
POST/campaigns/{campaign_id}/copy/regenerateClear and regenerate a campaign's unsent copyW
POST/campaigns/{campaign_id}/postcard-copyGenerate postcard copy for a campaign leadW
POST/campaign-templates/{template_id}/useCreate a campaign from a templateW
GET/mailboxesList your sending mailboxes
PATCH/campaigns/{campaign_id}/mailboxesChoose which mailboxes a campaign sends fromW
PATCH/campaigns/{campaign_id}/configureConfigure a campaign's sending settingsW
POST/campaigns/{campaign_id}/leads/{business_id}/skipSkip one lead on a campaign channelW
PATCH/campaigns/{campaign_id}/prioritySet a campaign's send priorityW

§12Conversations9 ENDPOINTS

Inbox reply threads — read + triage. No reply-send.
GET/conversationsList inbox reply threads
GET/conversations/unread-countInbox unread count
GET/conversations/{campaign_id}/{business_id}Get a reply conversation
POST/conversations/{campaign_id}/{business_id}/readMark a reply thread read/unreadW
POST/conversations/{campaign_id}/{business_id}/importantFlag a reply thread importantW
POST/conversations/{campaign_id}/{business_id}/statusSet a reply thread statusW
POST/conversations/{campaign_id}/{business_id}/snoozeSnooze a reply threadW
POST/conversations/{campaign_id}/{business_id}/assignAssign a reply threadW
POST/conversations/{campaign_id}/{business_id}/categoryCategorize a reply threadW

§13Suppressions6 ENDPOINTS

Do-not-contact entries.
GET/suppressionsList do-not-contact entries
POST/suppressionsAdd to do-not-contact listW
GET/suppressions/statsDo-not-contact stats
POST/suppressions/bulkBulk add to do-not-contactW
DELETE/suppressions/{suppression_id}Remove from do-not-contact listW
GET/suppressions/exportExport the do-not-contact list

§14Skips4 ENDPOINTS

Businesses excluded from prospecting.
GET/skipsList skipped businesses
POST/skipsSkip a businessW
DELETE/skipsClear all skipped businessesW
DELETE/skips/{business_id}Un-skip a businessW

§15Credits2 ENDPOINTS

Balance and ledger.
GET/credits/balanceGet credit balance
GET/credits/transactionsList credit transactions

§16Field4 ENDPOINTS

Field prospecting — visits, routes, exclusions.
GET/field/exclusionsBusinesses to exclude on the map
GET/field/visitsList field visits for a day
POST/field/visitsLog a field visitW
POST/field/route-planPlan a visit routeW

§17Batches3 ENDPOINTS

Filter-driven bulk list building (async).
POST/batchesBuild a batch of leads from filters$
GET/batchesList batch-build jobs
GET/batches/{job_id}Get a batch-build job status (poll until completed)

§18Reference5 ENDPOINTS

Categories, locations, typeahead.
GET/categoriesList / search categories
POST/categories/resolveResolve category names to idsW
GET/locationsSearch locations
GET/reference/subtypesSuggest business subtypes
GET/reference/citiesSuggest cities

§19Notifications3 ENDPOINTS

In-app notifications.
GET/notificationsList notifications
POST/notifications/{notification_id}/readMark a notification readW
POST/notifications/read-allMark all notifications readW

§20Tasks1 ENDPOINTS

The day's task queue.
GET/tasks/due-todayTasks due today

§21Reports1 ENDPOINTS

Generated reports.
GET/reportsList generated reports

§22Dashboard1 ENDPOINTS

Workspace stats.
GET/dashboard/statsDashboard campaign stats

§23Support1 ENDPOINTS

File a support ticket.
POST/support/ticketsFile a support ticketW

§24Automations9 ENDPOINTS

Autopilot rules — list, create, update, pause, delete.
GET/automationsList autopilot automation rules
POST/automationsCreate an autopilot ruleW
GET/automations/settingsAutopilot budget + month-to-date spend
PATCH/automations/settingsSet the autopilot monthly spend capW
GET/automations/{rule_id}Get one autopilot rule + run history
PATCH/automations/{rule_id}Update an autopilot ruleW
DELETE/automations/{rule_id}Delete an autopilot ruleW
POST/automations/{rule_id}/pausePause an autopilot ruleW
POST/automations/{rule_id}/resumeResume an autopilot ruleW

§25Account8 ENDPOINTS

Your workspace account — profile, team, settings, fit-score weights, copy preferences.
GET/accountGet my account & workspace
GET/account/preferencesList copy-steering preferences
POST/account/preferencesAdd a copy-steering preferenceW
GET/account/teamList workspace team members
GET/account/settingsGet workspace outreach settings
DELETE/account/preferences/{preference_id}Remove a copy-steering preferenceW
GET/account/fit-score-weightsGet fit-score weights
PUT/account/fit-score-weightsSet fit-score weightsW

§26Templates13 ENDPOINTS

Reusable campaign, reply, and postcard templates.
GET/campaign-templatesList campaign templates
POST/campaign-templatesCreate a campaign templateW
GET/campaign-templates/{template_id}Get a campaign template
PATCH/campaign-templates/{template_id}Update a campaign templateW
DELETE/campaign-templates/{template_id}Delete a campaign templateW
POST/campaign-templates/{template_id}/duplicateDuplicate a campaign templateW
POST/campaigns/{campaign_id}/save-as-templateSave a campaign as a templateW
GET/reply-templatesList reply templates
POST/reply-templatesCreate a reply templateW
DELETE/reply-templates/{reply_template_id}Delete a reply templateW
POST/postcard-templatesCreate a postcard templateW
PATCH/postcard-templates/{template_id}Update a postcard templateW
DELETE/postcard-templates/{template_id}Delete a postcard templateW

§27Webhooks6 ENDPOINTS

Signed real-time event delivery — register endpoints, pick events, send a test.
GET/webhooks/event-typesList webhook event types
GET/webhooksList webhook endpoints
POST/webhooksCreate a webhook endpointW
GET/webhooks/{id}Get a webhook endpoint
DELETE/webhooks/{id}Delete a webhook endpointW
POST/webhooks/{id}/pingSend a test eventW