Skip to content
Fourohtwo

Forward geocoding for AI agents

x402.tbs-digital.com/geo/forward

Forward geocoding for AI agents: turn a place name (city, town, region, landmark; not a street address) into coordinates. Returns the best-match latitude, longitude, country and ISO country code, administrative regions (admin1/admin2), population, IANA timezone and GeoNames feature code. Query by q= (aliases city, query, name); optional language=, country=. Open-Meteo geocoding.

BaseAnswering
GEThttps://x402.tbs-digital.com/geo/forward

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402.tbs-digital.com/geo/forward?q=Paris");
console.log(await res.json());

Example input

{
  "q": "Paris"
}

More from TBS Geocoding API