---
updatedAt: 2026-10-05T14:09:44.000Z
agentTools:
  projectIndex: https://developers.apptweak.com/llms.txt
---

# App Keyword Ranking - History

<b>Price</b><table><thead><tr><th>Data</th><th>Credits</th><th>Per</th></tr></thead><tbody><tr><td>Rank</td><td>5</td><td>app and metric</td></tr><tr><td>Installs</td><td>5</td><td>app and metric</td></tr></tbody></table> <br/><br/> Any date range up to 1 year costs the same. <Callout icon="📘" theme="info"><b>Ranked, unranked or no data</b><p>To know whether your app is ranked on a keyword or not, you can refer to the following logic in the response data:</p><p>&bull; <code>value</code> = non-null and <code>fetch_performed</code> = <code>true</code> ➔ ranked<br/>&bull; <code>value</code> = <code>null</code> and <code>fetch_performed</code> = <code>true</code> ➔ unranked<br/>&bull; <code>value</code> = <code>null</code> and <code>fetch_performed</code> = <code>false</code> ➔ no data</p><p>In addition to <code>value</code>, <b>you can use <code>effective_value</code>, that corresponds to a value that is guaranteed to be non-null</b>. The logic to compute <code>effective_value</code> is:</p><p>&bull; If <code>value</code> is not <code>null</code>, <code>effective_value</code> = <code>value</code><br/>&bull; Otherwise, if <code>fetch_performed</code> = <code>true</code>, then <code>effective_value</code> = <code>501</code>, the numeric representation of unranked<br/>&bull; Otherwise, if there is at least one non-null value in the date range, take the closest day to the missing day and use that <code>value</code> (an average if two days are equally close)<br/>&bull; Otherwise, defaults to <code>501</code></p></Callout>

<Callout icon="👍" theme="okay">
  ### Improved Keyword Installs starting July 17, 2025

  Starting July 17, 2025, we're updating our keyword installs estimates. This change will make keyword performance trends even more precise, especially when looking at historical data.
</Callout>

<Callout icon="⚠️" theme="warn">
  ### `effective_value` can differ between requests for the same day

  `effective_value` is estimated using the other days within the date range you queried — it never looks outside your `start_date`/`end_date`. This means that querying the same day with a wider or narrower range can return a different `effective_value` for that same day, if it changes which neighboring days are available to estimate from.

  If you need a number for a given day that's stable regardless of the range you query, use `value` instead, and treat null as "no estimate available" rather than defaulting it to 0 yourself.

  More info on these rule can be found [here.](https://developers.apptweak.com/reference/keyword-metrics-by-app#rules-for-missing-data-in-historical-endpoints)
</Callout>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1",
    "title": "App Store API",
    "contact": {
      "name": "AppTweak",
      "email": "support@apptweak.com"
    }
  },
  "servers": [
    {
      "url": "https://public-api.apptweak.com/api/public/store"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/apps/keywords-rankings/history.json": {
      "get": {
        "summary": "App Keyword Ranking - History",
        "description": "<b>Price</b><table><thead><tr><th>Data</th><th>Credits</th><th>Per</th></tr></thead><tbody><tr><td>Rank</td><td>5</td><td>app and metric</td></tr><tr><td>Installs</td><td>5</td><td>app and metric</td></tr></tbody></table> <br/><br/> Any date range up to 1 year costs the same. <Callout icon=\"📘\" theme=\"info\"><b>Ranked, unranked or no data</b><p>To know whether your app is ranked on a keyword or not, you can refer to the following logic in the response data:</p><p>&bull; <code>value</code> = non-null and <code>fetch_performed</code> = <code>true</code> ➔ ranked<br/>&bull; <code>value</code> = <code>null</code> and <code>fetch_performed</code> = <code>true</code> ➔ unranked<br/>&bull; <code>value</code> = <code>null</code> and <code>fetch_performed</code> = <code>false</code> ➔ no data</p><p>In addition to <code>value</code>, <b>you can use <code>effective_value</code>, that corresponds to a value that is guaranteed to be non-null</b>. The logic to compute <code>effective_value</code> is:</p><p>&bull; If <code>value</code> is not <code>null</code>, <code>effective_value</code> = <code>value</code><br/>&bull; Otherwise, if <code>fetch_performed</code> = <code>true</code>, then <code>effective_value</code> = <code>501</code>, the numeric representation of unranked<br/>&bull; Otherwise, if there is at least one non-null value in the date range, take the closest day to the missing day and use that <code>value</code> (an average if two days are equally close)<br/>&bull; Otherwise, defaults to <code>501</code></p></Callout>",
        "operationId": "get_appskeywords-rankingshistory.",
        "tags": [
          "Keyword Metrics by App"
        ],
        "parameters": [
          {
            "name": "apps",
            "in": "query",
            "description": "Comma-separated list of app IDs (max 5). <a href=\"https://developers.apptweak.com/reference/how-to-find-app-ids\" target=\"_blank\"><b>How to find App IDs?</b></a>",
            "required": true,
            "example": "546505307,1113153706",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keywords",
            "in": "query",
            "description": "Comma separated list of keywords. Max 5 keywords are allowed.",
            "required": true,
            "example": "meeting",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "metrics",
            "in": "query",
            "description": "Comma separated list of metrics (rank, installs).",
            "required": true,
            "example": "rank, installs",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "query",
            "description": "Two-letter country code (`us`, `gb`, `fr`). Accepted values: <a href=\"https://developers.apptweak.com/reference/countries-1\" target=\"_blank\"><code>GET /api/public/apptweak/countries</code></a> with `store=ios` or `store=android`. Defaults to us.",
            "required": false,
            "schema": {
              "default": "us",
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "AppTweak language code, not always ISO: US English is `us`, US Spanish `sp`. Accepted pairs: <a href=\"https://developers.apptweak.com/reference/languages-1\" target=\"_blank\"><code>GET /api/public/apptweak/languages</code></a> with `store=ios` or `store=android`. Defaults to the country's <a href=\"https://developers.apptweak.com/reference/languages-overview#default-language\" target=\"_blank\"><b>default language</b></a>.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "device",
            "in": "query",
            "description": "Choose a device from iphone, ipad or android. Defaults to iphone.",
            "required": false,
            "schema": {
              "default": "iphone",
              "type": "string",
              "enum": [
                "iphone",
                "ipad",
                "android"
              ]
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "description": "Start date (YYYY-MM-DD). Send both dates or omit both. Maximum range: one full calendar year. Defaults to 30 days ago.",
            "required": false,
            "example": "2026-06-01",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "End date (YYYY-MM-DD). Defaults to yesterday.",
            "required": false,
            "example": "2026-07-01",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "title": "App ID",
                        "description": "Keyed by app ID (numeric App Store ID on iOS, package name on Android)",
                        "additionalProperties": {
                          "type": "object",
                          "title": "Keyword",
                          "description": "Keyed by keyword. Only the metrics requested in `metrics` are present.",
                          "properties": {
                            "rank": {
                              "type": "array",
                              "description": "Daily ranking of the app for the keyword, one entry per day in the requested range",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "value": {
                                    "type": "integer",
                                    "nullable": true,
                                    "description": "Rank of the app for the keyword on that day. Null when the app is unranked or when no data is available; read `fetch_performed` to tell those apart, or `effective_value` for a number that is never null."
                                  },
                                  "date": {
                                    "type": "string",
                                    "format": "date",
                                    "description": "Day (YYYY-MM-DD) the data point refers to"
                                  },
                                  "fetch_performed": {
                                    "type": "boolean",
                                    "description": "Whether a search was performed on that day. Combined with `value`, tells ranked from unranked from no data."
                                  },
                                  "effective_value": {
                                    "type": "integer",
                                    "description": "Guaranteed non-null rank: `value` when set, else 501 if `fetch_performed`, else estimated from the closest days, else 501"
                                  }
                                }
                              }
                            },
                            "installs": {
                              "type": "array",
                              "description": "Estimated daily installs driven by the keyword to the app, one entry per day in the requested range",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "value": {
                                    "type": "number",
                                    "nullable": true,
                                    "description": "Estimated installs on that day. Null when no data is available; `effective_value` is never null."
                                  },
                                  "date": {
                                    "type": "string",
                                    "format": "date",
                                    "description": "Day (YYYY-MM-DD) the data point refers to"
                                  },
                                  "effective_value": {
                                    "type": "number",
                                    "description": "Guaranteed non-null value: `value` when set, else estimated from the closest days, else 0"
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/ResponseMetadata"
                    }
                  }
                },
                "examples": {
                  "Result": {
                    "value": {
                      "result": {
                        "us.zoom.videomeetings": {
                          "meeting": {
                            "rank": [
                              {
                                "value": 5,
                                "date": "2025-08-01",
                                "fetch_performed": true,
                                "effective_value": 5
                              },
                              {
                                "value": 3,
                                "date": "2025-08-02",
                                "fetch_performed": true,
                                "effective_value": 3
                              },
                              {
                                "value": 3,
                                "date": "2025-08-03",
                                "fetch_performed": true,
                                "effective_value": 3
                              }
                            ],
                            "installs": [
                              {
                                "value": 1.292,
                                "date": "2025-08-01",
                                "effective_value": 1.292
                              },
                              {
                                "value": 2.041,
                                "date": "2025-08-02",
                                "effective_value": 2.041
                              },
                              {
                                "value": 1.037,
                                "date": "2025-08-03",
                                "effective_value": 1.037
                              }
                            ]
                          }
                        },
                        "com.microsoft.teams": {
                          "meeting": {
                            "rank": [
                              {
                                "value": 7,
                                "date": "2025-08-01",
                                "fetch_performed": true,
                                "effective_value": 7
                              },
                              {
                                "value": 6,
                                "date": "2025-08-02",
                                "fetch_performed": true,
                                "effective_value": 6
                              },
                              {
                                "value": 6,
                                "date": "2025-08-03",
                                "fetch_performed": true,
                                "effective_value": 6
                              }
                            ],
                            "installs": [
                              {
                                "value": 0.986,
                                "date": "2025-08-01",
                                "effective_value": 0.986
                              },
                              {
                                "value": 0.989,
                                "date": "2025-08-02",
                                "effective_value": 0.989
                              },
                              {
                                "value": 0.502,
                                "date": "2025-08-03",
                                "effective_value": 0.502
                              }
                            ]
                          }
                        }
                      },
                      "metadata": {
                        "request": {
                          "path": "/api/public/store/apps/keywords-rankings/history.json",
                          "params": {
                            "device": "android",
                            "country": "us",
                            "language": "us",
                            "start_date": "2025-08-01",
                            "end_date": "2025-08-03",
                            "apps": [
                              "us.zoom.videomeetings",
                              "com.microsoft.teams"
                            ],
                            "metrics": [
                              "rank",
                              "installs"
                            ],
                            "keywords": [
                              "meeting"
                            ]
                          },
                          "cost": 20,
                          "status": 200,
                          "charge_type": "credits"
                        },
                        "response": null
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized. Unknown or missing API token."
          },
          "403": {
            "description": "Forbidden. Not enough credits to perform the request."
          },
          "422": {
            "description": "Validation error. Returned when a parameter is invalid."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "x-apptweak-key",
        "in": "header"
      }
    },
    "schemas": {
      "ResponseMetadata": {
        "type": "object",
        "description": "Standard response envelope, identical on every endpoint.",
        "properties": {
          "request": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string",
                "description": "The path that was called."
              },
              "params": {
                "type": "object",
                "nullable": true,
                "description": "The query as the API parsed it, with defaults applied."
              },
              "cost": {
                "type": "integer",
                "description": "Credit cost of the request. Thread tokens do not debit credits."
              },
              "charge_type": {
                "type": "string",
                "enum": [
                  "credits",
                  "thread"
                ],
                "description": "How the request is paid. `credits`: debited from the company's balance. `thread`: an unlimited token, not debited; `cost` shows what the request is worth."
              },
              "status": {
                "type": "integer",
                "description": "HTTP status of the response."
              }
            }
          },
          "response": {
            "type": "object",
            "nullable": true,
            "description": "Endpoint-specific notes; null when there are none."
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```