{"uid":"cap_XyqcpcbcuZecTjTejCtci","slug":"agent-data-tools-revmesh2074-workers-dev-reverse-geocoding-place-name-64916bd4","name":"Reverse Geocoding: Place Name from Coordinates","description":"Turn latitude and longitude into place names: the nearest populated place and the largest one within the radius (usually the town or city the point is in), with country and ISO code, administrative region, population, distance and Wikidata id, plus the other places nearby. Data from Wikidata (CC0). Use to label GPS points, photos, deliveries or IP-derived coordinates; for place name to coordinates use geocode.","url":"https://agent-data-tools.revmesh2074.workers.dev/geocode/reverse?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number","description":"Latitude (-90 to 90)"},"lon":{"type":"number","description":"Longitude (-180 to 180)"},"radius":{"type":"number","description":"Search radius in km, 1-50 (default 10)"}}},"responseSchema":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"places":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"region":{"type":"string"},"country":{"type":"string"},"distanceKm":{"type":"number"},"population":{"type":"number"},"settlement":{"type":"boolean"},"wikidataId":{"type":"string"},"countryCode":{"type":"string"},"description":{"type":"string"}}}},"source":{"type":"string"},"largest":{"type":"object","properties":{"name":{"type":"string"},"region":{"type":"string"},"country":{"type":"string"},"distanceKm":{"type":"number"},"population":{"type":"number"},"settlement":{"type":"boolean"},"wikidataId":{"type":"string"},"countryCode":{"type":"string"},"description":{"type":"string"}}},"nearest":{"type":"object","properties":{"name":{"type":"string"},"region":{"type":"string"},"country":{"type":"string"},"distanceKm":{"type":"number"},"population":{"type":"number"},"settlement":{"type":"boolean"},"wikidataId":{"type":"string"},"countryCode":{"type":"string"},"description":{"type":"string"}}},"radiusKm":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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_y3OFKKmVDRuLMbT4b8z8r","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Converts latitude/longitude coordinates into place names, administrative region, country, population, and Wikidata ID for the nearest and largest nearby populated places.","exampleAgentPrompt":"What's the nearest town and city to the coordinates 51.5074, -0.1278? Search within a 15km radius and give me the country, region, population, and Wikidata ID.","exampleUseCases":[{"title":"Label GPS photo with location","prompt":"I have a photo taken at latitude 35.6895, longitude 139.6917 — what's the nearest populated place and which city or town is it actually in? Give me the country and region too."},{"title":"Identify delivery location from coordinates","prompt":"A delivery driver sent coordinates 40.7128, -74.0060 — what's the nearest place name and what's the largest city within 10km of that point?"},{"title":"Tag IP-derived location with city name","prompt":"I've geolocated an IP address to lat 48.8566, lon 2.3522 — what city and administrative region does that fall in, and what's the population there?"}],"resultDescription":"Returns the input coordinates and search radius, plus a 'nearest' object (name, region, country, countryCode, distanceKm, population, wikidataId, description) and a 'largest' object for the most populous place within the radius, along with a 'places' array listing all nearby populated places with name, distanceKm, and population. Also includes the data source (Wikidata CC0).","failureModes":["No populated places found within the specified radius — try increasing the radius parameter up to 50km","Coordinates out of valid range (lat must be -90 to 90, lon must be -180 to 180) — returns error","Radius outside the 1–50km allowed range — returns validation error","Remote ocean or uninhabited area coordinates may return empty places array","Payment/402 failure if free call quota (25 calls) is exhausted and no credits are available"],"whenToPreferThis":"Choose this endpoint when you need to label GPS coordinates, geotagged photos, delivery points, or IP-derived locations with human-readable place names and geographic context (country, region, population). It is ideal when you specifically want Wikidata-sourced place data with population figures and Wikidata IDs for linking to knowledge graphs. For the reverse operation (place name to coordinates), use the companion geocode endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:39:56.341Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-reverse-geocoding-place-name-64916bd4"}