---
title: "Get visibility by location"
method: GET
path: "/api/mcp/projects/{projectId}/visibility/locations"
tags: ["Visibility"]
---

# Get visibility by location

`GET /api/mcp/projects/{projectId}/visibility/locations`

Visibility broken down by tracked location (per-country/city), with share of voice, sentiment, avg position, and the change vs the prior equal-length window. Filter with `country` / `locationId` / `platform` / `topicId`. Pass unbranded=true or branded=true to filter by prompt brand state. Returns all locations when unfiltered. `days` defaults to 30, max 365.

## Path parameters

- `projectId` string, uuid, required

## Query parameters

- `days` integer
- `unbranded` 'true'
- `branded` 'true'
- `country` string
- `locationId` string
- `platform` string
- `topicId` string, uuid

## Response `200`

Visibility by location.

- VisibilityLocationsResponse
  - `project` ProjectRef, required
    - `id` string, uuid, required
    - `name` string, required
    - `domain` string, nullable, required
  - `locations` LocationBreakdownRow[], required
    - `locationId` string
    - `countryCode` string
    - `city` string, nullable
    - `region` string, nullable
    - `latitude` number, nullable
    - `longitude` number, nullable
    - `promptCount` integer
    - `responseCount` integer
    - `mentionCount` integer
    - `brandMentions` integer
    - `allMentions` integer
    - `visibility` number
    - `avgPosition` number, nullable
    - `positiveSentiment` number
    - `shareOfVoice` number
    - `visibilityChange` number, nullable
    - `sovChange` number, nullable
    - `sentimentChange` number, nullable
  - `totals` object, required
    - `totalPrompts` integer
    - `totalResponses` integer
  - `dateRange` DateRange, required — The resolved lookback window for this response.
    - `from` string, date-time, required
    - `to` string, date-time, required

## Other responses

- `400` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `401` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `403` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `404` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `429` — Rate limited. Usually the per-API-key REST limit (600 requests/minute); on Google-backed endpoints it can also relay an upstream Google rate limit. `Retry-After` (seconds) is present when the limit was applied by Searchable's own rate limiter; it may be absent when an upstream provider rate-limits.
- `504` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.

---

[API](https://skmtc.net/searchable/apis/searchable-rest-api.md) · [All operations](https://skmtc.net/searchable/apis/searchable-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/searchable/searchable-rest-api/revisions/301b04e800ed/schema)
