{"uid":"cap_X6g7ZSD8DwSYekzWSsFEZ","slug":"agentstoolshub-geocoding-fdafd6b7","name":"AgentsToolsHub Geocoding","description":"Convert a place name into coordinates and location metadata via Open-Meteo's geocoding API: latitude, longitude, country, administrative region, timezone and population. The input every mapping/weather/travel agent needs first. Use this when an agent needs to city or place name → coordinates, country and timezone.","url":"https://agentstoolshub.com/api/v1/live/geocode?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"],"type":"string"},"queryParams":{"type":"object","required":["city"],"properties":{"city":{"type":"string","description":"City or place"},"count":{"type":"number","description":"Max matches"},"language":{"type":"string","description":"Result language"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Un440c_irlSPNB6Je6SYB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a city or place name into geographic coordinates and location metadata (latitude, longitude, country, timezone, population) using Open-Meteo's geocoding API.","exampleAgentPrompt":"What are the coordinates, timezone, and country for Paris? I need the lat/lon to fetch weather data next.","exampleUseCases":[{"title":"Pre-flight coordinates for weather fetch","prompt":"Before getting the forecast, can you look up the coordinates and timezone for Lisbon so I can pass them to the weather API?"},{"title":"Travel itinerary location resolution","prompt":"I'm planning a trip through Southeast Asia — can you get me the coordinates, country, and administrative region for Chiang Mai?"},{"title":"Multi-language location lookup","prompt":"Look up the geocoding details for München in German and give me its latitude, longitude, and timezone — I need up to 3 matches."}],"resultDescription":"Returns one or more matching locations with latitude, longitude, country name, administrative region, timezone identifier, and population count for the queried place name.","failureModes":["City not found returns empty results array","Misspelled or ambiguous place names may return wrong location","Non-existent or very small settlements may return no results","Count parameter ignored if invalid (non-numeric)","Language parameter ignored if unsupported locale code is provided"],"whenToPreferThis":"Choose this endpoint when an agent needs to resolve a human-readable place or city name into geographic coordinates and metadata (timezone, country, region) as a first step before calling weather, mapping, or travel APIs. It is backed by Open-Meteo's geocoding database, making it a reliable companion to Open-Meteo weather calls. Prefer it over generic geocoding APIs when working within an x402 micropayment agent pipeline at low cost ($0.003/call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:39:34.513Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-geocoding-fdafd6b7"}