Social Intel API + Python
Search Instagram influencers and get business emails using Python. Full setup guide with code examples.
Quick Setup
- Install httpx:
pip install httpx - Install x402 SDK:
pip install x402-python - Make your first search request to
https://socialintel.dev/v1/search - The x402 SDK handles payment automatically when you have USDC in your wallet
Code Example
import httpx
response = httpx.get(
"https://socialintel.dev/v1/search",
params={
"query": "fitness",
"country": "United States",
"limit": 20,
},
)
# First call returns 402 with payment details
if response.status_code == 402:
payment_info = response.json()
print(f"Price: {payment_info['price']}")
print(f"Pay with: pip install x402-python")
# After payment, results are returned as JSON
for profile in response.json().get("results", []):
print(f"{profile['username']} - {profile.get('public_email', 'N/A')}")
What You Get Back
Each search returns up to 100 Instagram profiles with:
- Username — Instagram handle
- Full name — display name
- Followers — follower count
- Category — niche (fitness, beauty, travel, etc.)
- Public email — business email from bio (when available)
- Verified — blue checkmark status
Pricing
$0.10 per search (20 results). Up to 100 results for $0.26. Paid in USDC via x402 protocol — no API keys, no subscription.
Also Available via MCP
Social Intel also offers an MCP (Model Context Protocol) server for AI agent integration:
npx -y social-intel-mcp
The MCP server exposes a search_leads tool that AI agents (Claude, Cursor, etc.) can call directly.