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

# Keyword Metrics - History

Get historical metrics for selected keywords over a given date range. If you want to have live data for keyword metrics, please see [Keyword Metrics - Current](https://developers.apptweak.com/reference/keyword-metrics-current) <br/><br/> Known metrics unavailable for the selected country or device remain present as one dated null value per requested day with HTTP 200. Volume and max reach require Apple Ads country coverage on iPhone, iPad and Android; search popularity additionally requires iPhone or iPad. Result counts retain broader storefront-country coverage and are fetched independently, including in mixed requests. For example, requesting all four metrics for Bosnia and Herzegovina (ba) returns dated nulls for volume, max reach and search popularity, while results contains available result counts. Unavailable metrics do not incur datapoint credits or increase the maximum credit requirement; the request fee still applies. <br/><br/> See also: [Volume History - multi-countries extract](https://developers.apptweak.com/recipes/volume-history-multi-countries-extract) (Recipe) <Callout icon="📘" theme="info"><b>What <code>volume</code> carries over a range</b><p><code>volume</code> returns the AppTweak Volume Estimate from August 12, 2026 onward. Earlier days keep the store-reported score, which is not rewritten, so a range spanning that date shows a step change. Request <code>search_popularity</code> for the App Store's raw, store-reported score.</p><p><code>search_popularity</code> is only available in countries where <a href="https://ads.apple.com/app-store/countries-and-regions" target="_blank"><b>Apple Ads</b></a> is available, and returns dated null values for <code>device=android</code>: Google Play publishes no equivalent. Use <code>volume</code> for Android keyword volume.</p><p>Android volume history starts on February 10, 2024.</p></Callout> <br/><br/> <b>Price</b><table><thead><tr><th>Data</th><th>Credits</th><th>Per</th></tr></thead><tbody><tr><td>Volume</td><td>5</td><td>metric</td></tr><tr><td>Results</td><td>5</td><td>metric</td></tr><tr><td>Max reach</td><td>5</td><td>metric</td></tr><tr><td>Search popularity</td><td>5</td><td>metric</td></tr></tbody></table> <br/><br/> Any date range up to 1 year costs the same.

# 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": []
    }
  ],
  "tags": [
    {
      "name": "Keyword Metrics",
      "description": "Returns analytics data for different keywords that AppTweak gathers or estimates."
    }
  ],
  "paths": {
    "/keywords/metrics/history.json": {
      "get": {
        "summary": "Keyword Metrics - History",
        "description": "Get historical metrics for selected keywords over a given date range. If you want to have live data for keyword metrics, please see [Keyword Metrics - Current](https://developers.apptweak.com/reference/keyword-metrics-current) <br/><br/> Known metrics unavailable for the selected country or device remain present as one dated null value per requested day with HTTP 200. Volume and max reach require Apple Ads country coverage on iPhone, iPad and Android; search popularity additionally requires iPhone or iPad. Result counts retain broader storefront-country coverage and are fetched independently, including in mixed requests. For example, requesting all four metrics for Bosnia and Herzegovina (ba) returns dated nulls for volume, max reach and search popularity, while results contains available result counts. Unavailable metrics do not incur datapoint credits or increase the maximum credit requirement; the request fee still applies. <br/><br/> See also: [Volume History - multi-countries extract](https://developers.apptweak.com/recipes/volume-history-multi-countries-extract) (Recipe) <Callout icon=\"📘\" theme=\"info\"><b>What <code>volume</code> carries over a range</b><p><code>volume</code> returns the AppTweak Volume Estimate from August 12, 2026 onward. Earlier days keep the store-reported score, which is not rewritten, so a range spanning that date shows a step change. Request <code>search_popularity</code> for the App Store's raw, store-reported score.</p><p><code>search_popularity</code> is only available in countries where <a href=\"https://ads.apple.com/app-store/countries-and-regions\" target=\"_blank\"><b>Apple Ads</b></a> is available, and returns dated null values for <code>device=android</code>: Google Play publishes no equivalent. Use <code>volume</code> for Android keyword volume.</p><p>Android volume history starts on February 10, 2024.</p></Callout> <br/><br/> <b>Price</b><table><thead><tr><th>Data</th><th>Credits</th><th>Per</th></tr></thead><tbody><tr><td>Volume</td><td>5</td><td>metric</td></tr><tr><td>Results</td><td>5</td><td>metric</td></tr><tr><td>Max reach</td><td>5</td><td>metric</td></tr><tr><td>Search popularity</td><td>5</td><td>metric</td></tr></tbody></table> <br/><br/> Any date range up to 1 year costs the same.",
        "operationId": "keyword-metrics-history",
        "tags": [
          "Keyword Metrics"
        ],
        "parameters": [
          {
            "name": "keywords",
            "in": "query",
            "description": "Comma separated list of keywords. Max 5 keywords are allowed.",
            "required": true,
            "example": "fitness",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "metrics",
            "in": "query",
            "description": "Comma separated list of metrics: volume, max_reach, results, search_popularity. Volume and max_reach require Apple Ads country coverage on all devices; search_popularity additionally requires iPhone or iPad. Results supports broader storefront countries. Known unavailable metrics remain present as dated null values.",
            "required": true,
            "example": "volume",
            "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. Outside Apple Ads coverage, volume, max_reach and search_popularity return dated null values; results is fetched independently.",
            "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. Search_popularity returns dated null values for android; other metrics remain subject to their country coverage.",
            "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. Every requested keyword and known metric remains present with one entry per day. Values are null when the metric is unavailable for the country/device or no observation exists. If one history source fails, its metrics return null while available data from the other source is preserved; if every eligible source fails, the response is 500.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "title": "Keyword",
                        "description": "Keyed by keyword. Only the metrics asked for through the `metrics` parameter are returned",
                        "properties": {
                          "volume": {
                            "type": "array",
                            "description": "Daily AppTweak Volume Estimate, one entry per day of the requested date range. Available only in Apple Ads countries on iPhone, iPad and Android; values are null outside that coverage. Days before August 12, 2026 carry the store-reported Search Popularity score instead, as the estimate is not backfilled",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string",
                                  "format": "date",
                                  "description": "Day the value was recorded (YYYY-MM-DD)"
                                },
                                "value": {
                                  "type": "integer",
                                  "nullable": true,
                                  "description": "Volume estimate, on a scale from 5 to 100. Null outside Apple Ads country coverage, when AppTweak has no data for that day, or when this history source fails while another succeeds"
                                }
                              }
                            }
                          },
                          "results": {
                            "type": "array",
                            "description": "Daily number of apps returned by the store for this keyword, one entry per day of the requested date range. Supports valid storefront countries beyond Apple Ads coverage on iPhone, iPad and Android, including in mixed-metric requests",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string",
                                  "format": "date",
                                  "description": "Day the value was recorded (YYYY-MM-DD)"
                                },
                                "value": {
                                  "type": "integer",
                                  "nullable": true,
                                  "description": "Number of search results. Null when AppTweak has no data for that day, or when this history source fails while another succeeds"
                                }
                              }
                            }
                          },
                          "max_reach": {
                            "type": "array",
                            "description": "Daily max reach, one entry per day of the requested date range. Available only in Apple Ads countries on iPhone, iPad and Android; values are null outside that coverage",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string",
                                  "format": "date",
                                  "description": "Day the value was recorded (YYYY-MM-DD)"
                                },
                                "value": {
                                  "type": "integer",
                                  "nullable": true,
                                  "description": "Estimated impressions. Null outside Apple Ads country coverage, when AppTweak has no data for that day, or when this history source fails while another succeeds"
                                }
                              }
                            }
                          },
                          "search_popularity": {
                            "type": "array",
                            "description": "Daily store-reported Search Popularity score, one entry per day of the requested date range. Available only in Apple Ads countries on iPhone and iPad; values are null for Android or outside that country coverage",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string",
                                  "format": "date",
                                  "description": "Day the value was recorded (YYYY-MM-DD)"
                                },
                                "value": {
                                  "type": "integer",
                                  "nullable": true,
                                  "description": "Store-reported Search Popularity score, on a scale from 5 to 100. Null for Android, outside Apple Ads country coverage, when AppTweak has no data for that day, or when this history source fails while another succeeds"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/ResponseMetadata"
                    }
                  }
                },
                "examples": {
                  "Result": {
                    "value": {
                      "result": {
                        "karaoke": {
                          "volume": [
                            {
                              "date": "2021-12-24",
                              "value": 54
                            },
                            {
                              "date": "2021-12-25",
                              "value": 54
                            },
                            {
                              "date": "2021-12-26",
                              "value": 54
                            }
                          ],
                          "results": [
                            {
                              "date": "2021-12-24",
                              "value": 1728
                            },
                            {
                              "date": "2021-12-25",
                              "value": 1717
                            },
                            {
                              "date": "2021-12-26",
                              "value": 1724
                            }
                          ]
                        }
                      },
                      "metadata": {
                        "request": {
                          "path": "/api/public/store/keywords/metrics/history.json",
                          "params": {
                            "device": "iphone",
                            "country": "us",
                            "language": "us",
                            "start_date": "2021-12-24",
                            "end_date": "2021-12-26",
                            "keywords": [
                              "karaoke"
                            ],
                            "metrics": [
                              "volume",
                              "results"
                            ]
                          },
                          "cost": 10,
                          "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 for invalid request parameters, including unknown metric names, unsupported storefront countries or languages, and invalid devices or dates. Known metrics unavailable for a valid country/device return dated null values instead."
          },
          "500": {
            "description": "Server error, including failure of every eligible history source. No credits are charged."
          }
        }
      }
    }
  },
  "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
}
```