ZenSched · Geocode

by ZenSched

GETBase

$0.03

per call · USD Coin on Base

Street address → GPS check-in pin. Geocodes the address, upgrades to the Google Places establishment pin when it is the same site, and returns lat/lng, pin_quality, IANA timezone and map links. Same resolver ZenSched uses for location_create.

Endpoint

GET https://mcp.zensched.com/x402/geocode

4

Calls / 30d

1

Unique payers / 30d

Sep 2

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://mcp.zensched.com/x402/geocode", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://mcp.zensched.com/x402/geocode?address=1+Ferry+Building%2C+San+Francisco%2C+CA+94111&name=Ferry+Building+Marketplace" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "city": "San Francisco",
  "formatted_address": "1 Ferry Building, San Francisco, CA 94111, USA",
  "google_place_id": "ChIJ…",
  "lat": 37.7936,
  "lng": -122.3936,
  "maps_url": "https://www.google.com/maps?q=37.7936,-122.3936",
  "pin_quality": "place",
  "satellite_url": "https://www.google.com/maps/@37.7936,-122.3936,18z/data=!3m1!1e3",
  "state": "CA",
  "street": "1 Ferry Building",
  "timezone": "America/Los_Angeles",
  "zip": "94111"
}

Payment details

Pay to0x081d7f97ca4478dac465569e1fe3f5846ad598dd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from ZenSched & similar services