Extract Locations from Any Text
AI-powered location extraction with multi-source geocoding. Get accurate coordinates for any place mentioned in your text.
βLLM-powered extraction
βMulti-source geocoding
βConfidence scoring
Try it out
464 characters
Click "Extract Locations" to see results
Quick Start
POST
/api/extract-locationscurl -X POST https://your-domain.vercel.app/api/extract-locations \
-H "Content-Type: application/json" \
-d '{"text": "Visit the Eiffel Tower in Paris and Big Ben in London"}'Response
{
"success": true,
"locations": [
{
"name": "Eiffel Tower",
"description": "Iconic iron tower in Paris, France",
"latitude": 48.8584,
"longitude": 2.2945,
"confidence": "high",
"sources": ["llm", "google", "nominatim"],
"raw_mentions": ["the Eiffel Tower in Paris"]
},
{
"name": "Big Ben",
"description": "Famous clock tower at the Houses of Parliament in London",
"latitude": 51.5007,
"longitude": -0.1246,
"confidence": "high",
"sources": ["llm", "google", "nominatim"],
"raw_mentions": ["Big Ben in London"]
}
],
"input_length": 54,
"processing_time_ms": 1234
}π€
AI-Powered Extraction
Uses Claude to identify location mentions, handles nicknames, abbreviations, and context.
πΊοΈ
Multi-Source Geocoding
Cross-references Google Maps and OpenStreetMap for accurate, verified coordinates.
β
Confidence Scoring
Know how reliable each coordinate is: high (multi-source), medium (single), or low (estimate).
Pricing
Self-Hosted
Deploy your own instance
- β Unlimited requests
- β Your own API keys
- β Full source code
- β One-click Vercel deploy