Rankings

Get Rollup Keyword Performance

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.

post/locations/ranking-analytics-timeline

Request

Headers

Authorizationstring required

API key for authentication

Request body

fromDatestring date required

Date from where data has to be fetched

toDatestring date required

Date till where data has to be fetched

locationIdsstring[] required

IDs to fetch data

sourcestring[] required

List of sources

Example request

{
  "fromDate": "2023-03-11",
  "toDate": "2023-03-15",
  "locationIds": [
    "TG9jYXRpb246NzkwODQ="
  ],
  "source": [
    "Google"
  ]
}

Response

Successful response

Example response

{
  "data": {
    "rankingsRollupByDate": [
      {
        "siteAverageRanking": [
          {
            "site": "Google",
            "averageRankings": [
              {
                "date": "2023-03-11"
              }
            ]
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.