Local business data for your code and AI agents

Use a JSON API or an MCP server to search US local businesses, read their signals and sources, and manage lists. Every call follows the same credit limits as the dashboard.

OpenAPI 3.1 contract, scoped workspace keys, and a streamable HTTP MCP endpoint.

DashboardAPIMCP
Start a bounded searchPOST
curl https://app.localbusinessdata.com/api/v1/searches \
  -H "Authorization: Bearer $LBD_API_TOKEN" \
  -H "Idempotency-Key: tampa-dentists-01" \
  -H "Content-Type: application/json" \
  -d '{
    "category_id": "dentists",
    "location_id": "tampa_fl",
    "record_limit": 25,
    "max_credits": 25
  }'
GET /searches/:id/results200 OK
{
  "name": "Juniper Family Dental",
  "rating": 3.8,
  "review_count": 21,
  "opportunity": {
    "matching_count": 2,
    "few_reviews": "match",
    "low_rating": "match"
  },
  "evidence": {
    "provider": "maps",
    "fetched_at": "2026-10-28T14:02:11Z"
  }
}
Simplified example with a fictional business.

Three ways into the same workspace

Start a search in the dashboard and finish it from your agent. Records, credits, and permissions are shared across all three.

Dashboard

Search, review the evidence, and build lists in a focused workspace with your balance always in view.

New search → Dentists, Tampa, FL

REST API

A documented JSON API with scoped keys, idempotent writes, and cursor pagination.

POST /api/v1/searches

MCP server

A small set of tools your agent can call to estimate, search, read, and save within your limits.

“Find dentists in Tampa…”

Six tools, scoped to your workspace

Give your agent what it needs to research a market and nothing more. Every call uses the same credits and permissions as the dashboard.

tools/list6 tools
  • estimate_search

    Check the most a search can cost before it runs.

    Free
  • search_businesses

    Start a bounded search with a hard credit cap.

    Uses credits
  • get_search

    Follow progress and page through results with signals.

    Free
  • get_business

    Read one business with its sources and retrieval dates.

    Free
  • save_list

    Save the businesses worth keeping to a named list.

    Free
  • get_usage

    Check the balance, holds, and recent credit use.

    Free
mcp.json
{
  "mcpServers": {
    "local-business-data": {
      "url": "https://app.localbusinessdata.com/mcp",
      "headers": {
        "Authorization": "Bearer $LBD_API_TOKEN"
      }
    }
  }
}
  • Listing text is data. Business names and descriptions are marked untrusted, never treated as instructions.
  • Nothing else is exposed. No shell, no arbitrary URLs, and no raw database queries.
  • Every call is checked. Each tool verifies the key’s scopes and the workspace’s limits.

A small REST API for the whole workflow

Seventeen operations take you from estimate to export. Every response has the same shape, a request ID, and the evidence behind the data.

  • The same results as the dashboard. One set of workspace services powers the API, the MCP server, and the app.
  • Filter by signal, sort by fit. Ask only for businesses that match a signal, ordered by how many they match.
  • Honest search states. Searches move from queued to running to completed, partial, or failed, and partial results say so.
/api/v117 operations

Searches

  • POST/search-estimatesMaximum credits for a search
  • POST/searchesStart a bounded search
  • GET/searches/{id}/resultsResults with signals

Businesses

  • GET/businesses/{id}One record with its evidence

Lists and exports

  • POST/lists/{id}/itemsSave businesses to a list
  • POST/exportsSnapshot a list as CSV

Usage

  • GET/usageBalance, holds, and history

Built to be automated safely

Retries, limits, permissions, and errors behave the same way every time, so scripts and agents don’t have to guess.

Idempotent writes

Send the same Idempotency-Key and get the same search back, even across the API, MCP, and dashboard.

Idempotency-Key: tampa-dentists-01
Hard spending caps

Credits are held when a search starts, settled on delivery, and released if unused.

"max_credits": 25
Scoped, revocable keys

Keys belong to one workspace, carry only the scopes you choose, and stop working the moment you revoke them.

searches:read searches:write
Cursor pagination

Signed cursors keep your place, up to 100 results per page, with filters and order preserved.

"next_cursor": "eyJ2IjoxLC…"
Errors with next steps

Stable codes, a retryable flag, and a request ID on every failure. Rate limits include Retry-After.

"code": "insufficient_allowance"
Unknown is a value

Each field reports whether it is known or unknown, next to its source and retrieval time.

"website": "unknown"

Developer questions

Is there an OpenAPI specification?

Yes. The full contract is published as OpenAPI 3.1, with request and response schemas, the scopes each operation needs, and the shared error vocabulary.

Which MCP clients can connect?

The server speaks streamable HTTP and authenticates with a workspace API key, so MCP clients that support custom headers should be able to connect. We’ll publish tested guides for each client we verify, with OAuth-based hosted clients to follow.

How do rate limits work?

Reads share a per-key budget of 60 requests a minute, and search creation is limited per workspace. When you hit a limit you get a 429 with a Retry-After header.

What does an API call cost?

Estimates, reads, lists, and exports are free. Only searches use credits: one per usable business delivered, never more than the max_credits you send.

Do you support webhooks?

Searches are asynchronous: start one, then poll its status until it completes. Webhooks are on the roadmap.

Can listing text manipulate my agent?

Business names and descriptions come back marked as untrusted data, and the tools exclude shell commands, arbitrary URLs, and raw queries.

Founding access for developers

The first 100 people on the waitlist get 30% off for as long as they stay subscribed, plus early API keys, MCP setup guides, and a say in which tools we add next.

Join the waitlist

Become a founding member

The first 100 people on the waitlist become founding members and get:

  • 30% off for as long as you stay subscribed
  • Early access before the public launch
  • A direct line to shape the roadmap
  • Bonus credits when you start

We only email you about early access and your founding offer.