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

# Lấy dữ liệu kline (nến)

> Truy xuất dữ liệu nến OHLC. Phạm vi giới hạn: 1-500 (mặc định 300).



## OpenAPI

````yaml /vi/api-reference/openapi/launch-history-v1.yaml get /kline
openapi: 3.0.3
info:
  title: API Lịch sử Raydium Launch
  description: >-
    Cung cấp dữ liệu giao dịch lịch sử cho các pool LaunchLab. Bao gồm dữ liệu
    kline (nến) với các khoảng 1 phút, 5 phút và 15 phút, cùng với lịch sử giao
    dịch riêng lẻ.
  version: 1.0.0
servers:
  - url: https://launch-history-v1.raydium.io
    description: Mainnet
  - url: https://launch-history-v1-devnet.raydium.io
    description: Devnet
security: []
tags:
  - name: Candle Data
    description: Dữ liệu nến OHLC
  - name: Trades
    description: Lịch sử giao dịch riêng lẻ
  - name: Utilities
    description: Kiểm tra sức khỏe
paths:
  /kline:
    get:
      tags:
        - Candle Data
      summary: Lấy dữ liệu kline (nến)
      description: 'Truy xuất dữ liệu nến OHLC. Phạm vi giới hạn: 1-500 (mặc định 300).'
      operationId: getKline
      parameters:
        - name: poolId
          in: query
          required: true
          schema:
            type: string
          description: ID pool (địa chỉ mint)
        - name: interval
          in: query
          required: true
          schema:
            type: string
            enum:
              - 1m
              - 5m
              - 15m
        - name: limit
          in: query
          schema:
            type: integer
            default: 300
            minimum: 1
            maximum: 500
        - name: nextPageKey
          in: query
          schema:
            type: string
          description: Token phân trang
      responses:
        '200':
          description: Dữ liệu kline với phân trang

````