# LocalPipe API documentation

> LocalPipe's HTTP API searches Google Maps for local businesses and enriches each one with the owner or decision-maker's name, verified email and phone. Every page below has a Markdown twin at the same address with `.md` added.

- Full reference in one file: https://www.localpipe.io/localpipe-api-docs.md
- Business categories CSV (4,285 Google Maps categories, required to choose exact search categories): https://www.localpipe.io/localpipe-business-categories.csv
- Last updated: 2026-11-28

## Get started

- [Quickstart: search Google Maps, then enrich the results](https://www.localpipe.io/docs/quickstart.md): A complete LocalPipe API example: start a Google Maps search, poll for the results, then enrich each business with its owner's name and email.
- [Authentication](https://www.localpipe.io/docs/authentication.md): How to authenticate LocalPipe API requests with the x-api-key header, with a working curl example.
- [API pricing: credits and usage billing](https://www.localpipe.io/docs/pricing.md): What each LocalPipe API result costs: credits per found owner email, business email and phone on credit plans, and dollar rates on usage billing.
- [Build a LocalPipe workflow with an AI coding agent](https://www.localpipe.io/docs/ai-agents.md): The prompt and rules for building on the LocalPipe API with Claude Code, Codex, Cursor or Devin: build first, run later, and poll from a detached script.
- [LocalPipe SKILL.md: use LocalPipe from Claude and other AI agents](https://www.localpipe.io/docs/skill.md): LocalPipe has a ready-made SKILL.md. Download it from the API Access page in the app, add it to Claude Code, the Claude apps or another agent, and ask for a lead list in plain words.

## Enrichment

- [POST /enrich: find a business owner's name, email and phone](https://www.localpipe.io/docs/enrich.md): POST /enrich takes a business name and returns the owner or decision-maker's name, verified email and phone. Request fields, response fields and the webhook payload.
- [POST /cancel-enrich-job: cancel enrichment jobs](https://www.localpipe.io/docs/cancel-enrich-job.md): Cancel one or up to 500 pending or in-flight LocalPipe enrichment jobs. Records already enriched are kept.

## Google Maps search

- [POST /maps-search: search Google Maps for businesses](https://www.localpipe.io/docs/maps-search.md): POST /maps-search finds businesses on Google Maps by category and location. Batch up to 1,000 keywords and 100 locations per call, with rating, review and website filters.
- [GET /get-scrape-results: retrieve Google Maps search results](https://www.localpipe.io/docs/maps-search-results.md): Retrieve LocalPipe Google Maps search results by webhook or by polling with pagination, including the per-keyword and per-location breakdown and every business field.
- [POST /cancel-scrape-job: cancel Google Maps searches](https://www.localpipe.io/docs/cancel-scrape-job.md): Cancel one or up to 500 running LocalPipe Google Maps search jobs. Leads already found are kept and stay retrievable.
- [Location formats the search API accepts](https://www.localpipe.io/docs/location-resolution.md): The location formats /maps-search accepts: city and state, city and country, a state or country, US ZIP codes and UK postcodes, and how each one is resolved.

## Lists and account

- [Business lists: list, merge, edit, enrich and clean saved lists](https://www.localpipe.io/docs/business-lists.md): List your saved Business Lists and act on them through /business-list-api: merge, move, edit and remove companies, enrich a list, clear chains and scrape reviews.
- [GET /get-usage: account type, credits and exports remaining](https://www.localpipe.io/docs/get-usage.md): GET /get-usage returns your LocalPipe account type, remaining credits and remaining Google Maps exports, or your balance on usage billing.
- [POST /scrape-reviews-api: get Google reviews by Place ID](https://www.localpipe.io/docs/reviews.md): POST /scrape-reviews-api returns Google Maps reviews for up to 10 Place IDs per call, with rating filters. The call is synchronous.
- [POST /location-enrich-api: count a business's locations](https://www.localpipe.io/docs/location-count.md): POST /location-enrich-api finds how many physical locations a business operates, from its website and a search fallback. Up to 10,000 businesses per call.

## Guides and reference

- [Polling and webhooks: how to get results back](https://www.localpipe.io/docs/polling.md): The three LocalPipe polling endpoints, the key they use, and why a polling loop must have no time limit. Use callback_url when your tool has a hard timeout.
- [Rate limits and how to retry a 429](https://www.localpipe.io/docs/rate-limits.md): The LocalPipe API accepts 1,000 requests per rolling minute. What a 429 looks like, why you must retry it, and a throttling pattern to copy.
- [Error responses and troubleshooting](https://www.localpipe.io/docs/errors.md): Every LocalPipe API status code and error string, which ones to retry, and a checklist for when submissions suddenly stop.
- [Use the LocalPipe API in Clay](https://www.localpipe.io/docs/clay.md): Call the LocalPipe search and enrichment endpoints from a Clay HTTP Request action, with a webhook source for results and the row ID passthrough.
- [Best practices and common questions](https://www.localpipe.io/docs/best-practices.md): How to batch keywords and locations, size the limit, and read the per-pair breakdown when a LocalPipe search returns zero results for a city or keyword.
- [How the API processes requests](https://www.localpipe.io/docs/infrastructure.md): LocalPipe queues every enrichment request and returns 202 at once. How the queue, webhook delivery and request logging work.
