# Fanfare MLB Venue Nearby Places

> Fanfare MLB Venue Nearby Places is a paid API for AI agents from fanfare.run, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns restaurants, bars, cafes, parking, attractions, and lodging near any MLB ballpark using Google Places data

## Facts

- Endpoint: GET https://fanfare.run/mlb/venue-nearby
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fanfare-run-3d4b7586
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sf99Tn8JwnIGglIUE1jmR

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 fanfare-run-3d4b7586
```

Example prompt: What restaurants are near Dodger Stadium (venue ID 22)? I want to find a good spot to eat before the game.

## When to prefer this

Use this endpoint when you need to discover local amenities — dining, drinks, parking, or attractions — specifically near an MLB stadium identified by its venue ID. Ideal for pre-game planning workflows where the ballpark is already known. Prefer this over generic location search when working within a sports context and you have an MLB venue ID available.

## Known failure modes

- Invalid or unknown venueId returns an error or empty result
- Unsupported type value may return no results or default behavior
- Network or upstream Google Places API failure
- Rate limiting or payment failure via x402 protocol

## How this service works

Restaurants, bars, parking, and attractions near any MLB ballpark via Google Places. Great for pre-game planning. Types: restaurant, bar, cafe, parking, tourist_attraction, lodging.

## Output

A list of nearby places matching the requested type (restaurant, bar, cafe, parking, tourist_attraction, or lodging) around the specified MLB ballpark, sourced from Google Places — including place names, addresses, and location details.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "type": "restaurant",
   "venueId": 22
  }
 }
}
```

## 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": [
      "venueId"
     ],
     "properties": {
      "type": {
       "type": "string",
       "default": "restaurant",
       "description": "Google Places type filter (restaurant, bar, cafe, parking, tourist_attraction, lodging)"
      },
      "venueId": {
       "type": "integer",
       "description": "MLB venue ID"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fanfare-run-3d4b7586/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fanfare.run](https://www.zero.xyz/host/fanfare.run/llms.txt)
