{"uid":"cap_VL-kiyjcfo-jEuoCtjfs3","slug":"lilambd-place-brief-nearest-geographic-features-d257f07e","name":"Lilambd Place Brief – Nearest Geographic Features","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/place-brief/nearest?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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon","kind"],"properties":{"lat":{"type":"string","description":"Latitude, decimal degrees"},"lon":{"type":"string","description":"Longitude, decimal degrees"},"kind":{"enum":["airport","city","power","market","port","quake","tsunami","volcano","station","admin1"],"type":"string","description":"What to list"},"limit":{"type":"string","description":"Rows to return (default 50, max 200)"},"offset":{"type":"string","description":"Rows to skip"},"radius_km":{"type":"string","description":"Search radius km (default 200, max 2000)"},"scheduled":{"type":"string","description":"kind=airport only: scheduled passenger service only"},"include_heliports":{"type":"string","description":"kind=airport only: also list heliports and other non-airfield types"}},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"km":14.69,"lat":35.549678,"lon":139.786958,"iata":"HND","icao":"RJTT","name":"Tokyo Haneda International Airport","type":"large_airport","ident":"RJTT","country_iso2":"JP","elevation_ft":35,"municipality":"Tokyo","scheduled_service":true},{"km":20.98,"lat":35.6717,"lon":139.528,"iata":null,"icao":"RJTF","name":"Chofu Airport","type":"medium_airport","ident":"RJTF","country_iso2":"JP","elevation_ft":141,"municipality":"Chofu","scheduled_service":true}],"attribution":"OurAirports (public domain, snapshot 2026-11-01); distances computed by Lilambd"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2RrCvn2DpKxVtFjHyxCcU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the nearest geographic features of a specified type (airports, cities, ports, earthquakes, volcanoes, etc.) to a given latitude/longitude coordinate, sorted by distance.","exampleAgentPrompt":"Find the nearest airports within 300 km of Tokyo (35.6762° N, 139.6503° E) — scheduled passenger service only, return up to 10 results.","exampleUseCases":[{"title":"Flight routing nearest airport lookup","prompt":"What are the nearest airports to Osaka (34.6937° N, 135.5023° E) within 150 km? Only show airports with scheduled passenger service, up to 5 results."},{"title":"Disaster risk zone identification","prompt":"Find the nearest volcanoes and earthquake zones to Reykjavik (64.1466° N, 21.9426° W) within 500 km — give me up to 20 results."},{"title":"Logistics port proximity check","prompt":"List the nearest seaports to Rotterdam (51.9225° N, 4.4792° E) within 200 km, up to 10 results, so I can plan shipping routes."}],"resultDescription":"A JSON array of geographic features sorted by distance from the query point. Each entry includes distance in km, coordinates, feature name, type identifiers (IATA/ICAO for airports), country ISO code, elevation, municipality, and scheduled service flag where applicable. Attribution metadata is included.","failureModes":["Missing required parameters (lat, lon, or kind) returns a validation error","Invalid 'kind' enum value returns a 400 error","Radius exceeding 2000 km may be capped or rejected","No results found within radius returns empty data array","Payment failure (x402) blocks request before processing","Very large limit/offset values may time out or return partial data"],"whenToPreferThis":"Use this endpoint when you need proximity-ranked geographic features around a specific coordinate — especially aviation data (airports, heliports) or geohazard data (volcanoes, earthquakes, tsunamis). Preferred over static geodatabases when you need distance-sorted results with up-to-date snapshots and support for multiple feature categories in one API. The x402 micropayment model makes it suitable for pay-per-query agent workflows without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:32:25.295Z","isFirstParty":false,"canonicalSlug":"lilambd-place-brief-nearest-geographic-features-d257f07e"}