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

# Danh sách quỹ

> GET /v1/funds — lấy danh sách quỹ và NAV mới nhất

Lấy danh sách quỹ kèm thông tin NAV mới nhất.

<CardGroup cols={2}>
  <Card title="Danh mục quỹ" icon="circle-check">
    Tạo danh sách quỹ có thể tìm kiếm.
  </Card>

  <Card title="NAV mới nhất" icon="circle-check">
    Hiển thị NAV mới nhất khi có.
  </Card>
</CardGroup>

## Trường hợp sử dụng

* Hiển thị danh mục quỹ.
* Lọc quỹ theo loại hoặc trạng thái.
* Chọn quỹ trước khi tải lịch sử NAV.

## Tham số quan trọng

* `type`: bộ lọc loại quỹ tùy chọn.
* `status`: bộ lọc trạng thái tùy chọn.
* `limit`: số quỹ tối đa.


## OpenAPI

````yaml openapi/openapi.vi.yaml GET /v1/funds
openapi: 3.0.3
info:
  title: Vero Data Hub API
  version: 1.0.0
  description: >-
    REST API cho dữ liệu thị trường, dữ liệu tham chiếu, dữ liệu cơ bản, quỹ, dữ
    liệu vĩ mô, tin tức và độ mới dữ liệu.
servers:
  - url: https://api-gw.verolabs.co
    description: Base URL của API
security:
  - ApiKeyAuth: []
tags:
  - name: reference
  - name: tick
  - name: candles
  - name: fx
  - name: bonds
  - name: macro
  - name: sentiment
  - name: calendar
  - name: funds
  - name: fa
  - name: news
  - name: ops
paths:
  /v1/funds:
    get:
      tags:
        - funds
      summary: Danh sách quỹ
      parameters:
        - name: type
          in: query
          schema:
            type: string
            example: IS
        - name: status
          in: query
          schema:
            type: string
        - $ref: '#/components/parameters/Limit'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/FundLatest'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 10000
        default: 1000
        example: 100
  schemas:
    FundLatest:
      type: object
      properties:
        code:
          type: string
        name:
          type: string
          nullable: true
        fund_type:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        latest_nav:
          type: number
          format: double
          nullable: true
        latest_nav_date:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
          example: invalid-param
        title:
          type: string
          example: Tham số truy vấn không hợp lệ
        status:
          type: integer
          example: 400
        detail:
          type: string
          example: cần có tham số "from"
        instance:
          type: string
        request_id:
          type: string
  responses:
    BadRequest:
      description: Tham số yêu cầu không hợp lệ.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Unauthorized:
      description: Thiếu hoặc sai API key.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Unavailable:
      description: API tạm thời không sẵn sàng.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: API key được cấp cho tài khoản của bạn.

````