Guide

Scrapigator API and MCP server

Start Sales Navigator exports, read and filter leads, dedupe against everything you exported, and send lists to webhooks or Google Sheets, from an AI agent or your own code. Exports still run in your own Chrome extension, so your LinkedIn account never leaves your browser.
Salman BareeshUpdated
On this page
  1. Quickstart
  2. Authentication
  3. Connect an AI app (MCP)
  4. Start an export
  5. Read and filter leads
  6. Check what you already exported
  7. Send to webhooks and Google Sheets
  8. Find emails and phones
  9. Errors and limits
  10. All endpoints
  11. Questions

Key takeaways

  • API and MCP on every plan
  • Remote MCP: https://scrapigator.com/mcp
  • OpenAPI: /api/v1/openapi.json

Quickstart

Create an API key under API & agents, then list your exports:

curl https://scrapigator.com/api/v1/exports \
  -H "Authorization: Bearer sgk_YOUR_KEY"

The full machine-readable reference is the OpenAPI 3.1 spec (or import the Postman collection). Examples, Claude Code plugin and n8n templates are in the public GitHub repo.

Authentication

Send Authorization: Bearer sgk_… on every request. Keys are separate from your extension connection, so reconnecting the extension never breaks them. Each key has scopes:

ScopeAllows
account:readPlan, usage, extension status
exports:readList exports, read rows, summaries, CSV links, dedupe check
exports:writeStart and cancel exports
deliveries:writeAdd webhooks and send exports
enrich:writeFind emails and phones (spends your balance). Never on by default; tick it when creating a key and set a daily spend cap.

AI apps that support OAuth (Claude.ai, ChatGPT) connect with a sign-in and approval screen instead of a key.

Connect an AI app (MCP)

The remote MCP server is https://scrapigator.com/mcp (Streamable HTTP).

  • Claude.ai, Claude Desktop, ChatGPT: add a custom connector with the URL above and approve it.
  • Claude Code: claude mcp add --transport http scrapigator https://scrapigator.com/mcp --header "Authorization: Bearer sgk_YOUR_KEY"
  • Cursor, VS Code, n8n MCP Client, Make, Zapier: use the same URL with an Authorization header.

Tools

ToolWhat it does
scrapigator_start_exportQueue an export from a Sales Navigator search or list URL
scrapigator_get_exportStatus, progress and what the user must do next
scrapigator_list_exportsRecent exports
scrapigator_summarize_exportTop companies, titles, seniority, locations + sample
scrapigator_get_leadsFiltered page of rows (max 100)
scrapigator_csv_linkSigned 15-minute CSV link for whole or filtered lists
scrapigator_check_exportedWhich profiles you already exported
scrapigator_list_destinations / send_export / delivery_statusSend to webhooks and Google Sheets
scrapigator_account / cancel_exportUsage and cancelling
scrapigator_quote_enrichment / start_enrichmentQuote, then find emails and phones (paid, needs enrich:write)
scrapigator_enrichment_status / stop_enrichment / get_contactsTrack a run and read found contacts

Example prompts: “Export this Sales Navigator search, only people I haven’t exported, and tell me when it’s done.” “Which companies in my last export have three or more leads?” “Send yesterday’s export to my n8n webhook.”

Start an export

curl -X POST https://scrapigator.com/api/v1/exports \
  -H "Authorization: Bearer sgk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: weekly-ctos-2026-10-12" \
  -d '{"url":"https://www.linkedin.com/sales/search/people?query=...","only_new":true,"list_name":"CTOs fintech"}'

The response is 202 with the export. Poll GET /api/v1/exports/{id}. Statuses:

StatusMeaning
needs_approvalThe user must switch on “Allow agents to start exports” once, under API & agents.
waiting_for_browserChrome with the extension is closed. It starts when Chrome is open.
queuedThe extension will pick it up within a minute.
planningRunning. Searches over 2,500 leads are split automatically.
running, pausedCollecting rows. Paused means a LinkedIn limit; it resumes automatically.
finished, partial, failed, cancelledDone. partial means LinkedIn did not return every row.

Pass destination_id to have the rows sent to a webhook or Google Sheet when the export finishes.

Read and filter leads

GET /api/v1/exports/{id}/rows?title=VP&location=Germany&template=essentials&limit=100
GET /api/v1/exports/{id}/summary
POST /api/v1/exports/{id}/csv-link   {"title":"VP","template":"crm"}

Rows use cursor pagination (next_cursor). Filters are case-insensitive contains-matches: q, title, company, location, industry. CSV links are valid for 15 minutes and need no header.

Check what you already exported

POST /api/v1/identities/check
{"items":["https://www.linkedin.com/in/someone","https://www.linkedin.com/sales/lead/ACwAA..."]}

Send to webhooks and Google Sheets

Add a webhook with POST /api/v1/destinations (connect Google Sheets once from the Exports page), then POST /api/v1/exports/{id}/deliveries. Webhooks receive batches of up to 100 rows, signed with X-Scrapigator-Signature: sha256=HMAC(secret, timestamp + "." + body), with a stable X-Scrapigator-Event-Id for deduplication. Failed sends retry with backoff.

Find emails and phones

Find work emails and phone numbers for the leads in a lead export. It is paid from your prepaid balance, and you pay only for results:

ResultPrice
Valid email$0.01
Phone found$0.04
Catch-all, invalid or unknown email, nothing foundFree

Flow

Quote, show the user max_cost_usd and get their approval, start with a max_spend_usd at least that high, poll the run, then read the contacts:

POST /api/v1/exports/{id}/enrichments/quote   {"email":true,"phone":true}
POST /api/v1/exports/{id}/enrichments         {"email":true,"phone":true,"max_spend_usd":4.20}
GET  /api/v1/enrichments/{job_id}             # poll about once a minute
GET  /api/v1/exports/{id}/contacts?limit=100

email defaults to true and phone to false. The quote is free and needs only exports:read; max_cost_usd is the price if every lead is found, so the real charge is usually lower.

Which leads are looked up

Every lead in the export with a public LinkedIn profile URL (linkedin.com/in/…). The quote and the start response list the others under skipped, by reason:

ReasonMeaning
already_enrichedAn earlier run already found what you asked for. Leads are never charged twice, so running an export again only looks up what is missing.
no_public_profileThe row has no linkedin.com/in/ URL.
do_not_enrichThe person asked not to be looked up.

How emails are checked

All leads are looked up in parallel. Each email found is verified straight away, before anything is charged, and gets one status:

email_statusMeaningCharged
validThe mailbox exists and accepts mail.$0.01
catch_allThe domain accepts every address, so this mailbox cannot be confirmed. Risky for bulk sending.Free
invalidThe mailbox was rejected.Free
unknownThe mail server did not answer.Free
not_foundNo email found for this lead.Free

Phones have phone_status: found ($0.04) or not_found (free).

Run status

statusMeaning
queued, runningLooking up. rows shows how many leads are queued, running, done, skipped or failed.
pausedpause_reason: balance means the balance ran out; it resumes after a top-up. provider means lookups are unavailable for now; it resumes automatically.
doneEvery lead has an answer. emails counts them by email_status, phones_found counts phones.
stoppedStopped with DELETE /enrichments/{id}. Results so far are kept; leads not looked up yet are not charged.

charged_usd is what the run has cost so far. When a lookup provider is briefly busy, the lead goes back to the queue and is retried at no cost; you do not need to do anything.

Read the contacts

{
  "export_id": "…",
  "contacts": [{
    "ordinal": 4, "full_name": "Jane Doe", "title": "VP Sales", "company": "Acme",
    "profile_url": "https://www.linkedin.com/in/janedoe",
    "email": "jane@acme.com", "email_status": "valid",
    "phone": null, "phone_status": "not_found"
  }],
  "gaps": { "no_public_profile": 3, "stopped": 2 },
  "next_cursor": 4
}

Contacts combine every run on the export; when a lead was looked up twice, the latest answer wins. Page with cursor (up to 500 per page). gaps, on the first page only, counts leads that were skipped or failed and have no answer from any run, by reason (no_public_profile, do_not_enrich, stopped, lookup_failed), so no lead goes missing silently. Join contacts to rows with ordinal.

Spending limits

  • Starting needs a named API key with enrich:write. It is off by default and OAuth apps never get it.
  • 422 max_spend_exceeded: the quote is above max_spend_usd.
  • 403 daily_spend_cap: the run does not fit what is left of the key’s daily cap. The cap resets at 00:00 UTC, and a run counts its quoted maximum on the day it starts.
  • 402 insufficient_balance: the balance is empty. 409 conflict: the export is already being enriched. 409 quote_changed: the export grew while starting; quote again.
  • Each lead’s price is held from the balance while it is looked up, and anything not charged goes straight back.

Every call is listed in the API log under API & agents.

Errors and limits

Errors look like {"error":{"code","message","hint"}}; the hint says what to do. Each key may make 120 requests per minute and 20,000 per day (429 with Retry-After). 402 means the Free plan’s monthly rows are used up, or (enrichment) the balance is empty.

All endpoints

MethodPath
GET/api/v1/account
GET/api/v1/exports
POST/api/v1/exports
GET/api/v1/exports/{id}
DELETE/api/v1/exports/{id}
GET/api/v1/exports/{id}/rows
GET/api/v1/exports/{id}/summary
POST/api/v1/exports/{id}/csv-link
POST/api/v1/exports/{id}/deliveries
GET/api/v1/deliveries/{id}
POST/api/v1/identities/check
GET/api/v1/destinations
POST/api/v1/destinations
DELETE/api/v1/destinations/{id}
POST/api/v1/exports/{id}/enrichments/quote
POST/api/v1/exports/{id}/enrichments
GET/api/v1/enrichments/{id}
DELETE/api/v1/enrichments/{id}
GET/api/v1/exports/{id}/contacts

Questions

Is the API available on the Free plan?

Yes. API and MCP access is included on every plan. The Free plan keeps its 500 rows per month limit; Pro has no monthly row limit.

Does an agent get access to my LinkedIn account?

No. Agents only queue exports. Your Scrapigator Chrome extension runs them in your own browser with its normal pacing, and the server never receives your LinkedIn login or cookies.

Why does my export say waiting_for_browser?

Exports run in your Chrome extension. Open Chrome with the extension signed in to Sales Navigator and the export starts within a minute.

Can an agent send LinkedIn messages or connection requests?

No. Scrapigator only exports search results and lists. There are no messaging, connection or profile-visit tools.

Export your next Sales Navigator search

500 rows a month free. Pro is $10/month with unlimited exports and a 7-day money-back guarantee.