250+ countries · 5,300+ states · 154,000+ cities

The world's location data,
via deeply nested APIs.

Build location-aware applications with accurate data from 250+ countries, 5,300+ states, and 154,000+ cities. Lightning-fast REST infrastructure.

~
curl https://www.locara.online/api/v1/countries/US/states/CA/cities \
  -H "Authorization: Bearer loc_live_****"
{
  "success": true,
  "data": [
    {
      "id": "9f8c8d8b-...",
      "name": "Los Angeles",
      "latitude": "34.0522",
      "longitude": "-118.2437"
    },
    ... 1149 more cities
  ],
  "pagination": { "total": 1150 }
}
250+
Countries
5,300+
States & Provinces
154,000+
Cities Worldwide
99.99%
API Uptime
Uptime status
Why Choose Locara

Engineered for Global Scale

Everything you need for geographical data in one comprehensive, deeply nested REST platform.

Complete Coverage

Access every country, state, and city worldwide with precise IDs, ISO codes, and coordinates.

GET /api/v1/countries

Nested Architecture

Strictly nested REST paths allow you to drill down accurately: Country -> State -> City.

GET /api/v1/countries/US/states/CA

Unified Search

Search across countries, states, and cities in a single request with ranked results and optional type filtering (?type=country|state|city)

GET /api/v1/search?q=gujarat&type=state

Edge Delivery

Responses are cached globally at the edge, ensuring sub-50ms latency no matter where your users are.

GET /api/v1/cities

Developer Experience

Built-in pagination, predictable error handling, and fully typed SDKs for seamless integration.

GET /docs

Official SDKs

Integrate Locara seamlessly with our fully typed SDKs.

Python SDK

pip install locara

Fully typed Python client with pagination helpers, error handling, and iter_all() generator.

JavaScript / TypeScript SDK

npm install locara-js

Native ESM TypeScript client with full type definitions for all endpoints.

See it live

Explore our interactive database demo with cascading Region → Country → State → City dropdowns and Global Search — no API key needed.

View Live Demo
Trusted by Developers

Built for teams shipping fast

See why engineers and founders choose Locara for production location data.

Locara saved us weeks of work. We needed country/state/city dropdowns across 12 countries and had it running in an afternoon.

AM
Arjun Mehta
Senior Engineer, Shipday

The nested API structure is exactly how location data should work. Clean, fast, and the docs are actually good.

SL
Sofia Lindqvist
CTO, Formbase

We evaluated 4 location APIs. Locara was the only one with consistent city data for Southeast Asia. Game changer.

DO
Daniel Osei
Founder, Nestly

Simple, Transparent Pricing

Start free and scale effortlessly as your application grows.

Free

Perfect for side projects and local development.

$0/mo
3,000 requests/month
All geographical data
Standard REST endpoints
Community support
Get Started
Most Popular

Pro

Ideal for growing startups and production apps.

$10/mo
100,000 requests/month
Priority Edge delivery
Advanced pagination
Email support
99.99% Uptime SLA
Get Started

Enterprise

For massive scale and specialized requirements.

Custom
Unlimited requests
Dedicated infrastructure
24/7 Phone support
Custom integrations
Account manager
Contact Sales

Start fetching location data in 2 minutes.

Create a free account, generate an API key, and query 250+ countries, 5,300+ states, and 154,000+ cities from day one.

Generate API Key