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

# Tổng hợp chỉ số

> Lấy thông tin tổng hợp của một chỉ số theo ngày giao dịch.



## OpenAPI

````yaml /vi/openapi/ssi.2026-08-21.openapi.yaml get /api/v3/data/indexSummary
openapi: 3.1.2
info:
  title: SSI FastConnect Open API
  version: 3.0.0
servers:
  - url: https://api.ssi.com.vn
    description: Production
security:
  - SsiBearerAuth: []
tags:
  - name: authentication
    description: Xác thực và quản lý token.
    x-group: Xác thực
  - name: account
    description: Thông tin tài khoản giao dịch.
    x-group: Tài khoản
  - name: market-data
    description: Dữ liệu thị trường.
    x-group: Dữ liệu thị trường
  - name: trading
    description: Giao dịch và quản lý lệnh.
    x-group: Giao dịch
  - name: conditional-orders
    description: Lệnh điều kiện.
    x-group: Lệnh điều kiện
paths:
  /api/v3/data/indexSummary:
    get:
      tags:
        - market-data
      summary: Tổng hợp chỉ số
      description: Lấy thông tin tổng hợp của một chỉ số theo ngày giao dịch.
      operationId: getIndexSummary
      parameters:
        - name: board
          in: query
          description: >-
            Mã sàn của chỉ số. Giá trị có thể là `HOSE`, `HNX`, hoặc `UPCOM`.
            Bắt buộc cung cấp chính xác một trong hai tham số `board` hoặc
            `index`.
          required: false
          schema:
            type: string
        - name: index
          in: query
          description: >-
            Mã chỉ số cần lấy thông tin tổng hợp (ví dụ VNINDEX, VN30, HNX30).
            Bắt buộc cung cấp chính xác một trong hai tham số `board` hoặc
            `index`.
          required: false
          schema:
            type: string
        - name: tradingDate
          in: query
          description: Ngày giao dịch theo định dạng `YYYY/MM/DD`.
          required: false
          schema:
            type: string
        - $ref: '#/components/parameters/ContentType'
        - $ref: '#/components/parameters/UserAgent'
        - $ref: '#/components/parameters/AcceptLanguage'
      responses:
        '200':
          description: Thành công.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IndexSummaryResponse'
              example:
                - tradingDate: 2026/06/12
                  totalTrade: 5`70616712
                  totalTradeValue: '13915275870880'
                  totalMatch: '452560911'
                  totalMatchValue: '11754696092800'
                  totalDeal: '118055801'
                  totalDealValue: '2160579778080'
                  indexChange: '19.77'
                  indexChangePercentage: '1.11'
                  indexValue: '1793.18'
                  totalAdvanceStock: '154'
                  totalCeilingStock: '6'
                  totalDeclineStock: '152'
                  totalFloorStock: '2'
                  totalNoChangeStock: '55'
                  totalPropBuy: '0'
                  totalPropBuyValue: '0'
                  totalPropSell: '0'
                  totalPropSellValue: '0'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - SsiBearerAuth: []
components:
  parameters:
    ContentType:
      name: Content-Type
      in: header
      required: true
      description: Định dạng nội dung request body. Chủ yếu là application/json.
      schema:
        type: string
        default: application/json
    UserAgent:
      name: User-Agent
      in: header
      required: false
      description: Thông tin client gửi request.
      schema:
        type: string
    AcceptLanguage:
      name: Accept-Language
      in: header
      required: false
      description: >-
        Ngôn ngữ phản hồi mong muốn. Nếu không có header này, hệ thống sẽ mặc
        định là en
      schema:
        type: string
        default: en
  schemas:
    IndexSummaryResponse:
      type: array
      items:
        type: object
        properties:
          tradingDate:
            description: Ngày giao dịch.
            type: string
          totalTrade:
            description: Tổng số giao dịch.
            type: string
          totalTradeValue:
            description: Tổng giá trị giao dịch.
            type: string
          totalMatch:
            description: Tổng số lệnh khớp.
            type: string
          totalMatchValue:
            description: Tổng giá trị khớp lệnh.
            type: string
          totalDeal:
            description: Tổng số giao dịch thỏa thuận.
            type: string
          totalDealValue:
            description: Tổng giá trị giao dịch thỏa thuận.
            type: string
          indexChange:
            description: Mức thay đổi của chỉ số.
            type: string
          indexChangePercentage:
            description: Tỷ lệ phần trăm thay đổi của chỉ số.
            type: string
          indexValue:
            description: Giá trị chỉ số.
            type: string
          totalAdvanceStock:
            description: Tổng số mã tăng giá.
            type: string
          totalCeilingStock:
            description: Tổng số mã tăng trần.
            type: string
          totalDeclineStock:
            description: Tổng số mã giảm giá.
            type: string
          totalFloorStock:
            description: Tổng số mã giảm sàn.
            type: string
          totalNoChangeStock:
            description: Tổng số mã không đổi giá.
            type: string
          totalPropBuy:
            description: Tổng số lượng mua của nhà đầu tư nước ngoài.
            type: string
          totalPropBuyValue:
            description: Tổng giá trị mua của nhà đầu tư nước ngoài.
            type: string
          totalPropSell:
            description: Tổng số lượng bán của nhà đầu tư nước ngoài.
            type: string
          totalPropSellValue:
            description: Tổng giá trị bán của nhà đầu tư nước ngoài.
            type: string
    ErrorResponse:
      type: object
      properties:
        code:
          description: Mã kết quả hoặc mã xác thực giao dịch.
          type: string
        msg:
          description: Thông báo kết quả xử lý.
          type: string
  responses:
    BadRequest:
      description: Yêu cầu không hợp lệ.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Chưa được xác thực hoặc token không hợp lệ.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Lỗi nội bộ máy chủ.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    SsiBearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Access token lấy từ endpoint /api/v3/auth/token hoặc
        /api/v3/auth/refresh.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.