# 2002-Market-Global Chart Analysis

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /market/global/ranking:
    post:
      summary: 2002-Market-Global Chart Analysis
      deprecated: false
      description: Query chart-ranked apps for a region, country, or globally.
      operationId: 2002_Market_Global Chart Analysis
      tags:
        - II. List of Interfaces/2. Market Services
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                store:
                  type: ''
                  description: App Market
                  examples:
                    - AS
                device:
                  type: string
                  description: AS apps only
                  examples:
                    - IPHONE
                category:
                  type: string
                  description: Chart Category
                  examples:
                    - '6014'
                type:
                  type: string
                  description: Chart Type
                  examples:
                    - GROSSING
                metrics:
                  type: string
                  description: Metrics; select at least one
                  examples:
                    - REGION
                region:
                  type: string
                  description: Region Parameters
                  examples:
                    - US
                date:
                  type: string
                  description: Query Date
                  examples:
                    - '2025-10-13T09:59:59.061Z'
              x-apifox-orders:
                - store
                - device
                - category
                - type
                - metrics
                - region
                - date
              x-apifox-ignore-properties: []
            example:
              store: AS
              device: IPHONE
              category: '6014'
              type: GROSSING
              metrics: REGION
              region: US
              date: '2025-10-13T09:59:59.061Z'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenApiBaseVOListGlobalRankingVO'
              example:
                requestParam:
                  store: AS
                  device: IPHONE
                  category: '6014'
                  type: GROSSING
                  metrics: REGION
                  region: US
                  date: '2025-10-13T09:59:59.061Z'
                result:
                  - region: US
                    category: '6014'
                    apps:
                      - appId: '1621328561'
                        title: MONOPOLY GO!
                        icon: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/2e/2d/13/2e2d1304-701a-4529-8832-ec4ef636670d/AppIcon-0-0-1x_U007emarketing-0-8-0-85-220.png/88x88w.png
                        rank: 1
                creditsCost:
                  requestCredits: 0
                  baseCredits: 200
                  extraCredits: 0
                  totalCostCredits: 200
                next: null
          headers: {}
          x-apifox-name: ''
      security:
        - apikey-header-x-openapi-key: []
      x-apifox-folder: II. List of Interfaces/2. Market Services
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4128055/apis/api-478038426-run
components:
  schemas:
    OpenApiBaseVOListGlobalRankingVO:
      type: object
      properties:
        requestParam:
          $ref: '#/components/schemas/GlobalRankingParam'
          description: Your request param.
        result:
          type: array
          items:
            $ref: '#/components/schemas/GlobalRankingVO'
            description: com.xiaoxi.openapi.model.vo.GlobalRankingVO
          description: Your response.
        creditsCost:
          $ref: '#/components/schemas/OpenApiPointCostVO'
          description: Credits cost info.
        next:
          $ref: '#/components/schemas/PaginationInfo'
          description: Next page info
      x-apifox-orders:
        - requestParam
        - result
        - creditsCost
        - next
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    PaginationInfo:
      type: object
      properties:
        taskId:
          type: string
          description: Task ID
        pageKey:
          type: string
          description: Page Key
        totalCount:
          type: integer
          description: Total Count
          format: int64
        totalPages:
          type: integer
          description: Total Pages
          format: int64
      x-apifox-orders:
        - taskId
        - pageKey
        - totalCount
        - totalPages
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    OpenApiPointCostVO:
      type: object
      properties:
        requestCredits:
          type: integer
          description: ''
        baseCredits:
          type: integer
          description: ''
        extraCredits:
          type: integer
          description: ''
        totalCostCredits:
          type: integer
          description: ''
      x-apifox-orders:
        - requestCredits
        - baseCredits
        - extraCredits
        - totalCostCredits
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    GlobalRankingVO:
      type: object
      properties:
        region:
          type: string
          description: ''
        category:
          type: string
          description: ''
        apps:
          type: array
          items:
            $ref: '#/components/schemas/AppInfoVO'
            description: com.xiaoxi.openapi.model.vo.GlobalRankingVO.AppInfoVO
          description: ''
      x-apifox-orders:
        - region
        - category
        - apps
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    AppInfoVO:
      type: object
      properties:
        appId:
          type: string
          description: ''
        icon:
          type: string
          description: ''
        title:
          type: string
          description: ''
      x-apifox-orders:
        - appId
        - icon
        - title
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    GlobalRankingParam:
      type: object
      properties:
        store:
          type: string
          description: ''
          enum:
            - AS
            - GP
          x-apifox-enum:
            - value: AS
              name: AS
              description: AS
            - value: GP
              name: GP
              description: GP
          examples:
            - AS
        device:
          type: string
          description: ''
          enum:
            - IPHONE
            - IPAD
          x-apifox-enum:
            - value: IPHONE
              name: IPHONE
              description: IPHONE
            - value: IPAD
              name: IPAD
              description: IPAD
          examples:
            - IPHONE,IPAD
        category:
          type: string
          description: ''
          examples:
            - '6004'
        type:
          type: string
          description: ''
          enum:
            - FREE
            - PAID
            - GROSSING
          x-apifox-enum:
            - value: FREE
              name: FREE
              description: FREE
            - value: PAID
              name: PAID
              description: PAID
            - value: GROSSING
              name: GROSSING
              description: GROSSING
          examples:
            - 免费（默认）
        metrics:
          type: string
          description: ''
          enum:
            - GLOBAL
            - REGION
          x-apifox-enum:
            - value: GLOBAL
              name: GLOBAL
              description: GLOBAL
            - value: REGION
              name: REGION
              description: REGION
          examples:
            - '"GLOBAL"、"REGION"'
        region:
          type: string
          description: ''
          examples:
            - |-
              1、全球、亚洲、欧洲、北美洲、南美洲、非洲、大洋洲
              2、美国、英国、法国、德国等
        date:
          $ref: '#/components/schemas/Instant'
          description: ''
          examples:
            - 指定具体日期
      x-apifox-orders:
        - store
        - device
        - category
        - type
        - metrics
        - region
        - date
      required:
        - store
        - metrics
        - region
        - date
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    Instant:
      type: object
      properties:
        seconds:
          type: integer
          description: The number of seconds from the epoch of 1970-01-01T00:00:00Z.
          format: int64
        nanos:
          type: integer
          description: >-
            The number of nanoseconds, later along the time-line, from the
            seconds field.

            This is always positive, and never exceeds 999,999,999.
      x-apifox-orders:
        - seconds
        - nanos
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    apikey-header-x-openapi-key:
      type: apiKey
      in: header
      name: x-openapi-key
servers:
  - url: https://api.foxdata.com/apiv1/open-api
    description: Api Server
security:
  - apikey-header-x-openapi-key: []

```
