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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Get Insider Trades

> Form 4 内部人买卖——谁、多少股、什么价格、什么时间。

某只股票的 Form 4 内部人交易。每行包含交易人（`name`、`title`、`is_board_director`）、交易本身（`transaction_date`、`transaction_code`、`transaction_type`、`transaction_shares`、`transaction_price_per_share`、`transaction_value`）、交易后的持仓（`shares_owned_before_transaction`、`shares_owned_after_transaction`）以及申报信息（`form_type`、`filing_date`、`security_title`）。`ticker` 为必填。可用 `name` 或 `transaction_type` 过滤，并用 `filing_date`、`filing_date_gte`、`filing_date_lte`、`filing_date_gt` 或 `filing_date_lt` 按申报日期限定范围。适合用于查看公司内部人在何时买入或卖出。

> [!NOTE]
>
> **第一次用？** 把任意 MCP 客户端指向 `https://mcp.aisa.one/mcp` —— Claude Code、
> Codex、Cursor、VS Code 都可以。鉴权走 OAuth：客户端打开浏览器，你点一次
> Allow，不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点：
> `search`、`list_categories`、`get_details` 和 `batch_quote` 免费，`batch_use`
> 按次计费。各客户端的接入步骤见[通过 MCP 连接](https://aisa.one/docs/zh/agent-quickstart.md)；实时工具列表和
> 每次调用的价格见 [aisa.one/zh-cn/mcp](https://aisa.one/zh-cn/mcp#connect)。

[在你的 agent 里把这个端点跑起来 →](https://aisa.one/mcp?from=/zh/api-reference/financial/get_insider-trades)

## 请求规范

* **方法与路径:** GET /apis/v1/financial/insider-trades
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/financial/insider-trades`
* **cursor:** query; 可选
* **filing\_date:** query; 可选
* **filing\_date\_gt:** query; 可选
* **filing\_date\_gte:** query; 可选
* **filing\_date\_lt:** query; 可选
* **filing\_date\_lte:** query; 可选
* **form\_type:** query; 可选
* **limit:** query; 可选
* **name:** query; 可选
* **ticker:** query; 必填
* **transaction\_type:** query; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/financial.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "get_financial_insider_trades",
  "method": "GET",
  "path": "/apis/v1/financial/insider-trades",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.",
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by exact filing date in YYYY-MM-DD format.\n\nProvider reference (supplier schema): `{\"format\":\"date\",\"type\":\"string\"}`.",
      "in": "query",
      "name": "filing_date",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by filing date greater than this date (YYYY-MM-DD).\n\nProvider reference (supplier schema): `{\"format\":\"date\",\"type\":\"string\"}`.",
      "in": "query",
      "name": "filing_date_gt",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by filing date greater than or equal to this date (YYYY-MM-DD).\n\nProvider reference (supplier schema): `{\"format\":\"date\",\"type\":\"string\"}`.",
      "in": "query",
      "name": "filing_date_gte",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by filing date less than this date (YYYY-MM-DD).\n\nProvider reference (supplier schema): `{\"format\":\"date\",\"type\":\"string\"}`.",
      "in": "query",
      "name": "filing_date_lt",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by filing date less than or equal to this date (YYYY-MM-DD).\n\nProvider reference (supplier schema): `{\"format\":\"date\",\"type\":\"string\"}`.",
      "in": "query",
      "name": "filing_date_lte",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by SEC form type: 4 for trades, 5 for annual statements (or their amendments 4/A, 5/A).",
      "in": "query",
      "name": "form_type",
      "required": false,
      "schema": {
        "enum": [
          "4",
          "4/A",
          "5",
          "5/A"
        ],
        "type": "string"
      }
    },
    {
      "description": "The maximum number of transactions to return (default: 10). This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.\n\nProvider reference (supplier schema): `{\"default\":10,\"type\":\"integer\"}`.",
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by insider name (e.g., 'Jen Hsun Huang'). Use the /insider-trades/names endpoint to get available names for a ticker.",
      "in": "query",
      "name": "name",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "The ticker symbol of the company.",
      "in": "query",
      "name": "ticker",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by transaction type (e.g., 'Open market sale', 'Gift'). Use the /insider-trades/transaction-types endpoint to get available types.",
      "in": "query",
      "name": "transaction_type",
      "required": false,
      "schema": {
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

请求费用。 默认请求预估费用：\$0.02 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/financial.json GET /apis/v1/financial/insider-trades
openapi: 3.1.0
info:
  description: ''
  title: FinancialAPI
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    financial:
      description: ''
      title: FinancialAPI
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 1eb067a02d7d1b2cbe13ec3a6bc07fea01b0ebef6a9d35656d0c02c1ea101baf
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/financial/analyst-estimates
    - /apis/v1/financial/company/facts
    - /apis/v1/financial/company/facts/ticker
    - /apis/v1/financial/crypto/prices
    - /apis/v1/financial/crypto/prices/snapshot
    - /apis/v1/financial/earnings
    - /apis/v1/financial/earnings/press-releases
    - /apis/v1/financial/filings
    - /apis/v1/financial/filings/items
    - /apis/v1/financial/financial-metrics
    - /apis/v1/financial/financial-metrics/snapshot
    - /apis/v1/financial/financials
    - /apis/v1/financial/financials/balance-sheets
    - /apis/v1/financial/financials/cash-flow-statements
    - /apis/v1/financial/financials/income-statements
    - /apis/v1/financial/financials/search/line-items
    - /apis/v1/financial/financials/search/screener
    - /apis/v1/financial/financials/segmented-revenues
    - /apis/v1/financial/insider-trades
    - /apis/v1/financial/institutional-ownership
    - /apis/v1/financial/kpi/guidance
    - /apis/v1/financial/kpi/metrics
    - /apis/v1/financial/kpi/non-gaap
    - /apis/v1/financial/macro/interest-rates
    - /apis/v1/financial/macro/interest-rates/snapshot
    - /apis/v1/financial/news
    - /apis/v1/financial/prices
    - /apis/v1/financial/prices/snapshot
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:b49b91a9e53aadfd36aa9c8be94d8c4d516873d2a2e2e491db0b18656d03cac3
    facts_hash: 1eb067a02d7d1b2cbe13ec3a6bc07fea01b0ebef6a9d35656d0c02c1ea101baf
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: financial
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/financial/insider-trades:
    get:
      tags:
        - Two
      summary: Get Insider Trades
      description: >-
        Get insider trades like buys and sells for a ticker by a company
        insider.
      operationId: get_financial_insider_trades
      parameters:
        - description: >-
            Opaque pagination cursor from a previous response's next_page_url.
            When provided, all other query parameters are ignored: the cursor
            carries the original request's filters. Treat it as opaque; do not
            construct or modify it.
          in: query
          name: cursor
          required: false
          schema:
            type: string
        - description: >-
            Filter by exact filing date in YYYY-MM-DD format.


            Provider reference (supplier schema):
            `{"format":"date","type":"string"}`.
          in: query
          name: filing_date
          required: false
          schema:
            type: string
        - description: >-
            Filter by filing date greater than this date (YYYY-MM-DD).


            Provider reference (supplier schema):
            `{"format":"date","type":"string"}`.
          in: query
          name: filing_date_gt
          required: false
          schema:
            type: string
        - description: >-
            Filter by filing date greater than or equal to this date
            (YYYY-MM-DD).


            Provider reference (supplier schema):
            `{"format":"date","type":"string"}`.
          in: query
          name: filing_date_gte
          required: false
          schema:
            type: string
        - description: >-
            Filter by filing date less than this date (YYYY-MM-DD).


            Provider reference (supplier schema):
            `{"format":"date","type":"string"}`.
          in: query
          name: filing_date_lt
          required: false
          schema:
            type: string
        - description: >-
            Filter by filing date less than or equal to this date (YYYY-MM-DD).


            Provider reference (supplier schema):
            `{"format":"date","type":"string"}`.
          in: query
          name: filing_date_lte
          required: false
          schema:
            type: string
        - description: >-
            Filter by SEC form type: 4 for trades, 5 for annual statements (or
            their amendments 4/A, 5/A).
          in: query
          name: form_type
          required: false
          schema:
            enum:
              - '4'
              - 4/A
              - '5'
              - 5/A
            type: string
        - description: >-
            The maximum number of transactions to return (default: 10). This is
            the total across all pages, not a page size: each page holds up to
            10 records, linked by `next_page_url`.


            Provider reference (supplier schema):
            `{"default":10,"type":"integer"}`.
          in: query
          name: limit
          required: false
          schema:
            type: string
        - description: >-
            按内部人士姓名筛选（例如 'Jen Hsun Huang'）。使用 /insider-trades/names
            端点获取某个股票代码的可用姓名。
          in: query
          name: name
          required: false
          schema:
            type: string
        - description: 公司的股票代码。
          in: query
          name: ticker
          required: true
          schema:
            type: string
        - description: >-
            按交易类型筛选（例如 'Open market sale'、'Gift'）。使用
            /insider-trades/transaction-types 端点获取可用类型。
          in: query
          name: transaction_type
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response4F907C495Caf_InsiderTradesResponse
          description: 内部人士交易响应
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response4F907C495Caf_InsiderTradesResponse:
      properties:
        insider_trades:
          items:
            $ref: '#/components/schemas/Response4F907C495Caf_InsiderTrade'
          type: array
        next_page_url:
          description: >-
            Absolute URL of the next page of results. Present only when more
            results remain; request it as-is to continue. Each page holds up to
            10 records.
          type: string
      type: object
    Response4F907C495Caf_InsiderTrade:
      properties:
        filing_date:
          description: The date the filing was accepted by the SEC.
          format: date
          type: string
        form_type:
          description: >-
            The SEC form type: 4 (trade report) or 5 (annual statement), or
            their amendments 4/A, 5/A.
          type: string
        is_board_director:
          description: 该内部人士是否为董事会成员。
          type: boolean
        issuer:
          description: 发行公司的名称。
          type: string
        name:
          description: 内部人士的姓名。
          type: string
        report_period:
          description: >-
            The reporting period declared on the filing. For Form 4 this is the
            date of the earliest transaction reported, and it may be earlier
            than the filing_date.
          format: date
          type: string
        security_title:
          description: 交易所涉及证券的名称。
          type: string
        shares_owned_after_transaction:
          description: 交易后持有的股份数量。
          type: number
        shares_owned_before_transaction:
          description: 交易前持有的股份数量。
          type: number
        ticker:
          description: 公司的股票代码。
          type: string
        title:
          description: 内部人士的职称。
          type: string
        transaction_code:
          description: >-
            The SEC Form 4 transaction code (for example, `P` for open market
            purchase, `S` for open market sale, `M` for exercise of derivative
            securities, `F` for shares withheld to cover taxes, `G` for gift).
            Distinguishes the individual legs of a multi-part filing.
          type: string
        transaction_date:
          description: 交易日期。
          format: date
          type: string
        transaction_price_per_share:
          description: 交易中的每股价格。
          type: number
        transaction_shares:
          description: 交易涉及的股份数量。
          type: number
        transaction_type:
          description: >-
            A human-readable description of the transaction, derived from the
            transaction_code.
          type: string
        transaction_value:
          description: 交易总价值。
          type: number
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.