v1

latestOpenAPI 3.1.02026-07-24450694.7 KB

Keyword Live Search - History

Returns historical app results of a search for a given keyword. For each day in the requested period, this query will return the search result if AppTweak made a search on that date for that keyword.

get/keywords/search-results/history.json

Query parameters

keywordstring required

The keyword to search for. Only <b>one</b> keyword is allowed.

countrystring

Two letter <a href="https://apptweak.readme.io/reference/country-codes">country code</a>. <br/><b>Default:</b> us

languagestring

Two letter <a href="https://developers.apptweak.com/reference/languages" target="_blank">language code</a>. <br/><b>Default:</b> AppTweak <a href="https://developers.apptweak.com/reference/languages-overview#default-language" target="_blank">default language</a> of the country.

device'iphone' | 'ipad' | 'android'

Choose a device from iphone, ipad or android. <br/><b>Default:</b> iphone

start_datestring date

Start date of the period in format YYYY-MM-DD<br/><b>Default:</b> 30 days ago

end_datestring date

End date of the period in format YYYY-MM-DD<br/><b>Default:</b> yesterday

Response

200

OR

Example response

{
  "result": [
    {
      "date": "2021-11-01",
      "value": [
        493145008
      ]
    }
  ],
  "metadata": {
    "request": {
      "path": "/api/public/store/keywords/search-results/history.json",
      "params": {
        "device": "iphone",
        "country": "in",
        "language": "en",
        "limit": 10,
        "start_date": "2021-11-01",
        "end_date": "2021-11-03",
        "keyword": "meditation"
      },
      "cost": 61,
      "max_credit_cost": 61,
      "status": 200
    }
  }
}