# OpenWebNinja Local Business Search

> OpenWebNinja Local Business Search is a paid API for AI agents from x402.openwebninja.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Searches for local businesses by keyword query near a geographic coordinate, returning business listings with optional contact extraction

## Facts

- Endpoint: GET https://x402.openwebninja.com/local-business-data/search
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openwebninja-local-business-search-f7f3ac8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cijvRdeeTHI07JJ4sPd-v

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability openwebninja-local-business-search-f7f3ac8d
```

Example prompt: Find me up to 20 coffee shops near coordinates 37.359428, -121.925337 in the US — include subtypes and extract any available emails and contact info.

## When to prefer this

Use this endpoint when you need to discover local businesses by keyword near a specific geographic coordinate, especially when contact extraction (emails, phone) is needed. Prefer over general web search when structured business directory data with location context is required. Well-suited for use cases like lead generation, local market research, or building business directories around a lat/lng point.

## Known failure modes

- Missing required 'query' parameter returns validation error
- Invalid or out-of-range lat/lng returns no results or error
- Payment not provided or insufficient USDC balance returns 402
- Unsupported region or language code may return empty results
- Rate limiting or quota exceeded returns error response
- Network timeout for areas with dense business data

## How this service works

40+ public web-data, SERP, e-commerce, real-estate, finance and AI-search APIs, payable per call over x402 (USDC on Base, Polygon, Arbitrum). No account or API key required. Most endpoints $0.003; AI-model endpoints $0.005.

## Output

A list of local business records matching the search query near the given coordinates, potentially including business name, address, location, status, subtypes, and optionally extracted emails and contact details, up to the requested limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "default": 37.359428
      },
      "lng": {
       "type": "string",
       "default": -121.925337
      },
      "zoom": {
       "type": "string",
       "default": 13
      },
      "limit": {
       "type": "integer",
       "default": 20
      },
      "query": {
       "type": "string"
      },
      "fields": {
       "type": "string"
      },
      "region": {
       "type": "string",
       "default": "us"
      },
      "language": {
       "type": "string",
       "default": "en"
      },
      "subtypes": {
       "type": "string"
      },
      "verified": {
       "type": "boolean"
      },
      "business_status": {
       "type": "string"
      },
      "extract_emails_and_contacts": {
       "type": "boolean",
       "default": false
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openwebninja-local-business-search-f7f3ac8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.openwebninja.com](https://www.zero.xyz/host/x402.openwebninja.com/llms.txt)
