Top 100 search results

Returns list of top 100 application ids found in store at pointed timestamp sorted by rank

GET /api/search-results

Query parameters

Mandatory

  • query - keyword to search for

  • storetype - store type (appstore or googleplay)

  • devicetype - device type (iphone or ipad)

  • country - country ISO code (ex.: US, RU, GB etc.)

Optional

  • timestamp (default: now) - timestamp of search results in ISO format (YYYY-MM-DDThh:mmTZD, ex.: 2017-07-16T19:20%2B03:00) Note that plus sign is replaced with %2B

Example request

GET /api/search-results?country=CH&storetype=appstore&query=flight

If we have all required information for this request, you will get following response:

Status: 200 OK

{
    "id": <string>,  // request id for technical support purposes
    "data": {
        "timestamp": <string>,  // ISO format timestamp of results,
        "storetype": <string>,  // same as specified in query params,
        "country": <string>,  // same as specified in query params,
        "results": {
            "app_ids": [<string>]  // application id in store (ordered by rank)
        }
    }
}

If we need to download some additional data from store’s servers, you will get following response:

Status: 202 Accepted

{
    "key": <string>,  //request key for technical support purposes
    "detail": "Result is preparing, try in 30 seconds later"
}

So, try in 30 seconds later and if response will be ready you will get full data.

If store’s servers got no required data or we don’t have required data, you will get following response:

Status: 204 No Content

You may try later to get expected data.