Turn an address into coordinates
api.x-402.online/v1/geo/forward
Turn an address into coordinates: BAN for France (INSEE code, score), OpenStreetMap elsewhere. Address to coordinates: for France the official BAN registry (house number, street, postcode, city, INSEE code, match score), elsewhere OpenStreetMap Nominatim. Query: ?q=8 rue de la Paix Paris&country=fr&limit=1
GET
https://api.x-402.online/v1/geo/forwardUptime66.7% of 3 checks 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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.x-402.online/v1/geo/forward?q=8+rue+de+la+Paix+75002+Paris");
console.log(await res.json());Example input
{
"q": "8 rue de la Paix 75002 Paris"
}