---
title: "Get Bing Analytics"
method: GET
path: "/locations/{locationId}/bing-analytics"
tags: ["Profile Analytics"]
---

# Get Bing Analytics

`GET /locations/{locationId}/bing-analytics`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/locations/{locationId}/bing-analytics`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/locations/:locationId/bing-analytics/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch profile analytics for Bing data for a specific location

## Path parameters

- `locationId` string, required

## Query parameters

- `fromDate` string, date
- `toDate` string, date

## Headers

- `Authorization` string, required

## Response `200`

Successful response

- object
  - `data` object
    - `bingInsights` object
      - `views` object[]: The number of views the Bing profile has received
        - `startTime` string, date-time: Start time of the analytics period
        - `value` integer: Number of views for the period

## Other responses

- `401`: Unauthorized
- `404`: Location not found

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
