Skip to content

Geocoding API

CSV2GEO provides a REST API with 19 endpoints for geocoding, reverse geocoding, places search, administrative divisions, address autocomplete, and account management.

Try in ChatGPT

No code needed — geocode addresses directly in ChatGPT. Type an address or drop a CSV/Excel file.

Getting Your API Key

  1. Log in to csv2geo.com
  2. Go to API Keys in the sidebar
  3. Click Create API Key
  4. Copy your key — it starts with geo_live_

Free tier: 1,000 API requests per day, no credit card required.

API Endpoints

MethodEndpointDescription
GET/v1/geocodeForward geocode a single address
POST/v1/geocodeBatch forward geocode (up to 10,000)
GET/v1/reverseReverse geocode a single coordinate
POST/v1/reverseBatch reverse geocode (up to 10,000)
GET/v1/placesSearch 72M+ places by name
GET/v1/places/nearbyFind places near a coordinate
GET/v1/places/categoriesList all place categories
GET/v1/places/brandsSearch places by brand
GET/v1/places/by-id/{id}Get place details by ID
GET/v1/divisionsSearch administrative boundaries
GET/v1/divisions/containsFind what division contains a point
GET/v1/divisions/subtypesList division subtypes
GET/v1/divisions/countriesList countries with division data
GET/v1/divisions/hierarchy/{id}Get division hierarchy
GET/v1/divisions/{id}Get division by ID
GET/v1/divisions/statsCoverage statistics
GET/v1/divisions/randomRandom division (testing)
GET/v1/autocompleteAddress autocomplete
GET/v1/meAccount info, plan, and rate limits

Quick Start

Forward Geocode (Address → Coordinates)

bash
curl "https://csv2geo.com/api/v1/geocode?q=1600+Pennsylvania+Ave,+Washington+DC&country=US&api_key=YOUR_KEY"

Reverse Geocode (Coordinates → Address)

bash
curl "https://csv2geo.com/api/v1/reverse?lat=40.7484&lng=-73.9857&api_key=YOUR_KEY"

Python SDK

bash
pip install csv2geo
python
from csv2geo import Client

client = Client("YOUR_API_KEY")

# Forward geocode
result = client.geocode("1600 Pennsylvania Ave, Washington DC", country="US")
print(f"{result.lat}, {result.lng}")

# Reverse geocode
result = client.reverse(lat=40.7484, lng=-73.9857)
print(result.formatted_address)

Node.js SDK

bash
npm install csv2geo-sdk
javascript
const { Client } = require('csv2geo-sdk');

const client = new Client({ apiKey: 'YOUR_API_KEY' });

const result = await client.geocode('1600 Pennsylvania Ave, Washington DC', { country: 'US' });
console.log(result.lat, result.lng);

Import API Collections

Test all 39 endpoints instantly in your favorite API tool:

Full Documentation

Rate Limits

TierRequests/dayBatch Size
Free1,000100
Starter50,0001,000
Growth250,0005,000
Pro1,000,00010,000

Check response headers for your current usage:

  • X-RateLimit-Limit — Maximum requests per minute
  • X-RateLimit-Remaining — Requests remaining
  • X-RateLimit-Reset — When the window resets

Batch Geocoding Made Easy