The Location API
Built for Developers
Geocoding, reverse geocoding, places search, vector map tiles, static map images, and custom dataset tiles — everything you need to build location-aware apps. Simple REST API, lightning-fast responses, and generous free tier.
// Geocode an address const response = await fetch( 'https://api.latlng.work/api?q=Seattle', { headers: { 'X-Api-Key': 'YOUR_API_KEY' } } ); // Response { "features": [{ "geometry": { "coordinates": [-122.33, 47.60] } }] }
Everything You Need
Geocoding, reverse geocoding, places search, and map tiles — all through a simple, intuitive API that developers love.
Forward Geocoding
Convert any address, city, or place name into precise latitude and longitude coordinates. Learn more →
Reverse Geocoding
Turn coordinates into human-readable addresses. Perfect for location-based apps. Learn more →
Places & Autocomplete API
Search nearby places and discover POIs (Places API →) or autocomplete addresses + place names as users type (Autocomplete →) — powered by OpenStreetMap.
Vector Map Tiles
Fast, scalable vector tiles powered by OpenStreetMap. Works with MapLibre GL JS for fully custom styles. Learn more →
Leaflet Raster Tiles
Drop-in raster PNG tiles for Leaflet.js — one L.tileLayer call. Light & dark styles, globally cached. Learn more →
14 Map Styles
Light, Dark, Ocean, Winter, Forest, Topo, Vintage, Night, Atlas, Historic and more — all MapLibre-compatible. Browse styles →
Static Maps API
Generate map images (PNG/JPEG) from a single URL. Embed in emails, PDFs, and social cards — no JS needed. Learn more →
Dataset Tiles API
Upload GeoJSON, Shapefile, GPX, or KML and serve it instantly as vector tiles via global CDN. Learn more →
Lightning Fast
Sub-50ms response times powered by edge computing. Your users won't wait.
Global Coverage
Worldwide address data powered by OpenStreetMap. Works in every country.
Secure & Private
HTTPS encryption, no query logging, and GDPR compliant by design.
Usage Dashboard
Monitor your API usage, manage keys, and track requests in real-time.
Showcase
Explore real-time data apps built on the LatLng stack.
Global Shipping Tracker
Live AIS vessel positions worldwide on an interactive 3-D map. Cargo ships, tankers, and more — updated in real time. Open map →
HF Solar Dashboard
Real-time HF propagation conditions driven by live solar flux, sunspot, and geomagnetic data. Open dashboard →
Live Temperature Map
Global air temperature updated every 6 hours from NOAA GFS forecasts, rendered as a smooth heatmap on the LatLng basemap. Open map →
Simple, Transparent Pricing
Start for free, scale as you grow. No hidden fees or surprise charges.
Free
- 3,000 geocoding requests/day
- 300 reverse geocoding/day
- 100 static map images/day
- 3 custom dataset tiles
- Places nearby & search
- Vector map tiles
- API key authentication
- Usage dashboard
- Community support
Pro
- 1,000,000 geocoding requests/month
- 10,000 static map images/month
- 50 custom dataset tiles
- Priority API access
- Advanced analytics
- Email support
Enterprise
- Unlimited requests
- Dedicated infrastructure
- Custom SLA
- On-premise option
- 24/7 phone support
Ready to Build?
Join thousands of developers using LatLng to power their location features. Get your free API key in seconds.
Get Your Free API Key →