canonical: https://jentic.com/apis/geocod.io

# Geocodio APIs

Geocodio is a US and Canada focused geocoding service that converts addresses to coordinates and coordinates back to addresses, with optional data appends for congressional districts, state legislative districts, school districts, census tracts, timezones, and ACS demographics. It supports single lookups, batch requests of up to 10,000 addresses, asynchronous spreadsheet jobs, and distance calculation between geocoded points. Two API surfaces are catalogued here, both covering the same North American geocoding and append capabilities across single, batch, and list workflows.

## For AI agents

An agent can geocode US and Canadian addresses to coordinates, reverse geocode coordinate pairs back to addresses, append political, census, school, timezone, and ACS demographic fields, batch process large address lists, and calculate distance or driving time between points.

## Scope

Use for: US and Canadian address geocoding, reverse geocoding, and appending congressional, census, school, timezone, and ACS demographic data, in single, batch, or spreadsheet workflows

Not supported:
- international coverage
- map tile rendering
- turn-by-turn routing
- POI search
- real-time streaming

## APIs

| API | Category | Endpoints | Description |
| --- | --- | --- | --- |
| Geocodio | maps-geolocation | 16 | Geocode addresses and reverse geocode coordinates with US/Canada data appends including congressional districts, census tracts, school districts, timezone, and ACS demographics. |
| Geocodio API | maps-geolocation | 11 | Geocode US and Canadian addresses, reverse-geocode coordinates, and append congressional, census, timezone, and district data - single requests or batch lists. |

## Which API to use

| Need | API | Why |
| --- | --- | --- |
| Batch geocode very large address lists in one request | main | The main surface documents POST /geocode accepting up to 10,000 addresses per request plus batch reverse geocoding, so it is the fit for high-volume array jobs. |
| Append ACS demographics or census tract data to addresses | main | The main surface documents the acs-demographics, census, stateleg, and school append fields explicitly, making it the clearer choice for demographic enrichment. |
| Geocode single addresses and append congressional districts | geocod-io | Both surfaces cover single forward and reverse geocoding with congressional district appends, so either works; geocod-io is the compact 11-endpoint variant for straightforward single lookups. |
| Upload a spreadsheet and download an enriched file | geocod-io | Both surfaces expose the list upload, status, and download flow via POST /lists and the `/lists/{id}` endpoints, so pick whichever is already imported into your workspace. |

## Cross-API use cases

### Political geography enrichment for constituent lists

An agent geocodes a list of voter or customer addresses and appends congressional and state legislative districts, then groups the records by district for a report. Either Geocodio surface returns the district assignments on the same call that returns coordinates, so the agent can use whichever variant is imported without changing the field logic.

Example prompt: Geocode each address with fields=cd,stateleg on /geocode, then group the results by congressional district and produce a per-district count

### Bulk spreadsheet geocoding with census appends

An agent uploads a spreadsheet of thousands of addresses, polls until the job finishes, and downloads an enriched file with census tract and demographic fields attached. Both surfaces expose the POST /lists upload plus the /lists status and download endpoints, so the agent can fall back to either variant for the same job.

Example prompt: Upload the address spreadsheet to /lists, poll `/lists/{id}` until processed, then call `/lists/{id}/download` for the enriched file

### Address resolution then distance filtering

An agent geocodes a warehouse or store address, then calculates driving or straight-line distance to a set of destination points to decide which are in range. Forward geocoding and the distance calculation are available across both Geocodio surfaces, so the agent can chain them regardless of which variant it loaded.

Example prompt: Geocode the origin address on /geocode, then use the distance capability against each destination and return points within the max distance threshold

## Why Jentic

- **Setup:** Wiring the Geocodio APIs by hand means registering your key, deciding per operation whether it rides as the api_key query parameter or a bearer token, and handling the list upload and download flow yourself. Once Jentic One is installed, you or your agent can find and add either Geocodio surface from the Jentic directory and store the key one time.
- **Permission scoping:** Geocodio puts the list id in the URL path, so a rule can pin your agent to one list so it can read and download that list and nothing else. You choose which operations across both surfaces the agent may call, so broader ones like creating lists or forward geocoding are not included unless you add them.
- **Credential handling:** Your Geocodio API key is stored once, encrypted, by your own Jentic One instance and injected as either the api_key query parameter or the Authorization bearer token at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search the Jentic directory by intent such as geocode an address or append a congressional district, and Jentic returns the matching Geocodio operation with its parameter schema so the agent picks the right endpoint and append fields across either surface.

## Related vendors

- **HERE** — Global geocoding, routing, and map data for workloads that extend beyond US and Canada coverage.
- **Smarty** — USPS-grade US address validation and CASS certification when official postal validation matters more than coordinate-first geocoding.
- **LocationIQ** — Global OpenStreetMap-based geocoding with routing and POI search for worldwide address needs.
- **OpenCage** — Worldwide forward and reverse geocoding aggregating multiple open data sources.

## FAQ

### What can an agent do across the Geocodio APIs?

An agent can forward geocode US and Canadian addresses to coordinates, reverse geocode coordinates back to addresses, append congressional, state legislative, school, census, timezone, and ACS demographic fields, batch process large lists, run spreadsheet jobs, and calculate distance between points.

### Why are there two Geocodio APIs in the directory?

Both entries describe the same Geocodio service from vendor-official specs. The main surface documents 16 endpoints including batch arrays of up to 10,000 addresses and explicit ACS demographic appends, while the geocod-io surface is a compact 11-endpoint variant covering single, batch, and list geocoding. They share the same base URL and credential.

### Do the two APIs share one credential?

Yes. A single Geocodio API key works for both surfaces. It is passed as the api_key query parameter on both, and the geocod-io surface additionally accepts it as an Authorization bearer token, so you store one key and use it everywhere.

### Which regions do the Geocodio APIs cover?

Coverage is the United States and Canada. Both surfaces bias parsing by a country parameter that defaults to US and accepts CA for Canadian addresses. Neither surface geocodes addresses outside North America, so global workloads need a different provider.

### How does an agent choose the right endpoint?

Rather than reading reference docs, an agent searches Jentic by intent such as geocode an address or append a congressional district, and Jentic returns the matching Geocodio operation with its parameter schema so the agent picks the correct endpoint and append fields.

### Can an agent enrich addresses with political and census data in one call?

Yes. On both surfaces the fields parameter accepts comma-separated values such as cd, stateleg, school, census, timezone, and acs-demographics, so a single geocode call returns coordinates plus every requested append together.
