> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /qqmusic/charts

> Get a QQ Music chart with its ranked songs, each song's move since the last edition, and the chart's own update date

**Price:** 1 credit

**⚠️ Common errors:** 412: This chart has no edition for the requested period.



## OpenAPI

````yaml /openapi/music.json post /api/qqmusic/charts
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/qqmusic/charts:
    post:
      tags:
        - /qqmusic
      summary: /qqmusic/charts
      description: >-
        Get a QQ Music chart with its ranked songs, each song's move since the
        last edition, and the chart's own update date


        **Price:** 1 credit


        **⚠️ Common errors:** 412: This chart has no edition for the requested
        period.
      operationId: __api_qqmusic_charts_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QqmusicChartPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/QqmusicChart'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    QqmusicChartPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        chart:
          $ref: '#/components/schemas/QqmusicChartName'
        song_count:
          type: integer
          maximum: 300
          minimum: 1
          default: 100
        period:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - chart
    QqmusicChart:
      properties:
        '@type':
          type: string
          default: QqmusicChart
        id:
          type: string
        name:
          type: string
        subtitle:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        period:
          anyOf:
            - type: string
            - type: 'null'
        period_format:
          anyOf:
            - type: string
            - type: 'null'
        updated_date:
          anyOf:
            - type: string
            - type: 'null'
        ranked_song_count:
          anyOf:
            - type: integer
            - type: 'null'
        listen_count:
          anyOf:
            - type: integer
            - type: 'null'
        songs:
          items:
            $ref: '#/components/schemas/QqmusicChartSong'
          type: array
          default: []
      type: object
      required:
        - id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    QqmusicChartName:
      type: string
      enum:
        - soaring
        - hot_songs
        - new_songs
        - pop_index
        - recognized_songs
        - mainland_china
        - hong_kong
        - taiwan
        - western
        - korea
        - japan
        - joox_local
        - tvb_gold_songs
        - kkbox_taiwan
        - rap
        - electronic
        - game_music
        - anime_music
        - film_and_tv
        - variety_show_new_songs
        - chinese_style
        - karaoke
        - douyin
        - dj_dance
        - internet_songs
        - billboard
        - melon
        - uk_official
        - oricon
    QqmusicChartSong:
      properties:
        '@type':
          type: string
          default: QqmusicChartSong
        mid:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        subtitle:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        singers:
          items:
            $ref: '#/components/schemas/QqmusicSongSinger'
          type: array
          default: []
        album:
          anyOf:
            - $ref: '#/components/schemas/QqmusicSongAlbum'
            - type: 'null'
        duration_seconds:
          anyOf:
            - type: integer
            - type: 'null'
        published_date:
          anyOf:
            - type: string
            - type: 'null'
        disc_number:
          anyOf:
            - type: integer
            - type: 'null'
        track_number:
          anyOf:
            - type: integer
            - type: 'null'
        bpm:
          anyOf:
            - type: integer
            - type: 'null'
        is_exclusive:
          anyOf:
            - type: boolean
            - type: 'null'
        is_paid_play:
          anyOf:
            - type: boolean
            - type: 'null'
        is_paid_download:
          anyOf:
            - type: boolean
            - type: 'null'
        is_vip_only:
          anyOf:
            - type: boolean
            - type: 'null'
        rank:
          type: integer
        rank_change:
          anyOf:
            - type: integer
            - type: 'null'
        is_new_entry:
          anyOf:
            - type: boolean
            - type: 'null'
        growth_percent:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - mid
        - rank
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    QqmusicSongSinger:
      properties:
        '@type':
          type: string
          default: QqmusicSongSinger
        mid:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - mid
    QqmusicSongAlbum:
      properties:
        '@type':
          type: string
          default: QqmusicSongAlbum
        mid:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        published_date:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - mid
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````