# AgentRes Restaurant Search

> AgentRes Restaurant Search is a free API for AI agents from agentres.dev, callable via x402, Free, status unknown (last checked 2026-09-14, last successful call 2026-07-28).

Search the AgentRes restaurant database by name and return matching results with ratings, cuisine types, and neighborhood info.

## Facts

- Endpoint: GET https://agentres.dev/api/search
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-07-28
- Success rate: 90% of calls made through Zero
- Rating: 4.7 / 5 from 5 reviews
- Activations on Zero: 106
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentres-restaurant-search-d510871c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bzhezr3xzmAZ85wPJttfm

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 agentres-restaurant-search-d510871c
```

Example prompt: Search AgentRes for 'Carbone' — I want to see its rating, cuisine type, neighborhood, and venue ID before I try to book a table.

## When to prefer this

Use this endpoint when you need to look up a restaurant by name on AgentRes before booking — especially to retrieve the venue_id or confirm cuisine/neighborhood details needed for a subsequent reservation call. Prefer this over general web search when you need structured AgentRes-specific venue data like venue_id.

## Known failure modes

- No results returned if the restaurant name is misspelled or not listed on AgentRes
- Empty results array if the query matches no known venues
- Missing or null rating field if the restaurant has no ratings data
- HTTP 402 if payment is required (x402 protocol)
- HTTP 400 if the required query parameter is missing

## How this service works

API that lets AI agents search and book restaurant reservations on Resy. Pay $0.01 USDC per booking with a crypto wallet.

## Output

Returns an array of matching restaurant objects, each containing the restaurant name, venue_id (integer), rating (number or null), cuisine (array of strings), and neighborhood (string). Multiple results may be returned if several venues match the query.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Restaurant name to search for"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": "string"
         },
         "rating": {
          "type": "number",
          "nullable": true
         },
         "cuisine": {
          "type": "array",
          "items": {
           "type": "string"
          }
         },
         "venue_id": {
          "type": "integer"
         },
         "neighborhood": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "name": "Carbone",
    "rating": 4.7,
    "cuisine": [
     "Italian"
    ],
    "venue_id": 6194,
    "neighborhood": "Greenwich Village"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentres-restaurant-search-d510871c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentres.dev](https://www.zero.xyz/host/agentres.dev/llms.txt)
