Skip to content
Fourohtwo

Geocode batch

freetier-agent-api.pages.dev/api/geocode-batch

Geocode batch: up to 5 addresses or place names (separated by |) to coordinates and a structured address in one call, optional country filter. OpenStreetMap Nominatim, cached, ODbL attribution.

BaseAnswering
GEThttps://freetier-agent-api.pages.dev/api/geocode-batch

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://freetier-agent-api.pages.dev/api/geocode-batch?q=Eiffel+Tower%2C+Paris%7CBrandenburger+Tor%2C+Berlin");
console.log(await res.json());

Example input

{
  "q": "Eiffel Tower, Paris|Brandenburger Tor, Berlin"
}

More from Agent Extraction API