{"uid":"cap_KczwQlYXb_KOH-_KCsDVn","slug":"forgemesh-city-geocoding-api-54681e6e","name":"ForgeMesh City Geocoding API","description":"City geocoding API: convert any city or place name to latitude/longitude, with country, admin region, population, elevation, and timezone for the top 5 matches. The bridge from human place names to every coordinates-based API (weather, air quality, sun times). Cached 24 hours.","url":"https://x402.forgemesh.io/geocode-city","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"city":{"type":"string","description":"place name, e.g. Houston"}}},"responseSchema":{"type":"json","example":{"data":{"results":[{"name":"Houston","latitude":29.76328,"timezone":"America/Chicago","longitude":-95.36327,"population":2296224,"country_code":"US"}]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vhgZY3o2zD6vz4VGrWASe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 to latitude/longitude coordinates along with country, admin region, population, elevation, and timezone for up to 5 matches.","exampleAgentPrompt":"What are the latitude and longitude coordinates for Medellín, Colombia? I need the top matches with timezone, elevation, and population too.","exampleUseCases":null,"resultDescription":"Returns up to 5 matching locations for the given place name, each with latitude, longitude, country, administrative region, population, elevation, and timezone. Results are cached for 24 hours.","failureModes":["Ambiguous or misspelled city name returns unexpected top matches","Very small or obscure localities may return zero results","Non-English place names may require exact local spelling for best results","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you have a human-readable city or place name and need coordinates (lat/lon) plus metadata like timezone, elevation, and population — especially as a preprocessing step before calling coordinates-based APIs such as weather, air quality, or sun times. Prefer this over manual lookup or geocoding libraries when you need a fast, paid-API-quality result with timezone and elevation bundled.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:11.701Z","isFirstParty":false}