{"uid":"cap__ASCDdYtUoAQXYKJk2-Bx","slug":"agent-data-tools-revmesh2074-workers-dev-geocode-address-place-name-6e69306a","name":"Geocode Address / Place Name to Coordinates","description":"Geocode a place name to latitude and longitude: a city, town, landmark or other place recorded in Wikidata becomes coordinates, with country, region, population and elevation where known, best match first (Wikidata, CC0). Street addresses and postcodes are not resolved. Use to turn a place name into coordinates for maps, distance, weather or routing.","url":"https://agent-data-tools.revmesh2074.workers.dev/geocode/address?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Place name"},"count":{"type":"integer","description":"Max results (1-10, default 5)"}}},"responseSchema":{"type":"object","properties":{"count":{"type":"number"},"source":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":"string"},"region":{"type":"string"},"country":{"type":"string"},"elevation":{"type":"number"},"population":{"type":"number"},"wikidataId":{"type":"string"},"description":{"type":"string"}}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9kcHOmPIgsrAYQN7q92dK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 a place name, city, landmark, or address into latitude/longitude coordinates, with country, region, population, and elevation metadata.","exampleAgentPrompt":"What are the latitude and longitude coordinates for Mount Fuji? Give me up to 3 results.","exampleUseCases":[{"title":"Weather lookup by city name","prompt":"I need the coordinates for Reykjavik so I can pull the current weather there — can you geocode it for me?"},{"title":"Route planning between landmarks","prompt":"Can you find the lat/lon for the Eiffel Tower and the Louvre so I can calculate the distance between them?"},{"title":"Mapping user-entered location","prompt":"A user typed 'Springfield, Illinois' into my app — can you geocode that and give me coordinates plus the region and country?"}],"resultDescription":"A JSON object containing a count of results and an array of matching places, each with latitude, longitude, name, region, country, elevation (meters), population, Wikidata ID, and a short description. Results are sorted best-match first.","failureModes":["Ambiguous place name returns multiple unrelated results — use the count parameter and inspect the results array","Very obscure or misspelled place name returns zero results","Place exists but has no elevation or population data — those fields will be absent or null","Rate limit or payment failure returns a 402 error requiring USDC payment or prepaid credits"],"whenToPreferThis":"Choose this endpoint when you need to resolve a human-readable place name or address into geographic coordinates (lat/lon) and want additional metadata like population, elevation, and country. It is backed by Wikidata (CC0) so results are freely usable. Prefer it over general-purpose search APIs when you specifically need structured coordinate output for downstream use in maps, weather lookups, distance calculations, or routing — and when you do not need street-level address parsing (for which a dedicated postal geocoder would be better).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T06:40:58.962Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-geocode-address-place-name-6e69306a"}