> ## 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 /ja/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 は、認証済みで従量制の読み取り専用 US
    株式市場データアクセスを提供します。`/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。

````