JustSERPDocs
Apple

Apple App Store Top Charts

The free or paid chart of a storefront, from Apple's chart feed, answered as the document with `top_charts`.

GET
/v1/apple/app-store/top-charts

The free or paid chart of a storefront, from Apple's chart feed, answered as the document with top_charts. Nothing is required. description is null: the feed has no subtitle (Apple's chart page has one for 25 apps only and costs a 550KB page, so it is not read). A genre is all, a genre id (6003) or its name (travel, health-fitness, games-action...); an unknown one is 400.

Authorization

headerX-API-Key<token>

Your API key.

Query Parameters

cancel_token?string

A name you make up for this request (a UUID is fine), so you can later GET /v1/cancel with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.

Length1 <= length <= 128
category?string

A genre id (6003) or its name: travel, health-fitness, games-action...

Default"all"
store_device?string

Store.

Default"iphone"
Value in"iphone""ipad"
chart?string

Chart.

Default"top_free"
Value in"top_free""top_paid"
country?string

The storefront.

Match^[A-Za-z]{2}$
Default"us"
num?integer

Apps.

Range1 <= value <= 200
Default100

Response Body

The chart, as the document. When the feed could not be parsed, the usual envelope.

application/json
  1. response

The first keys of a document-form answer. Unlike DocumentHead there is no search_information unless the engine has one (there is none for the AI engines, Events, Events Details, Facebook, Tripadvisor Place, Trending Now and the Apple engines' places).

search_metadata*
search_parameters*

The parameters the search ran with, defaults filled in; engine is the engine's name.

search_information?
top_charts?array<>
Example Request
curl -X GET 'https://api.justserp.com/v1/apple/app-store/top-charts?category=travel&chart=top_free&country=us'
Example Response
{  "search_metadata": {    "id": "string",    "status": "Success",    "created_at": "string",    "request_url": "string",    "html_url": "string"  },  "search_parameters": {},  "search_information": {},  "top_charts": [    {      "position": 0,      "id": "string",      "bundle_id": "string",      "title": "string",      "description": "string",      "link": "string",      "thumbnail": "string",      "developer": {        "name": "string",        "id": "string",        "link": "string"      },      "category": {        "id": 0,        "name": "string"      }    }  ]}