Run LocalICP from your code and AI agents.
Create a campaign with one request. Get leads back through the API, MCP or a signed webhook.
# create a campaign
POST /api/v1/campaigns
Authorization: Bearer gmk_…
{
"prompt": "25 HVAC contractors in Phoenix",
"target_count": 25
}
Build on LocalICP.
The same campaigns and credits, started from your code, your AI client or your server.
From estimate to export
Send your gmk_ API key as a bearer token; create one in Settings → Developers. The base URL and every route are in the docs.
Drafts and estimates are free. Running a campaign spends credits.
Weighing Google’s Places API instead? What it costs per business.
Read the API docs/campaigns/estimate/campaigns/campaigns/{id}/run/campaigns/{id}/results/campaigns/{id}/exportGoogle Maps MCP server
Your AI client can plan and run Google Maps campaigns and bulk runs, then search the leads and their reviews. It quotes the cost first and asks before it spends.
Connect a compatible MCP client to the server URL and authenticate with a LocalICP API key or OAuth.
Setup steps are available for Claude Code, Codex CLI and Gemini CLI.
See client setuphttps://mcp.localicp.com/mcpKnow when a run finishes
Receive completion and failure events for campaigns and bulk runs, plus enrichment completion. Verify each request with the HMAC signature and raw body.
Failed deliveries retry up to 8 times. Use the event ID to deduplicate deliveries.
See events and verificationX-LocalICP-Signature-V1: t=…,v1=…API access starts on Growth.
Campaigns and exports in the app
10 a workspace. REST API, MCP server and webhooks
25 a workspace. Everything in Growth, for more clients
Agents read the rules from /agents.md: get an estimate, then wait for a clear yes before spending credits.