Automate weekly lead lists

Fresh leads every Monday, straight into your sequencer — with a small script and the Prospect Cheap API.

Updated Oct 23, 2026 · 1 min read

The idea

New businesses open, ratings change, startups launch. A weekly job that pulls a fresh list keeps your pipeline full without anyone clicking anything.

The loop

  1. Start a search (POST /api/{source}/lists).
  2. Wait until it's completed (GET /api/{source}/lists/{id}).
  3. Export in the format your tool imports (POST …/export with "format": "instantly") — or read the JSON and push it yourself.

A minimal Node script

const KEY = process.env.PROSPECT_CHEAP_KEY
const api = (path, init = {}) => fetch('https://prospectcheap.com/api' + path, {
  ...init, headers: { Authorization: 'Bearer ' + KEY, 'Content-Type': 'application/json', ...init.headers },
})

const start = await api('/trustpilot/lists', { method: 'POST', body: JSON.stringify({
  categories: ['roofing_contractor'], filters: { country: 'US', minTrustScore: '4' }, maxPerSource: 100,
}) }).then(r => r.json())

let res
do {
  await new Promise(r => setTimeout(r, 20000))
  res = await api('/trustpilot/lists/' + start.list.id + '?per=100').then(r => r.json())
} while (['running', 'importing'].includes(res.list.status))

const csv = await api('/trustpilot/lists/' + start.list.id + '/export', {
  method: 'POST', body: JSON.stringify({ format: 'instantly' }),
}).then(r => r.text())
await require('fs').promises.writeFile('roofers.csv', csv)

Run it on a schedule — GitHub Actions, a cron job or any automation tool that can run code.

Avoid repeats

Rotate cities or categories each week, or keep a list of domains you've already contacted and skip them before sending. Instantly and Smartlead can also skip leads already in your workspace.

Watch your credits

Each run costs one credit per lead found. GET /api/credits tells you the balance before you start — stop the job if it's low.

Reference: API docs.

Frequently asked questions

Use the API with any scheduler (GitHub Actions, cron, automation tools) to run searches on a schedule.

Build your next lead list in minutes

Scrape Google Maps, Yelp, Trustpilot, YouTube, Facebook Ads, Product Hunt, TrustMRR and Skool — with emails, owners and socials. Start with free credits.

More from Blog

See all