Find and engage potential leads on X (Twitter) by searching for keywords and buying-intent posts via Brave Search.
Find potential leads on X by searching for keyword mentions and buying-intent posts. Uses the Brave Search API to query site:x.com — no X API credentials required.
Run with Node.js: node {baseDir}/x-prospecting.js <command> [args]
node {baseDir}/x-prospecting.js search "looking for AI tools"
node {baseDir}/x-prospecting.js score --handle "@username" --bio "founder at SaaS" --tweet "frustrated with my current tool"
node {baseDir}/x-prospecting.js dm-sequence --handle "@username" --name "Jane"
curl -s -H "Accept: application/json" \
-H "X-Subscription-Token: $BRAVE_API_KEY" \
"https://api.search.brave.com/res/v1/web/search?q=site:x.com+%22looking+for+AI+tools%22&count=10"
Substitute the query with your target keywords. Parse results to extract handles and tweet text, then run through lead scoring.
BRAVE_API_KEY - Brave Search API key (free tier: 2,000 queries/month)