Teams that used the Apify Apollo actors from n8n or Make lost that path in September 2025. The Apollo Exporter API is the replacement for the job those actors did: start an export from a search URL, wait, download a file. The difference is what it needs from you: the search URL and a key, nothing else. The export runs on Apollo Exporter’s servers, with no Apollo login, cookies or extension on your side, and every email can be checked by BounceBan before the file is built when you send verify: true. The same calls cover exports without emails, company searches and the direct-dial add-on.
Authentication
Create a key on the API page of the dashboard. Keys start with ae_live_, are shown once, and can be revoked there at any time. Send the key on every call:
Authorization: Bearer ae_live_xxxxxxxxxxxxxxxxxxxxxxxx
Base URL: https://api.apolloexporter.com
| Method and path | Purpose |
|---|---|
POST /api/exports | Start an export from an Apollo search URL |
GET /api/exports/{id} | Status and counts for one export |
GET /api/exports/{id}/download | Download the finished CSV |
GET /api/exports | Your 500 most recent exports, newest first (?q= filters by file name) |
POST /api/exports/{id}/cancel | Stop a queued, running or paused export; rows saved so far are kept |
POST /api/exports/{id}/rerun | Run a stopped, failed or paused export again, continuing from the rows already saved |
DELETE /api/exports/{id} | Delete a finished export and its rows for good (stop it first if it is still running) |
GET /api/exports/stream | Live status for all your exports, as Server-Sent Events |
GET /api/limits | Minimum and maximum leads per request, and the current rates (no key needed) |
Quickstart in cURL
Start an export. Check the URL first with the free Apollo search URL parser: it removes the page parameter and offers a headcount split for searches too large for one export.
curl -X POST https://api.apolloexporter.com/api/exports \
-H "Authorization: Bearer $APOLLO_EXPORTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://app.apollo.io/#/people?personTitles[]=head%20of%20sales&personLocations[]=United%20States",
"leads": 2500,
"fileName": "us_heads_of_sales",
"plan": "email",
"dials": false
}'
{
"id": "6720f1c2a9b8e43d1c5e7a10",
"fileName": "us_heads_of_sales",
"kind": "people",
"searchUrl": "https://app.apollo.io/#/people?personTitles[]=head%20of%20sales&personLocations[]=United%20States",
"status": "queued",
"plan": "email",
"dials": false,
"requested": 2500,
"extracted": 0,
"valid": 0,
"dialsFound": 0,
"credits": 0,
"downloadReady": false,
"createdAt": "2026-10-31T09:12:44.000Z"
}
Poll until complete is true. status turns done when scraping ends, but if you asked for emails or phone numbers (or rows are being unmasked) the file keeps filling in for a short while: phase is finalizing until then, and complete becomes true once nothing more will change:
curl https://api.apolloexporter.com/api/exports/6720f1c2a9b8e43d1c5e7a10 \
-H "Authorization: Bearer $APOLLO_EXPORTER_KEY"
Download the file:
curl -L -o us_heads_of_sales.csv \
https://api.apolloexporter.com/api/exports/6720f1c2a9b8e43d1c5e7a10/download \
-H "Authorization: Bearer $APOLLO_EXPORTER_KEY"
Quickstart in JavaScript
Node 18 or newer, no dependencies. The same code runs in Deno, Bun and Cloudflare Workers.
const BASE = 'https://api.apolloexporter.com';
const KEY = process.env.APOLLO_EXPORTER_KEY;
const auth = { Authorization: `Bearer ${KEY}` };
async function exportApollo(url, leads, fileName) {
const start = await fetch(`${BASE}/api/exports`, {
method: 'POST',
headers: { ...auth, 'Content-Type': 'application/json' },
body: JSON.stringify({ url, leads, fileName, plan: 'email' }),
});
const job = await start.json();
if (!start.ok) throw new Error(job.error);
// Poll every 15 seconds until the export finishes.
for (;;) {
const res = await fetch(`${BASE}/api/exports/${job.id}`, { headers: auth });
const status = await res.json();
if (status.complete) break;
if (status.status === 'failed' || status.status === 'cancelled') throw new Error(status.error || status.status);
console.log(`${status.status}: ${status.extracted} rows, ${status.valid} emails`);
await new Promise((r) => setTimeout(r, 15000));
}
const file = await fetch(`${BASE}/api/exports/${job.id}/download`, { headers: auth });
return file.text(); // CSV
}
const csv = await exportApollo('https://app.apollo.io/#/people?personTitles[]=head%20of%20sales', 2500, 'heads_of_sales');
Quickstart in Python
import os
import time
import requests
BASE = "https://api.apolloexporter.com"
HEADERS = {"Authorization": f"Bearer {os.environ['APOLLO_EXPORTER_KEY']}"}
POLL_SECONDS = 15
def export_apollo(url: str, leads: int, file_name: str) -> str:
start = requests.post(f"{BASE}/api/exports", headers=HEADERS, json={
"url": url, "leads": leads, "fileName": file_name, "plan": "email",
})
job = start.json()
if not start.ok:
raise RuntimeError(job.get("error"))
while True:
status = requests.get(f"{BASE}/api/exports/{job['id']}", headers=HEADERS).json()
if status["complete"]:
break
if status["status"] in ("failed", "cancelled"):
raise RuntimeError(status.get("error") or status["status"])
print(f"{status['status']}: {status['extracted']} rows, {status['valid']} emails")
time.sleep(POLL_SECONDS)
path = f"{file_name}.csv"
with open(path, "wb") as f:
f.write(requests.get(f"{BASE}/api/exports/{job['id']}/download", headers=HEADERS).content)
return path
print(export_apollo("https://app.apollo.io/#/people?personTitles[]=head%20of%20sales", 2500, "heads_of_sales"))
Quickstart from the command line
A shell script that takes an Apollo search URL and writes leads.csv. It needs curl and jq.
#!/usr/bin/env bash
# usage: APOLLO_EXPORTER_KEY=ae_live_... ./apollo-export.sh "<apollo search url>" [leads]
set -euo pipefail
BASE=https://api.apolloexporter.com
AUTH="Authorization: Bearer $APOLLO_EXPORTER_KEY"
ID=$(curl -s -X POST "$BASE/api/exports" -H "$AUTH" -H "Content-Type: application/json" \
-d "$(jq -n --arg url "$1" --argjson leads "${2:-2500}" '{url:$url, leads:$leads, fileName:"leads", plan:"email"}')" | jq -r .id)
until [ "$(curl -s "$BASE/api/exports/$ID" -H "$AUTH" | jq -r .complete)" = "true" ]; do sleep 15; done
curl -s -L -o leads.csv "$BASE/api/exports/$ID/download" -H "$AUTH" && echo "wrote leads.csv"
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
url | string | Yes | An app.apollo.io/#/people or #/companies search URL. Company URLs use the company plan automatically. |
leads | integer | Yes | 25 to 12,000. One export returns up to 12,000 leads from one search URL; split larger searches with the free URL tool. |
fileName | string | Yes | Letters, numbers, dashes and underscores, up to 80 characters. Used as the download file name. |
plan | string | No | email (default, $3 per 1,000 emails found, verification not included) or rows (no emails, $1 per 1,000). Ignored for company URLs. |
verify | boolean | No | Check each email with BounceBan before the file is built, 1/3 credit ($0.001) per check, $1 per 1,000. The current-company work email is checked first; an older work email or a personal email only if that fails, and it stops at the first pass. Valid and catch-all are kept; if nothing passes, the email cells are emptied and that row’s email charge is refunded. Unknown results are free. Adds the Email Status column. Off by default. People searches only, with emails on. |
unmask | boolean | No | Coming soon. Last name and LinkedIn unmask enrichment: with plan: rows, adds full last names and LinkedIn URLs at $1.50 per 1,000. Paid accounts only. |
dials | boolean | No | Add direct dials at $0.03 per number returned. Off by default. People searches only. |
emails | boolean | No | Find emails while the export runs (people searches). Off by default. |
phones | boolean | No | Find phone numbers while the export runs, $0.03 per number found (people searches). Off by default. |
perCompany | integer | No | 1 to 10. At most this many people from one company, like Apollo’s max per company on export. A company is matched by Apollo’s company ID, else its LinkedIn URL, else its website. People over the limit are skipped and not billed; filter titles in the search URL to choose who you get. People searches only. |
Export object
Every call that returns an export returns this object.
| Field | Type | Meaning |
|---|---|---|
id | string | Export ID, used in every other call |
status | string | queued, running, paused, done, failed or cancelled. An export stays queued or running until it has every row asked for or the search has no more results: if an Apollo account is signed out, limited or challenged, it continues on another account |
phase | string | Same as status, except finalizing while a done export is still having emails, phone numbers or names filled in |
complete | boolean | true when the export is done and nothing more will change in the file: download then |
kind | string | people or companies, read from the URL |
plan | string | email, rows or company |
dials | boolean | Whether direct dials were requested |
requested | integer | Leads asked for |
extracted | integer | Rows collected so far |
valid | integer | Emails found; with verify: true, emails that passed the BounceBan check |
dialsFound | integer | Direct dials returned |
credits | integer | Balance used so far, in units of $0.0001 |
downloadReady | boolean | true once the CSV can be downloaded |
error | string or null | Why an export failed |
createdAt, startedAt, finishedAt, updatedAt | ISO 8601 | Timestamps |
CSV columns
The download is a UTF-8 CSV with one header row and single-line cells. People exports carry these columns, in the same order as Apollo’s own CSV export (person, email, company size and industry, links, location, company address, then the extra company fields and the Apollo IDs); download the sample file to see real-shaped rows.
| Columns | Example | Notes |
|---|---|---|
Company, Website | Northwind Labs, northwindlabs.example | |
First Name, Last Name, Job Title | Ava, Mitchell, Head of Sales | On plan: rows, the last name is full on most rows and first letter only on the rest |
Email, Waterfall Email, Personal Email | ava.mitchell@northwindlabs.example | Email holds work addresses at the current company (the email domain matches Website), Waterfall Email the other work addresses (past companies), Personal Email free-mailbox ones (Gmail, Outlook, Yahoo, iCloud and the like); several are comma-separated and each address appears once. With verify: true the row keeps the one address that passed, in the column it came from. Exports made before 29 November 2026 have Work Email + Personal Email instead. Empty when no email was found; on the with-emails plan those rows cost $1 per 1,000 |
Email Status | valid | Only with verify: true: valid, catch-all, invalid, unverified or blank |
Personal Phone | Only in exports that asked for phone numbers (direct dials or Find phone numbers) | |
City, State, Country, Location, Time Zone | Austin, Texas, United States, America/Chicago | The person’s location and time zone |
Person Linkedin, Company Linkedin | linkedin.com/in/ava-mitchell-example | On plan: rows, the person URL is on most rows |
Company Number Of Employees, Headcount Growth 6 Months, Headcount Growth 12 Months, Headcount Growth 24 Months | 85, 2.8%, 5%, 4.3% | Company headcount growth over 6, 12 and 24 months |
Industry, Keywords, Company Languages | Computer Software, saas, English | |
Company Facebook, Company Twitter, Company Logo | Where Apollo has them; the logo is an image URL | |
Street Address, Company City, Company State, Postal Code, Company Country | Austin, Texas, United States | Company address |
Company Founded Year, Company Phone | 2016 | |
Headline, Company Description | Head of Sales at Northwind Labs | |
Apollo Contact Id, Apollo Account Id | Stable Apollo IDs, useful for de-duplicating appended lists |
On the rows plan the two email columns are empty unless you asked for emails. Company exports have their own columns, listed on the Apollo company scraper page.
Errors, limits and retries
| Status | When | What to do |
|---|---|---|
400 | Bad URL, leads out of range, missing file name, unknown plan | Fix the field named in the response’s field |
401 | Missing, invalid or revoked key | Create a new key in the dashboard |
402 | Balance too low for the requested size | Lower leads or top up |
404 | Export ID not found on your account | Check the ID |
409 | Deleting an export that is still in progress, or stopping one that already finished | Stop it with POST /cancel first, then delete |
To make POST /api/exports safe to retry, send an Idempotency-Key header (any unique string up to 100 characters). A retry with the same key returns the export the first call created instead of starting a second one.
Errors return JSON with an error message, and code and field where they apply. Poll no faster than every 15 seconds. Retry 429 (too many requests) and network errors with exponential backoff starting at 15 seconds. Do not retry 400, 401 or 402 without changing the request.
Live status instead of polling
GET /api/exports/stream keeps a connection open and pushes Server-Sent Events: a snapshot with your recent exports and balance on connect, then an export event on every status change and a credits event when the balance moves. The server closes the stream every 10 minutes with a reconnect event; reconnect and you receive a fresh snapshot.
const res = await fetch('https://api.apolloexporter.com/api/exports/stream', { headers: { Authorization: `Bearer ${KEY}` } });
const reader = res.body.pipeThrough(new TextDecoderStream()).getReader();
for (;;) {
const { value, done } = await reader.read();
if (done) break; // reconnect here
for (const block of value.split('\n\n')) if (block.includes('event: export')) console.log(block);
}
Why a search-URL API is different from a database API
Most results for this search are API pages for Apify actors. They solve a different problem. The database actors sell rows from a dataset their owners maintain, so freshness depends on when it was last rebuilt, and they cannot return the people your Apollo search shows. Actors that call Apollo’s own API need your Apollo API key and spend your Apollo credits. This API exports the search you built from its URL alone, on our servers, without your Apollo key, login or credits, so the rows match the search on your screen today, and with verify: true BounceBan checks every email before the file exists. Pricing is per 1,000, pay as you go. The Apify alternative page maps the old actor inputs to these calls.
Open source: the Apollo search-URL parser
The URL parser, validator and splitter that power the free URL tool are a single TypeScript module with no dependencies that turns an Apollo search URL into structured filters and splits a large search by headcount band. It is being prepared for publication on GitHub under an MIT licence; the module is identical to what runs in the tool on this site.
import { parseApolloUrl, splitByHeadcount } from 'apollo-search-url';
const search = parseApolloUrl(url); // { kind: 'people', filters: {...}, warnings: [...] }
const urls = splitByHeadcount(search); // 11 URLs, one per headcount band
From an AI agent: the MCP server
The same API is available to AI assistants as an MCP server. Install the Apollo Exporter MCP server in Claude, Cursor, VS Code or any MCP client with your API key, and the agent can count an Apollo search, split it, start exports and read the rows in plain language.
n8n, Make and Clay
- n8n and Make: an HTTP Request node for
POST /api/exports, a Wait node of 15 seconds, thenGET /api/exports/{id}in a loop untilcompleteistrue, then an HTTP node to download. - Clay: use an HTTP API column to start the export and a second column to fetch the download; import the CSV into a new table.
- Google Sheets: Apps Script
UrlFetchAppworks with the same calls.
If the end of the pipeline is a spreadsheet, Apollo to Google Sheets covers the file import and the IMPORTRANGE pattern that survives refreshes. For a CRM, Apollo to HubSpot covers property mapping and deduplication.