---
title: "Search Keyword Locations Ep"
method: GET
path: "/sites/{site_id}/tracked-keywords/locations"
tags: ["sites"]
---

# Search Keyword Locations Ep

`GET /sites/{site_id}/tracked-keywords/locations`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/sites/{site_id}/tracked-keywords/locations`
- Auth: API key in header `X-Agent-Key`

Search provider-supported countries, states, cities and local areas.

## Path parameters

- `site_id` string, required

## Query parameters

- `q` string, required
- `email` string, nullable

## Response `200`

Successful Response

- RankingLocationOut[]
  - `location_code` integer, required
  - `location_name` string, required
  - `location_type` string, required
  - `country_iso_code` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
