{"uid":"cap_vrp-ni1hGf1q6_PRHeOOv","slug":"saylor-innovations-geocode-715ece67","name":"Saylor Innovations Geocode","description":"Geocode an address or place name to latitude and longitude with country, region, time zone and elevation","url":"https://saylorinnovations.com/api/util/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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"place name (query)"},"count":{"type":"string","description":"optional 1-10, default 5 (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["query","results"],"properties":{"count":{"type":["number","null"],"description":"Number of items returned"},"query":{"type":"string","description":"The query as the server interpreted it"},"source":{"type":"string","description":"Data source the values come from"},"results":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string"]},"type":{"type":["string"]},"region":{"type":["string"]},"country":{"type":["string"]},"latitude":{"type":["number"]},"longitude":{"type":["number"]},"country_code":{"type":["string"]},"display_name":{"type":["string"]}},"additionalProperties":true},"description":"List of matching results"}},"additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bgJv4CcD1RWk8V-RFBqxW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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","exampleAgentPrompt":"Can you geocode 'Paris, France' for me and return the top 3 results with coordinates?","exampleUseCases":[{"title":"Map pin for travel planning","prompt":"What are the coordinates for Kyoto, Japan? Give me the top 2 results."},{"title":"Location enrichment for user data","prompt":"I have a list of city names from user signups — can you geocode 'São Paulo, Brazil' to get its latitude and longitude so I can plot it on a map?"},{"title":"Landmark coordinate lookup","prompt":"Geocode 'Eiffel Tower' and return up to 5 matching locations with their geographic details."}],"resultDescription":"Returns a JSON object containing the original query string, a list of matching location results (each with geographic coordinates and metadata), and an optional count of results returned (up to 10).","failureModes":["Empty or ambiguous place name returns no results","Count parameter out of range (not 1-10) may be ignored or cause an error","Unknown or misspelled place names may yield zero results","Service unavailable returns HTTP error","Payment failure (x402) blocks the request before geocoding occurs"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call geocoding solution priced at $0.001 USDC and accessible via the x402 payment protocol — ideal for AI agents that need to resolve place names to coordinates without a subscription or API key setup. Best suited for low-to-moderate volume lookups of city names, landmarks, or regions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T19:11:10.260Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-geocode-715ece67"}