Geocoding API logo

Geocoding API

Bydataandapis.com
|
Data
|
2 tokens / call

City and place-level forward and reverse geocoding for 233,000+ populated places worldwide: turn a place name into coordinates (population-ranked) or coordinates into the nearest places with distances. Self-hosted GeoNames data — no third-party calls.

Quick Start

Subscribe to get instant API access with your unique API key.

View Pricing Plans

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Query Parameters

country(Optional)
limit(Optional)
q(Required)

Please subscribe to see the actual API URL

import axios from 'axios';

const url = '{API_URL}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});