ClickYourApp Docs
Back to site

Charts Listing

Fetch top app charts (free, paid, grossing) for a given store and country.

Endpoint

GET /api/insights/{store}/charts/

Path Parameters

ParameterRequiredValuesDescription
storeYesapple, googleApp store to query

Query Parameters

ParameterTypeDefaultDescription
countrystringus / USCountry code
langstringenLanguage for localized app names
limitnumber100Apps per chart section (max 200)

Example Request

GET /api/insights/apple/charts/?country=de&limit=50&lang=de

Response

Returns an array of chart sections, each containing an array of normalized apps:

[
  {
    "type": "free",
    "title": "Top Free Apps",
    "apps": [
      {
        "rank": 1,
        "appId": "com.example.app",
        "title": "Example App",
        "developer": "Example Inc.",
        "icon": "https://...",
        "rating": 4.5,
        "price": "Free",
        "url": "https://..."
      }
    ]
  },
  {
    "type": "paid",
    "title": "Top Paid Apps",
    "apps": [...]
  },
  {
    "type": "grossing",
    "title": "Top Grossing Apps",
    "apps": [...]
  }
]

Cache

HeaderValue
s-maxage3600 (1 hour)
max-age3600 (1 hour)
stale-while-revalidate7200 (2 hours)

Errors

StatusDescription
400Missing or invalid store parameter
500Upstream API failure