Node.js SDK · v1.3.0 · MIT License

Build with Maps.
Ship faster.

Complete Ola Maps API client for Node.js — Places, Routing, Roads, Geofencing, Elevation & Tiles in one intuitive package.

JavaScript
const OlaMapsClient = require('ola-map-sdk');
const client = new OlaMapsClient('YOUR_API_KEY');

// Autocomplete place search
const results = await client.places.autocomplete('Bangalore');

// Get directions with live traffic
const route = await client.routing.getDirections(
  { lat: 12.993103, lon: 77.543326 },
  { lat: 12.972006, lon: 77.580085 },
  { traffic_metadata: true }
);

APIs Covered

Everything you need.
Nothing you don't.

Six powerful APIs wrapped in a clean, promise-based interface. TypeScript-ready, zero bloat.

Places API

Search, geocode, and get detailed place information with autocomplete and nearby search.

Routing API

Turn-by-turn directions, distance matrices, and route optimization with live traffic data.

Roads API

Snap GPS coordinates to roads, find nearest roads, and get speed limit information.

Geofencing

Create and monitor virtual geographic boundaries for location-based tracking and alerts.

Elevation API

Access terrain elevation data for single or multiple locations worldwide.

Tiles API

Map tiles, custom styles, static maps, and 3D tilesets for rich visualization.

Quick Start

Start building in minutes.

Follow our guides to get up and running fast.