{"uid":"cap_frTX9i9b5OtsXYc0dXUbU","slug":"maxwell-x402-nearby-restaurant-search-b7c74216","name":"Maxwell x402 – Nearby Restaurant Search","description":"Restaurants within a radius (default 2 km, max 10) of a latitude/longitude, nearest first, with distance in km, cuisine, address, and where known opening hours, phone, website and menu availability. No Google data.","url":"https://api.maxwellinternational.ai/v1/food/near?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"lat":49.0856,"lon":19.6118,"total":40,"radiusKm":2,"restaurants":[{"lat":49.054293,"lon":19.579094,"name":"Pinus","type":"restaurant","hours":"Mo-Su 07:00-22:00","address":null,"cuisine":[],"website":"https://www.pinus-restaurant.sk/","currency":"EUR","distanceKm":0.4,"restaurantId":"osm-node-10581623877","menuItemCount":0}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_r0YEH7akTRfqsGr3U3VEa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns restaurants within a configurable radius (default 2 km, max 10 km) of a given latitude/longitude, sorted by distance in km.","exampleAgentPrompt":"What restaurants are within 3 km of latitude 49.0856, longitude 19.6118? Sort them by distance and show me their hours and websites.","exampleUseCases":[{"title":"Nearby dining for a traveler","prompt":"I just arrived at my hotel at coordinates 48.8566, 2.3522 in Paris — can you find all restaurants within 2 km and show me which ones are closest, including their opening hours?"},{"title":"Event planning venue scouting","prompt":"I'm scouting restaurant options near the conference center at latitude 51.5074, longitude -0.1278 in London — show me everything within 5 km sorted by distance so I can plan a group dinner."},{"title":"Ski resort dining discovery","prompt":"Find restaurants within 3 km of the ski resort at latitude 49.054, longitude 19.579 — I want to see cuisine types, hours, and websites so I can pick somewhere for après-ski."}],"resultDescription":"A JSON object containing the query coordinates, total restaurant count, search radius in km, and an array of restaurant records sorted nearest first — each with name, type, cuisine tags, opening hours, address, website URL, accepted currency, distance in km, and an OSM-sourced restaurant ID plus a menu item count (if available).","failureModes":["Missing or invalid latitude/longitude returns an error or empty result","Radius exceeding 10 km may be clamped or rejected","Sparse OSM data in rural areas returns few or zero results","No restaurants within radius returns empty array","Malformed query parameters result in a 400-level error","Service unavailable or payment not processed returns a 402 or 5xx error"],"whenToPreferThis":"Use this endpoint when you need a fast, proximity-sorted list of restaurants around any global latitude/longitude coordinate, especially when OSM coverage is acceptable and you need basic metadata (hours, cuisine, website) without needing real-time table availability or reservation booking. Prefer this over general web search when you need structured, machine-parseable restaurant data with distance values already computed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:41:32.978Z","isFirstParty":false,"canonicalSlug":"maxwell-x402-nearby-restaurant-search-b7c74216"}