# Restaurant Booking Gap & Lead Finder

> Restaurant Booking Gap & Lead Finder is a paid API for AI agents from api.timzinin.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Identifies time-slot gaps in restaurant booking availability and surfaces lead opportunities for reservation-related services

## Facts

- Endpoint: POST https://api.timzinin.com/api/restaurant-booking-gap-lead-finder?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/restaurant-booking-gap-lead-finder-f1b8aa6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ERFBMsdYj2ytWONJ4M3AN

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 restaurant-booking-gap-lead-finder-f1b8aa6d -d '<json body>'
```

Example prompt: Find me restaurants in downtown San Francisco that have open booking gaps or unfilled reservation slots this Saturday evening — I want to surface leads for tables that are still available.

## When to prefer this

Choose this endpoint when you need to programmatically discover open reservation slots or booking lead opportunities across restaurants in a given area or date range, especially in a pay-per-call M2M context where you only pay for actual queries. Best suited for agents building reservation tools, hospitality lead generation pipelines, or last-minute availability finders. Prefer over scraping or manual search when you need structured, settled results with clear item counts and truncation signals.

## Known failure modes

- status 'not_found' with empty results array when no booking gaps exist for the query parameters
- outputTruncated flag set to true if result set exceeds limit, with omittedResultCount showing how many were dropped
- Payment settlement failure if x402 micropayment is not completed before request
- Malformed or missing required POST body parameters returning error response
- Timeout if restaurant data sources are slow, reflected in elevated run_ms

## How this service works

Pay-per-call data & tool APIs

## Output

Returns a JSON object with metadata including run time in milliseconds, settlement status, and item count, plus a results array. Each result contains a status field (e.g. 'not_found'), a results array of matched restaurant booking gap leads, schema version, output truncation flags, and counts of returned vs omitted results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "requestId": {
   "type": "string",
   "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
  },
  "maxResults": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1
  },
  "detailLevel": {
   "enum": [
    "compact",
    "evidence"
   ],
   "type": "string"
  },
  "minGapScore": {
   "type": "integer",
   "maximum": 100,
   "minimum": 0
  },
  "restaurants": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "recordId",
     "name",
     "websiteUrl"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "address": {
      "type": [
       "string",
       "null"
      ]
     },
     "recordId": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
     },
     "websiteUrl": {
      "type": "string",
      "pattern": "^(?:http://(?:[A-Za-z0-9.-]+(?::80)?|\\[[0-9A-Fa-f:]+\\](?::80)?)(?:[/?][^#\\s]*)?|https://(?:[A-Za-z0-9.-]+(?::443)?|\\[[0-9A-Fa-f:]+\\](?::443)?)(?:[/?][^#\\s]*)?)$"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 100,
   "minItems": 1
  },
  "schemaVersion": {
   "enum": [
    "1.0"
   ],
   "type": "string"
  },
  "freshnessMinutes": {
   "type": "integer",
   "maximum": 1440,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "run_ms": 1200,
   "settled": true,
   "item_count": 1
  },
  "results": [
   {
    "status": "not_found",
    "results": [],
    "schemaVersion": "1.0",
    "outputTruncated": false,
    "outputResultCount": 0,
    "omittedResultCount": 0
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/restaurant-booking-gap-lead-finder-f1b8aa6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.timzinin.com](https://www.zero.xyz/host/api.timzinin.com/llms.txt)
