{"uid":"cap_5yzsAKgNzBlRLNU7IfKlN","slug":"agent-hub-geocoding-3493d5a1","name":"Agent Hub Geocoding","description":"Geocode a place, landmark or street address to latitude/longitude with city, region, country, postcode, timezone and population where known. Cities via GeoNames, addresses and points of interest via OpenStreetMap.","url":"https://agents.torbrooknews.com/v1/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":["q"],"properties":{"q":{"type":"string","description":"Place, landmark or address"},"limit":{"type":"integer","description":"1 to 10, default 5"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_Vsxhu-46d8sANP-20Wr7o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a place name, landmark, or street address into latitude/longitude coordinates with city, region, country, postcode, timezone, and population data.","exampleAgentPrompt":"Can you geocode '10 Downing Street, London' and give me its latitude, longitude, postcode, and timezone?","exampleUseCases":[{"title":"Enrich user address with coordinates","prompt":"I have a user-submitted address — '221B Baker Street, London' — can you geocode it and get me the latitude, longitude, postcode, and timezone?"},{"title":"Find coordinates for a famous landmark","prompt":"What are the coordinates, country, and timezone for the Eiffel Tower in Paris?"},{"title":"Resolve city name for mapping pipeline","prompt":"I need the latitude, longitude, region, and population for 'Austin, Texas' — give me up to 3 results in case there are multiple matches."}],"resultDescription":"Returns up to 10 geocoding results (default 5), each containing latitude, longitude, city, region, country, postcode, timezone, and population where available. Results are sourced from GeoNames for cities and OpenStreetMap for addresses and points of interest.","failureModes":["No results found for an ambiguous or misspelled query","Partial data returned when postcode, population, or timezone is not available for a location","Rate limiting or payment failure when x402 payment is not processed","Query returns unexpected results for place names shared across multiple countries","Limit parameter out of range (must be 1–10)"],"whenToPreferThis":"Choose this endpoint when you need to resolve a free-text place name, address, or landmark to geographic coordinates along with enriched metadata (timezone, postcode, population) without requiring a full mapping SDK. It combines GeoNames city data with OpenStreetMap POI/address data in a single call, making it ideal for enriching structured records or powering location-aware workflows on a pay-per-call basis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:23.212Z","isFirstParty":false,"canonicalSlug":"agent-hub-geocoding-3493d5a1"}