# Maxwell x402: Ski Resort + Nearby Restaurants Combo

> Maxwell x402: Ski Resort + Nearby Restaurants Combo is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-01).

Returns a ski resort's official details (site, ticket shop, coordinates) combined with a ranked list of all restaurants within a specified radius (default 5 km, max 25 km), sorted nearest first.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/food/near-resort?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-x402-ski-resort-nearby-restaurants-combo-d1f364dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2-8rbaUZq6LcCBdMiB99l

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 maxwell-x402-ski-resort-nearby-restaurants-combo-d1f364dd
```

Example prompt: Show me the official info for Jasná Nízke Tatry ski resort and list all restaurants within 10 km of it, sorted by distance.

## When to prefer this

Choose this endpoint when you need both ski resort metadata and geographically proximate restaurant listings in a single call. It is ideal for travel planning, itinerary building, or ski-trip apps that need dining options near a specific mountain without making separate resort and restaurant API calls. Prefer it over generic restaurant search APIs when the anchor point is specifically a ski resort and you want resort official data bundled in.

## Known failure modes

- Unknown or misspelled resort identifier returns empty or error response
- Radius exceeding 25 km may be capped or rejected
- Resort with no nearby restaurants returns an empty restaurants array
- Missing required query parameters returns a 400 bad request
- Payment not included or insufficient results in 402 Payment Required

## How this service works

Restaurants, cafes and bars around a ski resort, tied to its arrival point (ticket office or main lift). tier=near: everything within 1 km ($0.02). tier=around: the ring from 1 to 15 km ($0.02; does not include the first kilometre). Nearest first, with distance, cuisine, hours, menu availability and each restaurantId for /v1/food/menu; every answer says how many are in the other tier. No Google data.

## Output

Returns a JSON object with: the total count of nearby restaurants, the resort object (name, resortId, lat/lon, official site URL), the search radius used, and an array of restaurant objects each containing name, type, coordinates, distance in km, opening hours, cuisine tags, website, currency, and a unique restaurant ID.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tier": "near",
  "total": 17,
  "resort": {
   "name": "Jasna Nizke Tatry / Chopok",
   "resortId": "jasna-chopok"
  },
  "ringKm": {
   "to": 1,
   "from": 0
  },
  "tripMap": {
   "next": {
    "step": "getting-there"
   },
   "tripId": null
  },
  "withMenu": 1,
  "otherTier": {
   "tier": "around",
   "priceUsd": 0.02,
   "withMenu": 23,
   "restaurants": 180
  },
  "restaurants": [
   {
    "name": "Pinus",
    "type": "restaurant",
    "distanceKm": 0.2,
    "restaurantId": "osm-node-10581623877",
    "menuItemCount": 0
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-x402-ski-resort-nearby-restaurants-combo-d1f364dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
