P

payload402 · GEO Lookup

by payload402

GETBase

$0.001

per call · USD Coin on Base

Resolve a place name or lat/lon to IANA timezone and coordinates (Open-Meteo). Use for agent scheduling, travel logistics, and local-time questions without LLM guessing. Not IP geolocation.

Endpoint

GET https://payload402.edgebytenet.workers.dev/geo/lookup

1

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://payload402.edgebytenet.workers.dev/geo/lookup", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://payload402.edgebytenet.workers.dev/geo/lookup?place=London" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "country": "United Kingdom",
  "country_code": "GB",
  "latitude": 51.50853,
  "longitude": -0.12574,
  "name": "London",
  "note": "Place geocoding and timezone from Open-Meteo; use lat/lon for coordinates without a place name",
  "source": "open-meteo",
  "timezone": "Europe/London"
}

Payment details

Pay to0x555379f9f4750eb34ffc8b3daf8eda2ea0f6d112
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 payload402 & similar services