# OpenWebNinja Yelp Business Details

> OpenWebNinja Yelp Business Details is a paid API for AI agents from openwebninja-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Fetches a Yelp business profile by its unique business ID, returning detailed information about that listing.

## Facts

- Endpoint: GET https://openwebninja-x402.vercel.app/api/yelp/business-details
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openwebninja-yelp-business-details-9bd36d4a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FpK8T5YRjHMZ65ErZVTtk

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-yelp-business-details-9bd36d4a
```

Example prompt: Can you pull up the full Yelp profile for the business with ID 'gary-danko-san-francisco' — I want to see their address, phone number, hours, and rating?

## When to prefer this

Use this endpoint when you already have a Yelp business ID and need to retrieve structured profile details (hours, address, ratings) without scraping Yelp directly. Prefer this over a search endpoint when the exact business is already known.

## Known failure modes

- Invalid or non-existent business_id returns an error or empty result
- Yelp rate limiting or changes to the underlying scraping target may cause failures
- Missing required business_id parameter causes a validation error
- Yelp domain mismatch (e.g. wrong locale) may return no results
- Payment failure via x402 protocol prevents the request from completing

## How this service works

Fetch Yelp business profile details by business ID.

## Output

Returns a structured Yelp business profile for the given business ID, including the business name, address, phone, hours of operation, star rating, review count, categories, and photos.

## 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",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "business_id"
     ],
     "properties": {
      "business_id": {
       "type": "string",
       "minLength": 1
      },
      "yelp_domain": {
       "type": "string",
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openwebninja-yelp-business-details-9bd36d4a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openwebninja-x402.vercel.app](https://www.zero.xyz/host/openwebninja-x402.vercel.app/llms.txt)
