Get detail of location
Get a single geotargeting location by its ID. Useful when you already know the location_id (e.g. from a previous search or persisted in your data) and need to resolve its canonical name, country code and hierarchy.
This is a shared endpoint — the same location_id values are used across KWFinder, SERPChecker, SERPWatcher and AI Search Watcher. Returns HTTP 404 when the ID is not recognized.
curl -X GET "https://api.mangools.com/v3/mangools/locations/21167"{
"active": true,
"canonical_name": "New York, United States",
"code": "us",
"country_code": "US",
"created_at": 1588773715,
"google_domain": "google.us",
"label": "New York, United States",
"name": "New York",
"parent_id": 2840,
"status": "Active",
"target_type": "State",
"tld": "us",
"type": 70,
"_id": 21167
}{
"error": {
"type": "Error",
"message": "Location not found"
}
}"<html>\n<head><title>429 Too Many Requests</title></head>\n<body>\n<center><h1>429 Too Many Requests</h1></center>\n<hr><center>nginx</center>\n</body>\n</html>\n"