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

# Kline Periods

> Query the list of supported kline periods. Use this endpoint to confirm available period parameters before calling kline endpoints.

## Period Formats

* **Minutes**: 1m, 3m, 5m, 15m, 30m
* **Hours**: 1h, 2h, 4h
* **Days**: 1d
* **Weeks**: 1w
* **Months**: 1M

## Response Fields

| Field Name  | Description                      |
| ----------- | -------------------------------- |
| count       | Number of supported periods      |
| description | Endpoint description             |
| intervals   | List of supported K-line periods |


## OpenAPI

````yaml GET /v1/market/intervals/kline
openapi: 3.0.0
info:
  title: TickDB API
  description: >-
    Unified real-time market data API — one connection for Forex, indices, US
    stocks, HK stocks, A-shares, China futures, and Crypto via REST and
    WebSocket.
  version: 1.0.2
  contact:
    email: support@tickdb.ai
servers:
  - url: https://api.tickdb.ai
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /v1/market/intervals/kline:
    get:
      summary: Kline Periods
      description: Get supported K-line time intervals for historical data queries
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                  message:
                    type: string
                    example: success
                  data:
                    type: object
                    properties:
                      count:
                        type: integer
                        example: 11
                      description:
                        type: string
                        example: >-
                          Supported K-line time intervals for historical data
                          queries
                      intervals:
                        type: array
                        items:
                          type: string
                        example:
                          - 1m
                          - 3m
                          - 5m
                          - 15m
                          - 30m
                          - 1h
                          - 2h
                          - 4h
                          - 1d
                          - 1w
                          - 1M
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````