Skip to main content
Address geocoding and reverse geocoding API focused on U.S. and Canadian addresses with census data appends. Best for North American address resolution workflows — converting addresses to coordinates and enriching locations with congressional districts, census tracts, and timezone data. Unlike Google Maps (global, broad), Geocodio specializes in U.S./Canada with deeper census-level data appends. 4 endpoints available through Lava’s AI Gateway. See the Geocodio API docs for full documentation.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.

Endpoints

Geocode an address to coordinates

GET https://api.geocod.io/v1.7/geocode?q=1109+N+Highland+St+Arlington+VA — $0.002 / request
const data = await lava.gateway('https://api.geocod.io/v1.7/geocode?q=1109+N+Highland+St+Arlington+VA', { method: 'GET' });

Batch geocode addresses

POST https://api.geocod.io/v1.7/geocode — $0.002 / request
const data = await lava.gateway('https://api.geocod.io/v1.7/geocode', { body: {"addresses":["1109 N Highland St, Arlington, VA"]} });

Reverse geocode coordinates to an address

GET https://api.geocod.io/v1.7/reverse?q=38.886672,-77.094735 — $0.002 / request
const data = await lava.gateway('https://api.geocod.io/v1.7/reverse?q=38.886672,-77.094735', { method: 'GET' });

Batch reverse geocode coordinates

POST https://api.geocod.io/v1.7/reverse — $0.002 / request
const data = await lava.gateway('https://api.geocod.io/v1.7/reverse', { body: {"locations":["38.886672,-77.094735"]} });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests