with one click
linkedin-miner
// Mine LinkedIn posts for engaged prospects using Fresh LinkedIn Data API (RapidAPI). Scrapes posts by keyword/influencer and extracts engagers (commenters + reactors) with profile data.
// Mine LinkedIn posts for engaged prospects using Fresh LinkedIn Data API (RapidAPI). Scrapes posts by keyword/influencer and extracts engagers (commenters + reactors) with profile data.
Generate comprehensive research briefs before sales calls. Pulls company info, recent news, prospect background, and suggests talking points.
Scan A-tier leads for buying signals using Perplexity deep research. Checks for funding, hiring, press, and growth indicators to prioritize the hottest prospects.
Verify email addresses before sending to protect deliverability. Uses Hunter.io verification API. Filters out invalid, disposable, and risky emails.
Score leads against your Ideal Customer Profile. Analyzes title, company, industry fit and assigns A/B/C/D tiers for prioritization.
Load leads and email sequences into Instantly.ai campaigns. Handles lead upload, custom variables, and campaign management.
Enrich leads with full LinkedIn profile data (RapidAPI) and verified work emails (Hunter.io + Apollo). Two-stage enrichment for maximum data capture.
| name | linkedin-miner |
| description | Mine LinkedIn posts for engaged prospects using Fresh LinkedIn Data API (RapidAPI). Scrapes posts by keyword/influencer and extracts engagers (commenters + reactors) with profile data. |
Mine LinkedIn engagement to find warm prospects. People who engage with niche content are already interested in the topic — they're warm leads.
Uses Matt's existing RapidAPI subscription — no additional costs.
Endpoints Used:
| Endpoint | Purpose | Credits |
|---|---|---|
| POST /search-posts | Find posts by keyword | 2/call |
| GET /get-profile-posts | Get influencer's posts | 2/call |
| GET /get-post-comments | Extract commenters | (included) |
| GET /get-post-reactions | Extract reactors | (included) |
# Search by keyword
./scripts/mine.sh "AI marketing automation" 10
# Scrape influencer's posts (use LinkedIn URN)
./scripts/mine.sh --influencer "ACoAABOPHB8BM6..." 5
# Output to file
./scripts/mine.sh "SaaS growth" 20 > leads.json
| Argument | Description | Default |
|---|---|---|
<query> | Search keyword/topic | Required |
--influencer | LinkedIn URN to scrape posts from | None |
<max_posts> | Max posts to process | 10 |
export RAPIDAPI_KEY="YOUR_RAPIDAPI_KEY_HERE"
curl (for API calls)jq (for JSON parsing){
"meta": {
"query": "AI marketing automation",
"posts_processed": 10,
"total_engagers": 156,
"commenters": 32,
"reactors": 124,
"scraped_at": "2026-02-14T15:00:00Z"
},
"leads": [
{
"name": "Jane Doe",
"headline": "VP Marketing at Acme Corp",
"linkedin_url": "https://linkedin.com/in/janedoe",
"linkedin_urn": "ACoAABOPHB8BM6...",
"engagement_type": "comment",
"engagement_text": "Great insights on automation!",
"post_url": "https://linkedin.com/feed/update/...",
"intent_score": 8
}
]
}
| Score | Engagement Type |
|---|---|
| 10 | Detailed comment with question |
| 8 | Comment with insight/agreement |
| 6 | Simple comment ("Great post!") |
| 4 | Reaction (like, celebrate, etc.) |
linkedin-miner → lead-enricher → email-verifier → icp-scorer → outreach-writer → instantly-loader
| Action | Credits |
|---|---|
| Search 10 posts | 2 |
| Get comments (per post) | ~0 (bundled) |
| Get reactions (per post) | ~0 (bundled) |
| Total for 10 posts | ~2-4 credits |
# Morning routine: Mine fresh engagers
./scripts/mine.sh "AI for agencies" 20 > today_leads.json
# Mine from competitor's audience
./scripts/mine.sh --influencer "ACoAAcompetitor123" 10 > competitor_leads.json