# Fanfare NBA Venue Nearby Places

> Fanfare NBA Venue Nearby Places is a paid API for AI agents from fanfare-api.fly.dev, paid per call via x402, $0.001000/call, status unknown (last checked 2026-09-15).

Returns restaurants, bars, cafes, parking, tourist attractions, and lodging near any NBA arena using Google Places data.

## Facts

- Endpoint: GET https://fanfare-api.fly.dev/nba/venue-nearby
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fanfare-api-fly-dev-5b4734ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bBA2PoqGvU82X1zWk28fx

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-api-fly-dev-5b4734ed
```

Example prompt: What restaurants are near the Golden State Warriors arena? I'm looking for places to eat before the game — use the Warriors team ID and type restaurant.

## When to prefer this

Use this endpoint when you need local venue discovery (dining, parking, attractions, lodging) specifically near an NBA arena, especially for pre-game planning. Prefer this over generic mapping APIs when the user context is NBA game attendance and the teamId is known.

## Known failure modes

- Invalid or unknown teamId returns an error or empty results
- Unsupported place type value returns an error
- Google Places API downstream failure causes 500 or empty response
- Missing required teamId query parameter returns a 400 error

## How this service works

Restaurants, bars, parking, and attractions near any NBA arena 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 (e.g. restaurants, bars, parking) around the specified NBA team's arena, sourced from Google Places, including names, addresses, ratings, and location details.

## 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": [
      "teamId"
     ],
     "properties": {
      "type": {
       "type": "string",
       "default": "restaurant",
       "description": "Place type (restaurant, bar, cafe, parking, tourist_attraction, lodging)"
      },
      "teamId": {
       "type": "string",
       "description": "NBA team 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-api-fly-dev-5b4734ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fanfare-api.fly.dev](https://www.zero.xyz/host/fanfare-api.fly.dev/llms.txt)
