> ## 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 /zh-Hant/api-reference/openapi.json get /api/market-data/fundamental/insider_trades
openapi: 3.1.0
info:
  title: Financial Context
  version: 1.0.0
  description: >-
    Financial Context 提供經過認證、按量計費的只讀美股市場資料訪問。可通過 `/api/market-data/*` 端點，針對
    `.US` 標的和 `US` 市場篩選條件訪問行情、K 線、市場日曆、基本面、新聞、選股器和相關分析。
servers:
  - url: https://openapi.fcontext.com
    description: 生產環境
security:
  - ApiKeyHeader: []
  - BearerAuth: []
tags:
  - name: 行情
    description: 行情、K 線、交易日、深度、經紀隊列和其他市場資料端點。
  - name: 內容
    description: 證券內容：新聞和話題。
  - name: 市場
    description: 市場狀態、交易日曆、異常活動和排行。
  - name: 日曆
    description: 財務事件日曆。
  - name: 基本面
    description: 基本面、分析師評級、估值、股東和交易披露。
  - name: 選股器
    description: 選股策略、篩選條件和指標。
paths:
  /api/market-data/fundamental/insider_trades:
    get:
      tags:
        - 基本面
      summary: 獲取內部人交易披露
      parameters:
        - $ref: '#/components/parameters/SymbolQuery'
        - 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:
                  insiderTrades:
                    type: array
                    items:
                      $ref: '#/components/schemas/InsiderTrade'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: 需要付費的 Financial Context 方案或剩餘資料請求額度。
        '403':
          description: 該憑證無權訪問 Financial Context 市場資料。
components:
  parameters:
    SymbolQuery:
      name: symbol
      in: query
      required: true
      description: 證券標的，例如 `AAPL.US`。
      schema:
        type: string
      example: AAPL.US
  schemas:
    InsiderTrade:
      type: object
      description: SEC EDGAR Form 4 非衍生內部人交易。
      additionalProperties: false
      required:
        - filing_date
        - owner
        - title
        - date
        - code
        - type
        - shares
        - price
        - value
        - shares_after
      properties:
        filing_date:
          type: string
          description: 來自 SEC EDGAR 的 Form 4 申報日期。
          example: '2026-06-12'
        owner:
          type: string
          description: 報告所有者姓名。
          example: Jane Insider
        title:
          type: string
          description: 高管職務或關係兜底值。
          example: Chief Executive Officer
        date:
          type: string
          description: 交易日期。
          example: '2026-06-10'
        code:
          type: string
          description: 原始 Form 4 交易代碼。
          example: P
        type:
          type: string
          description: 映射後的交易標籤。
          example: BUY
        shares:
          type: number
          description: 交易股數。
        price:
          type: number
          description: 每股交易價格。
        value:
          type: number
          description: 計算得到的交易價值：股數 * 價格。
        shares_after:
          type: number
          description: 交易後持有股數。
    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。

````