83trust / 100

Food Near

by Maxwell x402 in Weather & location

x402 APIPassing, checked 2 h ago

Restaurants near me / near any location: restaurants, cafes and bars nearby within a radius (default 2 km, max 10) of a latitude/longitude, nearest first, with distance, cuisine, address, and where known opening hours, phone, website and menu availability. Where to eat, worldwide coverage of ski and mountain areas. No Google data.

GET https://api.maxwellinternational.ai/v1/food/near

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
82 ms typical, 82 ms slowest 5%
Last check
2 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/food/near?lat=48.9709&lon=19.5839&radiusKm=1.5"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Ffood%2Fnear
const res = await pay("https://api.maxwellinternational.ai/v1/food/near?lat=48.9709&lon=19.5839&radiusKm=1.5");
console.log(await res.json());

Example input

{
  "lat": "48.9709",
  "lon": "19.5839",
  "radiusKm": "1.5"
}

Example output

{
  "count": 22,
  "lat": 48.9709,
  "lon": 19.5839,
  "notice": "Restaurant data ? OpenStreetMap contributors, ODbL 1.0 (openstreetmap.org/cop...",
  "radiusKm": 1.5,
  "restaurants": [
    {
      "area": "liptov-jasna",
      "country": "sk",
      "currency": "EUR",
      "distanceKm": 0.01,
      "hours": "Mo-Su 08:00-21:00",
      "lat": 48.970943,
      "lon": 19.583767,
      "menuItemCount": 0,
      "name": "Crystal bar",
      "osmUrl": "https://www.openstreetmap.org/node/7243673322",
      "restaurantId": "osm-node-7243673322",
      "type": "bar"
    }
  ],
  "total": 22
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40282 ms$0.01