App Power

GET 3 Credits / Request / 30 days /android/applications/{APPLICATION_ID}/power.json

The App Power indicates the power of the app based on its rankings in its category and in the overall category.

The App Power Request

Header parameters
X-AppTweak-Key:
Your AppTweak API Key.
Path parameters
APPLICATION_ID:
Application ID for which you want to get the metadata.
Query parameters
country: string us

The two letter country code (ISO Alpha-2) you want to fetch the app in.

us. Get the list of our country codes, here.

start_date: date

Start date, format: YYYY-MM-DD

end_date: date

End date, format: YYYY-MM-DD

GET /android/applications/{APPLICATION_ID}/power.json

Request example
GET /android/applications/com.airbsit.development/power.json?country=us&start_date=2018-10-03&end_date=2018-10-10
cURL example
curl -X GET -H "X-Apptweak-Key: ${API_KEY}" https://api.apptweak.com/android/applications/com.airbsit.development/power.json?country=us&start_date=2018-10-03&end_date=2018-10-10

App Power Response

The response for the App Power request is a JSON hash containing all the calculated values for the given application in the selected country and period (dates range) on the Google Play Store.

Object properties
country_code (e.g. us): array

Key/value pairs containing the history of the App Power on the selected period per device.

CHILD PROPERTIES

start_date: datetime

Start date for the selected period.

end_date: datetime

End date for the selected period.

power: hash

Key/number pairs listing all calculated App Power for each day on the selected period.

Response Example

{
  "content": {
    "be": [
      {
        "start_date": "2018-01-01",
        "end_date": "2018-01-15",
        "power": [
          87.6,
          87.5,
          87.5,
          87.5,
          87.6,
          87.6,
          87.7,
          87.8,
          87.9,
          87.9,
          87.9,
          88.1,
          88.2,
          88.2,
          88.3
        ]
      }
    ]
  },
  "metadata": {
    "request": {
      "path": "/applications/com.airbsit.development/power.json",
      "store": "android",
      "params": {
        "country": "be",
        "start_date": "2018-01-01T00:00:00+00:00",
        "end_date": "2018-01-15T00:00:00+00:00",
        "id": "com.airbsit.development",
        "format": "json"
      },
      "performed_at": "2018-11-26 23:27:19 UTC"
    },
    "content": {
    }
  }
}