Mangools/API

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.

GET
/mangools/locations/{location}

Authorization

ApiKeyAuth
x-access-token<token>

Your Mangools API key

In: header

Path Parameters

location*string

Location ID

Response Body

application/json

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"
}