---
title: "Get Rollup Keyword Performance"
method: POST
path: "/locations/ranking-analytics-timeline"
tags: ["Rankings"]
---

# Get Rollup Keyword Performance

`POST /locations/ranking-analytics-timeline`

## Request

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

This API allows you to fetch ranking analytics data for multiple locations in your account within a single API call for a specific period. You can also specify the sources you want to filter the results for. The sources include Google maps and Google search.

## Headers

- `Authorization` string, required

## Request body

- object
  - `fromDate` string, date, required: Date from where data has to be fetched
  - `toDate` string, date, required: Date till where data has to be fetched
  - `locationIds` string[], required: IDs to fetch data
  - `source` string[], required: List of sources

## Response `200`

Successful response

- object
  - `data` object
    - `rankingsRollupByDate` object[]
      - `siteAverageRanking` object[]
        - `site` 'Google' | 'Bing' | 'Yahoo' | 'Google Maps': Source of rankings
        - `averageRankings` object[]
          - `date` string, date: Specific date
          - `averageRank` integer: The value for the date

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[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)
