{"uid":"cap_49FDTI_gC7uZlOxCidylW","slug":"openweather-geocode-6eb1b2f2","name":"OpenWeather Geocode","description":"Convert a city name, state, or country into geographic coordinates (lat/lon). Returns up to 5 matching locations with country codes.","url":"https://openweather.mpp.paywithlocus.com/openweather/geocode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"City name, optionally with state and country code (e.g. \"London,GB\", \"Paris,FR\", \"Austin,TX,US\")"},"limit":{"type":"number","description":"Max number of results (1–5). Default: 5"}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"q":"Paris,FR","limit":3},"response":{"data":[{"lat":48.8588897,"lon":2.3200410217200766,"name":"Paris","state":"Ile-de-France","country":"FR","local_names":{"af":"Parys","am":"ፓሪስ","an":"París","ar":"باريس","ba":"Париж","be":"Парыж","bg":"Париж","bn":"প্যারিস","bo":"ཕ་རི།","br":"Pariz","bs":"Pariz","ca":"París","co":"Parighji","cs":"Paříž","cu":"Парижь","cv":"Парис","de":"Paris","el":"Παρίσι","eo":"Parizo","es":"París","et":"Pariis","eu":"Paris","fa":"پاریس","fi":"Pariisi","fr":"Paris","fy":"Parys","ga":"Páras","gl":"París","gn":"Parĩ","gu":"પૅરિસ","gv":"Paarys","ha":"Pariis","he":"פריז","hi":"पैरिस","hr":"Pariz","ht":"Pari","hu":"Párizs","hy":"Փարիզ","is":"París","it":"Parigi","ja":"パリ","ka":"პარიზი","kk":"Париж","km":"ប៉ារីស","kn":"ಪ್ಯಾರಿಸ್","ko":"파리","ku":"Parîs","kv":"Париж","ky":"Париж","la":"Lutetia","lb":"Paräis","li":"Paries","ln":"Pari","lt":"Paryžius","lv":"Parīze","mi":"Parī","mk":"Париз","ml":"പാരിസ്","mn":"Парис","mr":"पॅरिस","my":"ပါရီမြို့","ne":"पेरिस","nl":"Parijs","no":"Paris","oc":"París","or":"ପ୍ୟାରିସ","os":"Париж","pa":"ਪੈਰਿਸ","pl":"Paryż","ps":"پاريس","ru":"Париж","sc":"Parigi","sh":"Pariz","sk":"Paríž","sl":"Pariz","so":"Baariis","sq":"Parisi","sr":"Париз","sv":"Paris","ta":"பாரிஸ்","te":"పారిస్","tg":"Париж","th":"ปารีส","tk":"Pariž","tl":"Paris","tt":"Париж","ug":"پارىژ","uk":"Париж","ur":"پیرس","uz":"Parij","vi":"Paris","wa":"Paris","wo":"Pari","yi":"פאריז","yo":"Parisi","za":"Bahliz","zh":"巴黎","zu":"IParisi"}},{"lat":48.8534951,"lon":2.3483915,"name":"Paris","state":"Ile-de-France","country":"FR","local_names":{"af":"Parys","am":"ፓሪስ","an":"París","ar":"باريس","ba":"Париж","be":"Парыж","bg":"Париж","bn":"প্যারিস","bo":"ཕ་རི།","br":"Pariz","bs":"Pariz","ca":"París","co":"Parighji","cs":"Paříž","cu":"Парижь","cv":"Парис","de":"Paris","el":"Παρίσι","en":"Paris","eo":"Parizo","es":"París","et":"Pariis","eu":"Paris","fa":"پاریس","fi":"Pariisi","fr":"Paris","fy":"Parys","ga":"Páras","gd":"Parais","gl":"París","gn":"Parĩ","gu":"પૅરિસ","gv":"Paarys","ha":"Pariis","he":"פריז","hi":"पैरिस","hr":"Pariz","ht":"Pari","hu":"Párizs","hy":"Փարիզ","is":"París","it":"Parigi","ja":"パリ","ka":"პარიზი","kk":"Париж","km":"ប៉ារីស","kn":"ಪ್ಯಾರಿಸ್","ko":"파리","ku":"Parîs","kv":"Париж","ky":"Париж","la":"Lutetia","lb":"Paräis","li":"Paries","ln":"Pari","lt":"Paryžius","lv":"Parīze","mi":"Parī","mk":"Париз","ml":"പാരിസ്","mn":"Парис","mr":"पॅरिस","my":"ပါရီမြို့","ne":"पेरिस","nl":"Parijs","no":"Paris","oc":"París","or":"ପ୍ୟାରିସ","os":"Париж","pa":"ਪੈਰਿਸ","pl":"Paryż","ps":"پاريس","pt":"Paris","ro":"Paris","ru":"Париж","sc":"Parigi","sh":"Pariz","sk":"Paríž","sl":"Pariz","so":"Baariis","sq":"Parisi","sr":"Париз","sv":"Paris","ta":"பாரிஸ்","te":"పారిస్","tg":"Париж","th":"ปารีส","tk":"Pariž","tl":"Paris","tr":"Paris","tt":"Париж","ug":"پارىژ","uk":"Париж","ur":"پیرس","uz":"Parij","vi":"Paris","wo":"Pari","yi":"פאריז","yo":"Parisi","za":"Bahliz","zh":"巴黎","zu":"IParisi"}},{"lat":48.8588897,"lon":2.3200410217200766,"name":"Paris","state":"Ile-de-France","country":"FR","local_names":{"af":"Parys","am":"ፓሪስ","an":"París","ar":"باريس","ba":"Париж","be":"Парыж","bg":"Париж","bn":"প্যারিস","bo":"ཕ་རི།","br":"Pariz","bs":"Pariz","ca":"París","co":"Parighji","cs":"Paříž","cu":"Парижь","cv":"Парис","de":"Paris","el":"Παρίσι","eo":"Parizo","es":"París","et":"Pariis","eu":"Paris","fa":"پاریس","fi":"Pariisi","fr":"Paris","fy":"Parys","ga":"Páras","gl":"París","gn":"Parĩ","gu":"પૅરિસ","gv":"Paarys","ha":"Pariis","he":"פריז","hi":"पैरिस","hr":"Pariz","ht":"Pari","hu":"Párizs","hy":"Փարիզ","is":"París","it":"Parigi","ja":"パリ","ka":"პარიზი","kk":"Париж","km":"ប៉ារីស","kn":"ಪ್ಯಾರಿಸ್","ko":"파리","ku":"Parîs","kv":"Париж","ky":"Париж","la":"Lutetia","lb":"Paräis","li":"Paries","ln":"Pari","lt":"Paryžius","lv":"Parīze","mi":"Parī","mk":"Париз","ml":"പാരിസ്","mn":"Парис","mr":"पॅरिस","my":"ပါရီမြို့","ne":"पेरिस","nl":"Parijs","no":"Paris","oc":"París","or":"ପ୍ୟାରିସ","os":"Париж","pa":"ਪੈਰਿਸ","pl":"Paryż","ps":"پاريس","ru":"Париж","sc":"Parigi","sh":"Pariz","sk":"Paríž","sl":"Pariz","so":"Baariis","sq":"Parisi","sr":"Париз","sv":"Paris","ta":"பாரிஸ்","te":"పారిస్","tg":"Париж","th":"ปารีส","tk":"Pariž","tl":"Paris","tt":"Париж","ug":"پارىژ","uk":"Париж","ur":"پیرس","uz":"Parij","vi":"Paris","wo":"Pari","yi":"פאריז","yo":"Parisi","za":"Bahliz","zh":"巴黎","zu":"IParisi"}}],"success":true}},"exampleRequest":{"q":"Paris,FR","limit":3},"tags":["weather","forecast","conditions","temperature","data"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Kxion6Q3kwVx8oAjHo3QR","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"OpenWeather","brandSlug":"openweather","brandBaseUrl":"https://openweathermap.org","brandDocsUrl":"https://openweathermap.org/api","whatItDoes":"Converts a city name (with optional state and country code) into geographic coordinates and location metadata","exampleAgentPrompt":"What are the latitude and longitude coordinates for Austin, TX, US? Give me up to 3 results using OpenWeather geocoding.","exampleUseCases":null,"resultDescription":"Returns a list of up to 5 matching locations, each with latitude, longitude, city name, country code, and optionally state — suitable for use as input to other OpenWeather endpoints like Current Weather or One Call.","failureModes":["City name not found — returns empty array","Invalid or misspelled city name yields no results","Missing required 'q' parameter returns 400 error","Ambiguous city name (e.g. 'Springfield') may return unexpected country results","Rate limit exceeded returns 429 error"],"whenToPreferThis":"Use this endpoint when you have a human-readable city name and need geographic coordinates (lat/lon) to feed into other OpenWeather endpoints such as Current Weather, One Call, or Forecast. Prefer this over reverse geocoding when starting from a place name rather than coordinates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-09T18:45:11.336Z","isFirstParty":false,"canonicalSlug":"openweather-geocode-6eb1b2f2"}