Line Music Chart

Return Line Music chart entries for the given entityType (track or album). Shape matches the generic regional CCC chart row.

Path Parameters
  • entityType
    Type: string enum
    required

    Chart entity (track or album).

    values
    • track
    • album
    • artist
    • video
  • chartType
    enum
    const:  
    top
    required

    Line Music chart type. Allowed values depend on entityType.

    values
    • top
Query Parameters
  • date
    Type: string Format: date

    Date for the chart slice (YYYY-MM-DD). Required unless latest=true.

  • latest
    Type: boolean

    If true, use the most recently available chart date and ignore date.

  • limit
    Type: integer
    min:  
    1

    Maximum number of items to return per request.

  • offset
    Type: integer
    min:  
    0

    Number of items to skip from the start of the result set; pair with limit to paginate.

  • code2

    ISO 3166-1 alpha-2 country code (uppercase, e.g. 'US') or 'GLOBAL'. When omitted, the platform's default chart scope applies.

    • Type: string
      min length:  
      2
      max length:  
      2

      ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').

  • duration
    Type: string enum
    required

    Chart duration window. One of daily, monthly, weekly, yearly, semi-yearly, real-time, all_time.

    values
    • daily
    • monthly
    • weekly
    • yearly
    • semi-yearly
    • real-time
    • all_time
  • genre
    Type: string
    max length:  
    100

    Genre filter for the chart slice. Lowercased and trimmed.

  • cityId
    Type: integer
    min:  
    0
    max:  
    2147483647

    Chartmetric city ID to scope the chart to a city.

Responses
  • application/json
Request Example for get/api/charts/line_music/{entityType}/{chartType}
curl 'https://api.chartmetric.com/api/charts/line_music/track/top?duration=daily' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "obj": [
    {
      "entityId": 142483816,
      "targetId": "mt0000000020d08f07",
      "duration": "daily",
      "country": "",
      "cityId": 0,
      "genre": "Anime",
      "rank": 1,
      "rankDiff": 0,
      "rankTrend": [
        {
          "timestp": "2025-05-31",
          "rank": "1"
        }
      ],
      "peakDate": "2025-04-06",
      "peakRank": 1,
      "velocity7Day": 0,
      "periodsOnChart": 76,
      "consecutivePeriods": 76,
      "chartedDate": "2025-06-03",
      "name": "Song title",
      "imageUrl": "https://i.scdn.co/image/ab67616d0000b2734840f84e07ee7e34a6414896",
      "createdAt": "2025-06-09T02:06:42.000Z",
      "artists": [
        {
          "careerStage": "mainstream",
          "code2": "JP",
          "id": 13330465,
          "name": "AiScReam",
          "imageUrl": "https://i.scdn.co/image/ab6761610000e5ebda8783293aa77cd94d11f8b7"
        }
      ],
      "album": {
        "id": 44252905,
        "name": "Album title",
        "label": "Lantis",
        "releaseDate": "2025-01-21T00:00:00.000Z"
      },
      "optionalRows": {
        "overallRank": 0,
        "score": 0,
        "isComeback": false
      },
      "targetExtras": {
        "lineMusicLikes": 20884,
        "lineMusicListenCount": 1334992
      },
      "isChartGenre": true
    }
  ]
}