Getting started / lead generation for agents
Find local business leads with one call
Give a niche and a place. Get up to 10 local businesses from public pages: its site, a public business email or phone, size signals, what public search results say about it, a fit score and a one-line pitch angle. $0.20 a call, about 2 cents a lead.
1. Call it
curl -s -X POST https://aipaygen.com/v1/find_leads -H "Authorization: Bearer YOUR_KEY" -H 'content-type: application/json' \
-d '{"niche": "dentist", "location": "Austin TX", "count": 5, "ideal_customer": "family-run practices that book by phone"}'
Each lead in data.leads[]: name, site, contact (email, phone, the page it came from), size_signals, public_reviews (rating hint and sources), complaints (public snippets), fit_score (0 to 100) with fit_reasons, and pitch_angle. Leads come sorted by fit. For the next 10, send page 2, 3 and so on.
2. Say who you want
ideal_customer is plain words about who you want and what you sell. Words that appear on a business's own site raise its fit score, and the answer says which words matched. Without it the score uses contact, reviews and complaints only.
From code
// Node 20+, no packages
const r = await fetch("https://aipaygen.com/v1/find_leads", {
method: "POST",
headers: { "content-type": "application/json", authorization: "Bearer " + process.env.AIPAYGEN_KEY },
body: JSON.stringify({ niche: "roofing contractor", location: "Denver CO", count: 10 }),
});
const { data } = await r.json();
for (const l of data.leads) console.log(l.fit_score, l.name, l.contact.email ?? l.contact.phone, l.pitch_angle);What it reads, and what it does not
Only a business's public pages and public search results. It reads robots.txt first: a site that disallows us is listed with no contact. Emails are the business's own domain or a generic mailbox such as info@. No personal social accounts, no home addresses, no private people. Verify before you contact anyone; the rules on cold email and calls (CAN-SPAM, GDPR, TCPA) are yours to follow.
A call that finds fewer than half the leads you asked for fails and is not charged. Pay with a free key (trial credit covers a first call) or per call with x402. Same tool over MCP: find_leads at https://mcp.aipaygen.com/mcp. All tools and prices: docs.