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

# 토큰 - 캔들

> 토큰 가격 캔들 조회

<Note>
  다양한 해상도(1m, 5m, 15m, 1h, 4h, 1d)의 OHLCV 캔들스틱 데이터를 가져옵니다. 차트 작성과 기술적 분석에 적합합니다.
</Note>

**관련**: [GraphQL OHLC](/ko/graphql/examples/ohlc-stats) | MCP: `token_get_candles`


## OpenAPI

````yaml /ko/api-reference/openapi-data-ko.yaml GET /v2/token/{chain}/{tokenAddress}/candles
openapi: 3.1.0
info:
  title: Services API
  description: Services API
  contact:
    name: AI
    email: ai@sx.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.chainstream.io
    description: Production
security:
  - bearer_auth: []
  - api_key_auth: []
tags:
  - name: Blockchain
    description: 블록체인 관련 작업
  - name: Token
    description: 토큰 관련 작업
  - name: Trade
    description: 거래 관련 작업
  - name: Wallet
    description: 지갑 관련 작업
  - name: Dex
    description: DEX 관련 작업
  - name: Ranking
    description: 랭킹 관련 작업
  - name: DexPool
    description: DEX 풀 관련 작업
  - name: Watchlist
    description: 워치리스트 관련 작업
  - name: KYT
    description: KYT 관련 작업
  - name: Webhook
    description: Webhook 관련 작업
  - name: RedPacket
    description: 레드패킷 관련 작업
  - name: IPFS
    description: IPFS 관련 작업
  - name: DexScreener
    description: DexScreener 관련 작업
paths:
  /v2/token/{chain}/{tokenAddress}/candles:
    get:
      tags:
        - Token
      summary: 토큰 - 캔들
      description: 토큰 가격 캔들 조회
      operationId: get.candles
      parameters:
        - name: chain
          in: path
          description: 지원되는 네트워크에 나열된 체인 이름
          required: true
          schema:
            $ref: '#/components/schemas/ChainSymbol'
          example: sol
        - name: tokenAddress
          in: path
          description: 토큰 주소
          required: true
          schema:
            type: string
          example: 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
        - name: resolution
          in: query
          description: 캔들 데이터의 시간 해상도
          required: true
          schema:
            $ref: '#/components/schemas/Resolution'
          example: 1h
        - name: priceType
          in: query
          description: '가격 유형: usd (기본값) 또는 네이티브 토큰 가격'
          required: false
          schema:
            oneOf:
              - $ref: '#/components/schemas/PriceType'
            default: usd
          example: usd
        - name: from
          in: query
          description: 시작 타임스탬프 (Unix 초 단위 타임스탬프)
          required: false
          schema:
            type: integer
            format: int64
          example: 1741647950000
        - name: to
          in: query
          description: 종료 타임스탬프 (Unix 초 단위 타임스탬프)
          required: false
          schema:
            type: integer
            format: int64
          example: 1741700970000
        - name: limit
          in: query
          description: 반환할 캔들 수
          required: false
          schema:
            type: integer
            format: int64
          example: 100
      responses:
        '200':
          description: 캔들 조회
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TokenCandle'
components:
  schemas:
    ChainSymbol:
      type: string
      description: Supported blockchain chains
      enum:
        - sol
        - eth
        - bsc
    Resolution:
      type: string
      description: Candle resolution
      enum:
        - 1s
        - 15s
        - 30s
        - 1m
        - 3m
        - 5m
        - 15m
        - 30m
        - 1h
        - 2h
        - 4h
        - 6h
        - 8h
        - 12h
        - 1d
        - 3d
        - 1w
        - 1M
    PriceType:
      type: string
      description: Price type for candle data
      enum:
        - usd
        - native
    TokenCandle:
      type: object
      description: Token candle (OHLCV)
      required:
        - timestamp
        - open
        - high
        - low
        - close
        - volume
      properties:
        close:
          type: string
          description: Close price
          example: '51.2'
        high:
          type: string
          description: High price
          example: '51.8'
        low:
          type: string
          description: Low price
          example: '50.1'
        open:
          type: string
          description: Open price
          example: '50.5'
        timestamp:
          type: integer
          format: int64
          description: Timestamp
          example: 1709251200000
        trades:
          type:
            - integer
            - 'null'
          format: int64
          description: Number of trades (swaps) in this candle bar
          example: 128
        volume:
          type: string
          description: Volume in USD or native currency (depending on priceType)
          example: '1000000'
        volumeInTokenAmount:
          type:
            - string
            - 'null'
          description: Base token quantity (e.g. number of CAKE or SOL tokens traded)
          example: '42000.5'
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    api_key_auth:
      type: apiKey
      in: header
      name: X-API-KEY

````