{"uid":"cap_RxBNPh1tWFY9vZv2VT7Ff","slug":"agent402-uk-geocode-1597a27f","name":"Agent402 UK Geocode","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/data/geocode","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 name"},"count":{"type":"string","description":"Max results 1-20"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"results":[{"name":"London","country":"United Kingdom","latitude":51.5074,"longitude":-0.1278}]}},"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":"down","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__bLD47O5fWsQUr_s5nQdV","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 query into geographic coordinates and location metadata using the Open-Meteo geocoding API.","exampleAgentPrompt":"Can you geocode 'Edinburgh' for me and return up to 5 matching results with their coordinates?","exampleUseCases":[{"title":"Resolve city name before weather fetch","prompt":"I need the latitude and longitude for 'Munich' — look it up and return the top result so I can pass it to the weather endpoint."},{"title":"Location search for travel planning app","prompt":"Find me the coordinates for 'Santorini' — return up to 3 results so I can pick the right one for my trip planner."},{"title":"Enrich address data with coordinates","prompt":"I have a list of city names starting with 'Bristol' — can you geocode that and give me back up to 10 matching places with their lat/lon?"}],"resultDescription":"Returns a list of matching locations for the queried place name, each including latitude, longitude, place name, country, timezone, and elevation data — up to the requested count (1–20).","failureModes":["Place name not found returns empty results list","Missing required 'q' parameter causes a 400 or validation error","Count parameter outside 1-20 range may be clamped or rejected","Ambiguous place names may return unexpected or irrelevant locations","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need to resolve a human-readable place name into geographic coordinates without requiring an API key, leveraging Open-Meteo's free geocoding backend. Prefer it over Google Maps or Mapbox geocoding when cost per call matters and you only need coordinates plus basic location metadata, not full address parsing or reverse geocoding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:25:12.208Z","isFirstParty":false}