Integration Guide
Pull leads from the Lead Database, then push them straight into Instantly campaigns with a single POST request. Leads start receiving sequences within minutes.
ScraperCity API
GET leads
Your Script
Transform fields
Instantly V2 API
POST leads to campaign
You query the ScraperCity Lead Database for contacts matching your ICP, then POST those contacts to an Instantly campaign. Instantly picks them up and starts sending your sequence. No CSV exports, no manual uploads.
From app.scrapercity.com/dashboard/api-docs. Requires the $649/mo plan.
From your Instantly workspace: Settings > Integrations > API. Create a key with the leads:create scope.
Open your campaign in Instantly, copy the ID from the URL or use the GET /api/v2/campaigns endpoint.
curl, Python, Node.js, n8n, or any tool that can make HTTP requests.
curl -s "https://app.scrapercity.com/api/v1/database/leads?title=CTO&country=United%20States&hasEmail=true&limit=100" \
-H "Authorization: Bearer $SCRAPERCITY_API_KEY"Returns up to 100 leads with email, name, title, company, and LinkedIn. Paginate with &page=2, &page=3, etc.
For each lead, POST to the Instantly V2 leads endpoint. You can send them one at a time or in batches:
curl -X POST "https://api.instantly.ai/api/v2/leads" \
-H "Authorization: Bearer $INSTANTLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"campaign": "YOUR_CAMPAIGN_ID",
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith",
"company_name": "TechCorp",
"website": "techcorp.com",
"custom_variables": {
"title": "CTO",
"linkedin": "https://linkedin.com/in/johnsmith"
}
}'Map ScraperCity response fields to Instantly lead fields:
email→emailfirst_name→first_namelast_name→last_namecompany_name→company_namecompany_domain→websitemobile_number→phonetitle→custom_variables.titlelinkedin_url→custom_variables.linkedincompany_industry→custom_variables.industrycity + state→custom_variables.locationAny field you put in custom_variables is available as a merge tag in your Instantly sequences. Use {{title}} or {{industry}} in your email copy.
Write a script that pulls from ScraperCity, transforms the data, and POSTs to Instantly. Run it daily or weekly. This is the simplest approach for recurring campaigns.
Use the HTTP Request node to pull from ScraperCity (with pagination), then a second HTTP Request node to POST each lead to Instantly. Schedule the workflow to run on any interval.
Tell Claude Code: "Pull 500 CTOs from ScraperCity and load them into my Instantly campaign [ID]. Map title and company to custom variables." It will write and run the script for you.