81trust / 100

Trip Lodging

by Maxwell x402 in Weather & location

x402 APIPassing, checked 3 h ago

Places to stay at a ski resort: hotels, chalets, apartments, guest houses and mountain huts by distance to the lifts. tier=slope ($0.02): within a 1 km walk of a lift base, ski-in/ski-out first. tier=around ($0.02): further out, up to 15 km; does not repeat slope. With nearest lift and piste, stars, amenities, where each was seen, phone and website. Price from and booking page where published; no availability.

GET https://api.maxwellinternational.ai/v1/trip/lodging

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
95 ms typical, 95 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/trip/lodging?country=Austria&resort=kitzbuehel&tier=slope"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Ftrip%2Flodging
const res = await pay("https://api.maxwellinternational.ai/v1/trip/lodging?country=Austria&resort=kitzbuehel&tier=slope");
console.log(await res.json());

Example input

{
  "country": "Austria",
  "resort": "kitzbuehel",
  "tier": "slope"
}

Example output

{
  "count": 186,
  "lodging": [
    {
      "access": "at_lifts",
      "id": "osm-n8678810528",
      "kind": "guest_house",
      "kmFromArrival": 9.2,
      "lat": 47.38056,
      "lon": 12.30976,
      "name": "Pension Gutensohn",
      "nearestLiftBase": {},
      "nearestMainLift": {},
      "nearestPiste": {},
      "osm": "https://www.openstreetmap.org/node/8678810528",
      "skiInOut": true
    }
  ],
  "measuredTo": "nearest lift base (walking distance as the crow flies)",
  "notice": "Places ? OpenStreetMap contributors (ODbL); forecasts MET Norway (CC BY 4.0);...",
  "resort": {
    "arrivalPoint": {
      "kind": "main_lift_base",
      "lat": 47.44323,
      "lon": 12.38936,
      "name": "Hahnenkammbahn"
    },
    "country": "Austria",
    "id": "kitzbuehel",
    "name": "Kitzbuhel / KitzSki"
  },
  "sku": "trip.lodging",
  "step": "lodging-slope",
  "tier": "slope",
  "tripId": null
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402119 ms$0.02
8 h agoPassed40295 ms$0.02