Longdo Map API

Geocoding / API Key Intermediate HTTPS CORS
Varies by plan (check documentation)

Overview

Longdo Map is a Thai mapping API that provides detailed maps, places, and location data for Thailand. You can search for locations, get directions, and display interactive maps tailored to the Thai market. It is ideal for apps targeting users in Thailand who need accurate local map data.

💡

Beginner Tip

Always include your API key as a query parameter named `key` in every request. Start with the map tile endpoints to visualize locations before diving into the search features.

Available Data

Longdo Map data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Longdo Map",
    "description": "Interactive map with detailed places and information portal in Thailand",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

data Array of place objects matching the search query
data[].name Name of the place in Thai or English
data[].lon Longitude coordinate of the place
data[].lat Latitude coordinate of the place
data[].type Category type of the place (e.g., restaurant, hotel)
meta.totalcount Total number of results available for the query

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://map.longdo.com/docs/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Invalid API key The key parameter is missing or incorrect
Register at https://map.longdo.com/docs/ to get your API key and include it as ?key=YOUR_API_KEY
No results returned Search keyword may be in wrong script or too vague
Try using Thai or English place names; ensure the keyword is spelled correctly
403 Forbidden Your account may not have access to the requested endpoint
Check your subscription tier on the Longdo developer portal and upgrade if necessary

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 17/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Geocoding
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →