Integration Guide
Query the Lead Database API with Webhooks by Zapier and route leads to Google Sheets, HubSpot, Salesforce, Slack, or any of 6,000+ connected apps.
Zapier works best for event-driven lead queries: a form submission triggers a search, a new CRM record triggers an enrichment, or a scheduled Zap pulls fresh leads daily and pushes them to a spreadsheet.
Each Webhooks step makes a single API call (up to 100 leads). If you need to paginate through thousands of results in one run, n8n or Claude Code are better tools for that job. Zapier is ideal when you want to connect the Lead Database to apps that n8n and Claude Code cannot reach natively.
Choose your trigger. Common options: Schedule by Zapier (run daily or weekly), a form submission from Typeform or Google Forms, or a new row in Google Sheets.
Search for “Webhooks by Zapier” and select the “Custom Request” event. This gives you full control over the HTTP request.
GEThttps://app.scrapercity.com/api/v1/database/leads?title=CTO&country=United%20States&hasEmail=true&limit=100Build the full URL with query parameters inline. URL-encode spaces as %20. You can reference data from previous Zap steps to make queries dynamic.
In the Headers section, add a single entry:
AuthorizationBearer YOUR_API_KEYDo not wrap the value in quotes. Zapier sends it as-is. Replace YOUR_API_KEY with your ScraperCity API key.
Click “Test step.” You should see a JSON response with a data array containing lead records and a pagination object showing total results.
Add another action step to send the data where you need it:
You can build the URL dynamically using data from previous Zap steps. For example, if your trigger is a Google Sheets row with a “Company Domain” column:
https://app.scrapercity.com/api/v1/database/leads?companyDomain={{Company Domain}}&hasEmail=true&limit=5This turns your spreadsheet of target companies into an enrichment pipeline. Each new row triggers a search for contacts at that company.