I've been running a 90-day sprint to build Locara into the best location data API for developers. Here's what happened on Day 3.
What is Locara?
Locara is a REST API that gives developers clean, nested access to location data — 250+ countries, 5,300+ states, and 154,000+ cities. The API structure looks like this:
GET /countries/US/states/CA/cities
What I shipped today
Published the official JavaScript/TypeScript SDK on npm:
npm install locara-js
What's in it:
LocaraClient with built-in auth, error handling, and timeout
Full TypeScript types for Country, State, and City
Zero runtime dependencies
ESM + CJS dual output — works in Node 18+ and the browser
Quick example:
tsimport { LocaraClient } from "locara-js";
const client = new LocaraClient({ apiKey: "loc_live_xxxx" });
const countries = await client.countries.list({ limit: 10 });
const states = await client.states.list("IN");
const cities = await client.cities.list("US", "CA");
The 90-day roadmap
Here's what's coming next:
Day 4 — Python SDK (pip install locara-py)
Day 8 — Search endpoint (/search?q=mumbai)
Day 15 — Reverse geocoding (lat/lng → city)
Day 31 — Postal/ZIP codes
I'm building this fully in public. Will post updates as each milestone ships.
Links
npm → npmjs.com/package/locara-js
Docs → locara.online/docs
Free tier, no credit card required → locara.online
Happy to answer any questions about the API design, SDK structure, or the 90-day plan. Feedback welcome.