Black Friday: 25% off for life on any planEnds December 10

API reference

Search Google Maps. Get the owner's name, email and phone.

The LocalPipe API finds local businesses by category and location, then looks up who owns each one and how to reach them. Two endpoints do most of the work, and both are built to be called by scripts and coding agents.

Base URL

Find 200 plumbers in Austin with a website
curl -X POST \
  https://uunrlffonnvmbsstkpze.supabase.co/functions/v1/maps-search \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "query": "plumber",
    "location": "Austin, TX",
    "limit": 200,
    "filters": {
      "min_reviews": 21,
      "has_website": true
    }
  }'

# 202 Accepted
{ "task_id": "uuid-here", "status": "pending" }

Required file

You need the categories CSV to build a search

query is matched against Google Maps' own category list. Use a category exactly as it is written in this file (4,285 of them) and results are filtered to that category. Give the file to your coding agent with the reference.

How a run works

Three calls take you from a category and a city to owner contacts. The full code is on the quickstart.

  1. 01SearchPOST/maps-searchSend business categories and locations. The API answers 202 with a task_id straight away and runs every keyword and location pair in parallel.Read the reference
  2. 02CollectGET/get-scrape-resultsTake the businesses by webhook, or poll and page through them. Each one has a name, phone, address, rating, review count, website and Place ID.Read the reference
  3. 03EnrichPOST/enrichSend each business for its owner's name, verified email and phone. You are charged for results that are found, not for records you submit.Read the reference

Endpoints

All paths are relative to the base URL. Requests and responses are JSON.

Four things to know before you write code

One header

Every request carries your key in x-api-key. The polling endpoints use a separate public key, given on the polling page.

Authentication

Everything is asynchronous

Search and enrichment return 202 at once. Pass a callback_url to be sent the result, or poll with no time limit.

Polling and webhooks

1,000 requests a minute

A 429 means the call was not accepted. Retry it after 60 seconds or the record is lost. Polling does not count.

Rate limits

Pay on find

Owner email 2 credits, business email 1, owner phone 4. A result that comes back "not found" costs nothing.

Pricing and credits
For AI agents and LLMs

These docs are written to be read by machines too

Every page has a Markdown twin at the same address with .md added. To build with Claude Code, Codex or Cursor, hand the agent the two files below and the prompt on Build with AI agents.

NewA ready-made SKILL.md for Claude and other agents is in the LocalPipe app, on the API Access page. Add it to Claude Code or the Claude apps and ask for a lead list in plain words. See how to install and use the SKILL.md.

Reference updated . Building a workflow does not need a live test: every endpoint here is documented and live.