# 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-13).

Search for local businesses by keyword and geographic location, returning business listings with optional contact extraction

## Facts

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

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-c34b3904
```

Example prompt: Find me up to 20 pizza restaurants near latitude 37.359428, longitude -121.925337 in the US that are currently open, and include their contact emails if available.

## When to prefer this

Use this endpoint when you need to search for local businesses by keyword near a specific GPS coordinate, especially when you also need filtering by business type, status, or verified status, and optionally want to extract contact emails. Prefer this over generic web search when structured business listing data is needed.

## Known failure modes

- Missing required 'query' parameter returns an error
- Invalid or out-of-range lat/lng values may return no results
- No businesses found matching query in area returns empty list
- Payment not provided or insufficient returns 402 error
- Invalid region or language code may cause unexpected filtering

## 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 query and location, potentially including business name, address, status, category/subtype, and optionally extracted emails and contact information.

## 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-c34b3904/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)
