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

# 상위 변동 종목 가져오기

> 관련 뉴스가 있는 고변동성 주식을 가져옵니다.



## OpenAPI

````yaml /ko/api-reference/openapi.json get /api/market-data/market/top_movers
openapi: 3.1.0
info:
  title: Financial Context
  version: 1.0.0
  description: >-
    Financial Context는 인증된 종량제 읽기 전용 미국 주식 시장 데이터 접근을 제공합니다.
    `/api/market-data/*` 엔드포인트를 사용해 `.US` 심볼과 `US` market 필터로 시세, 캔들스틱, 시장 캘린더,
    펀더멘털, 뉴스, 스크리너 및 관련 분석에 접근할 수 있습니다.
servers:
  - url: https://openapi.fcontext.com
    description: 프로덕션
security:
  - ApiKeyHeader: []
  - BearerAuth: []
tags:
  - name: 시세
    description: 시세, 캔들스틱, 거래일, 호가 깊이, 브로커 큐 및 기타 시장 데이터 엔드포인트입니다.
  - name: 콘텐츠
    description: '종목 콘텐츠: 뉴스와 토픽입니다.'
  - name: 시장
    description: 시장 상태, 거래 캘린더, 이상 거래 활동 및 순위입니다.
  - name: 캘린더
    description: 재무 이벤트 캘린더입니다.
  - name: 펀더멘털
    description: 펀더멘털, 애널리스트 평가, 밸류에이션, 주주 및 거래 공시입니다.
  - name: 스크리너
    description: 스크리닝 전략, 필터 및 지표입니다.
paths:
  /api/market-data/market/top_movers:
    get:
      tags:
        - 시장
      summary: 상위 변동 종목 가져오기
      description: 관련 뉴스가 있는 고변동성 주식을 가져옵니다.
      parameters:
        - name: market
          in: query
          required: false
          description: 단일 시장 코드입니다. 생략하면 모든 시장을 반환합니다.
          schema:
            type: string
          example: US
        - name: markets
          in: query
          required: false
          description: 쉼표로 구분된 시장 코드입니다. `market`보다 우선합니다.
          schema:
            type: string
          example: US
        - name: sort
          in: query
          required: false
          description: '정렬 모드: `hot`(기본값), `time` 또는 `change`; `0/1/2`도 허용됩니다.'
          schema:
            type: string
            default: hot
          example: hot
        - name: date
          in: query
          required: false
          description: 대상 날짜 `YYYY-MM-DD`; 생략하면 최신 데이터를 반환합니다.
          schema:
            type: string
            format: date
        - name: count
          in: query
          required: false
          description: 반환할 레코드 수입니다. 기본값은 20, 최대값은 100입니다.
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
          example: 20
      responses:
        '200':
          description: 상위 변동 종목
          content:
            application/json:
              schema:
                type: object
                properties:
                  topMovers:
                    $ref: '#/components/schemas/TopMovers'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: 유료 Financial Context 플랜 또는 남은 데이터 요청 한도가 필요합니다.
        '403':
          description: 이 인증 정보는 Financial Context 시장 데이터 접근을 허용하지 않습니다.
components:
  schemas:
    TopMovers:
      type: object
      properties:
        events:
          type: array
          items:
            type: object
            additionalProperties: true
            properties:
              timestamp:
                type: string
              alertReason:
                type: string
              alertType:
                type: integer
              stock:
                type: object
                additionalProperties: true
                properties:
                  symbol:
                    type: string
                  code:
                    type: string
                  name:
                    type: string
                  lastDone:
                    type: string
                  change:
                    type: string
              post: {}
        nextParams: {}
      additionalProperties: true
    Error:
      type: object
      description: 표준 오류 응답입니다.
      additionalProperties: true
      properties:
        error:
          type: string
          description: 사람이 읽을 수 있는 오류 메시지입니다.
  responses:
    BadRequest:
      description: 요청 파라미터가 유효하지 않습니다.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Financial Context 인증 정보가 없거나 유효하지 않습니다.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: 'Unauthorized: missing API key'
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: '계정 설정에서 생성한 Financial Context key입니다. `x-api-key: <key>`로 전송하세요.'
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: OAuth access token
      description: >-
        `market_data` scope가 있는 Financial Context CLI, MCP 또는 agent 클라이언트용 OAuth
        bearer token입니다.

````