tickdb-ai Fundamentals Capital Actions API

The fundamentals-capital-actions API from tickdb-ai — 4 operation(s) for fundamentals-capital-actions.

Operations 4

GET /v1/fundamentals/dividends 分红记录 #
GET /v1/fundamentals/dividends/ttm 股息TTM #
GET /v1/fundamentals/buyback 股票回购 #
GET /v1/fundamentals/corp-actions 公司行动 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tickdb-ai:tickdb-ai-fundamentals-capital-actions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tickdb-ai-fundamentals-capital-actions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TickDB Fundamentals Capital Actions API
  description: TickDB 统一实时行情数据 API,提供 REST 和 WebSocket 接入。
  version: 1.0.3
  contact:
    email: support@tickdb.ai
servers:
- url: https://api.tickdb.ai
  description: 生产环境
security:
- ApiKeyAuth: []
tags:
- name: fundamentals-capital-actions
paths:
  /v1/fundamentals/dividends:
    get:
      tags:
      - fundamentals-capital-actions
      summary: 分红记录
      description: 查询股票的分红记录,包括历史及已知的未来分红事件,支持日期、类型和分页筛选。
      operationId: getFundamentalsDividends
      parameters:
      - $ref: '#/components/parameters/SymbolQuery'
      - $ref: '#/components/parameters/TypeQuery'
      - $ref: '#/components/parameters/DividendTypeQuery'
      - $ref: '#/components/parameters/FromQuery'
      - $ref: '#/components/parameters/ToQuery'
      - $ref: '#/components/parameters/DividendLimitQuery'
      - $ref: '#/components/parameters/CursorQuery'
      responses:
        '200':
          $ref: '#/components/responses/DividendsResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
  /v1/fundamentals/dividends/ttm:
    get:
      tags:
      - fundamentals-capital-actions
      summary: 股息TTM
      description: TTM 指截至统计日的最近 12 个月;查询这段时间内按币种汇总的每股现金股息。
      operationId: getFundamentalsDividendsTTM
      parameters:
      - $ref: '#/components/parameters/SymbolQuery'
      - $ref: '#/components/parameters/TypeQuery'
      - $ref: '#/components/parameters/DividendAsOfQuery'
      responses:
        '200':
          $ref: '#/components/responses/DividendsTTMResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
  /v1/fundamentals/buyback:
    get:
      tags:
      - fundamentals-capital-actions
      summary: 股票回购
      description: 获取公司回购计划、执行情况和历史指标。
      operationId: getFundamentalsBuyback
      parameters:
      - $ref: '#/components/parameters/SymbolQuery'
      - $ref: '#/components/parameters/TypeQuery'
      responses:
        '200':
          $ref: '#/components/responses/BuybackResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
  /v1/fundamentals/corp-actions:
    get:
      tags:
      - fundamentals-capital-actions
      summary: 公司行动
      description: 查询拆股、并股、配股、代码变更等公司行动事件。
      operationId: getFundamentalsCorporateActions
      parameters:
      - $ref: '#/components/parameters/SymbolQuery'
      - $ref: '#/components/parameters/TypeQuery'
      - $ref: '#/components/parameters/FromQuery'
      - $ref: '#/components/parameters/ToQuery'
      responses:
        '200':
          $ref: '#/components/responses/CorporateActionsResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    DividendsEnvelope:
      allOf:
      - $ref: '#/components/schemas/SuccessEnvelope'
      - type: object
        required:
        - page
        properties:
          data:
            $ref: '#/components/schemas/DividendData'
          page:
            $ref: '#/components/schemas/PageInfo'
    BuybackTTM:
      type: object
      required:
      - net_buyback
      - net_buyback_yield
      - buyback_payout_ratio
      - buyback_to_cashflow_ratio
      properties:
        net_buyback:
          type:
          - string
          - number
          - 'null'
          description: 净回购额。
        net_buyback_yield:
          type:
          - string
          - number
          - 'null'
          description: 净回购收益率。
        buyback_payout_ratio:
          type:
          - string
          - number
          - 'null'
          description: 回购支付率。
        buyback_to_cashflow_ratio:
          type:
          - string
          - number
          - 'null'
          description: 回购与现金流比率。
      additionalProperties: true
    DividendEvent:
      type: object
      required:
      - event_id
      - type
      - distribution_kind
      - description
      - amount
      - stock_distribution_ratio
      - currency
      - declaration_date
      - record_date
      - ex_date
      - payment_date
      - detail_level
      properties:
        event_id:
          type: string
          description: 事件 ID。
        type:
          type: string
          enum:
          - normal
          - special
          - non_cash
          - unknown
          description: 对外分红分类。
        distribution_kind:
          type: string
          enum:
          - cash
          - stock
          - other_non_cash
          - unknown
          description: 分派形式。
        description:
          type:
          - string
          - 'null'
          description: 事件说明。
        amount:
          type:
          - string
          - 'null'
          description: 每股现金金额的十进制字符串;纯非现金事件为 null。
        stock_distribution_ratio:
          type:
          - string
          - 'null'
          description: 每股送股或转增比例;例如 0.7 表示每 1 股送转 0.7 股(每 10 股送转 7 股)。
        currency:
          type:
          - string
          - 'null'
          description: 币种。
        declaration_date:
          type:
          - string
          - 'null'
          format: date
          description: 公告日。
        record_date:
          type:
          - string
          - 'null'
          format: date
          description: 股权登记日。
        ex_date:
          type:
          - string
          - 'null'
          format: date
          description: 除权除息日。
        payment_date:
          type:
          - string
          - 'null'
          format: date
          description: 派息日。
        detail_level:
          type: string
          enum:
          - summary
          - detail
          description: 详情级别。
      additionalProperties: true
    PageInfo:
      type: object
      required:
      - next_cursor
      - limit
      properties:
        next_cursor:
          type:
          - string
          - 'null'
          description: 下一页游标;非空时原样作为下一次请求的 cursor 参数,末页为 null。
        limit:
          type: integer
          minimum: 1
          description: 当前分页上限。
      additionalProperties: true
    CorporateActionItem:
      type: object
      required:
      - event_id
      - event_date
      - date_type
      - date_zone
      - act_type
      - act_desc
      - action_code
      - is_recent
      properties:
        event_id:
          type: string
          description: 事件 ID。
        event_date:
          type: string
          format: date
          description: 事件日期。
        date_type:
          type: string
          description: 日期类型。
        date_zone:
          type: string
          description: 日期时区。
        act_type:
          type: string
          description: 行动类型。
        act_desc:
          type: string
          description: 行动说明。
        action_code:
          type: string
          description: 行动代码。
        is_recent:
          type: boolean
          description: 是否近期事件。
      additionalProperties: true
    DividendTTMCurrency:
      type: object
      required:
      - currency
      - normal_cash_dps_ttm
      - special_cash_dps_ttm
      - total_cash_dps_ttm
      - normal_event_count
      - special_event_count
      properties:
        currency:
          type: string
        normal_cash_dps_ttm:
          type: string
        special_cash_dps_ttm:
          type: string
        total_cash_dps_ttm:
          type: string
        normal_event_count:
          type: integer
          minimum: 0
        special_event_count:
          type: integer
          minimum: 0
      additionalProperties: true
    BuybackEnvelope:
      allOf:
      - $ref: '#/components/schemas/SuccessEnvelope'
      - type: object
        properties:
          data:
            $ref: '#/components/schemas/BuybackData'
    DividendTTMData:
      type: object
      required:
      - symbol
      - as_of_date
      - window_start_exclusive
      - currencies
      properties:
        symbol:
          type: string
          description: 标准化股票代码。
        as_of_date:
          type: string
          format: date
          description: TTM 截止日。
        window_start_exclusive:
          type: string
          format: date
          description: 十二个月窗口的排他起点。
        currencies:
          type: array
          description: 按币种汇总;窗口内没有符合条件的现金分红时为空数组。
          items:
            $ref: '#/components/schemas/DividendTTMCurrency'
      additionalProperties: true
    CorporateActionsEnvelope:
      allOf:
      - $ref: '#/components/schemas/SuccessEnvelope'
      - type: object
        properties:
          data:
            $ref: '#/components/schemas/CorporateActionsData'
    DividendData:
      type: object
      required:
      - symbol
      - events
      properties:
        symbol:
          type: string
          description: 标准化股票代码。
        events:
          type: array
          description: 符合筛选条件的分红记录列表,可能包含已知的未来事件。
          items:
            $ref: '#/components/schemas/DividendEvent'
      additionalProperties: true
    BuybackHistoryItem:
      type: object
      required:
      - currency
      - fiscal_year
      - fiscal_year_range
      - net_buyback
      - net_buyback_yield
      - net_buyback_growth_rate
      properties:
        currency:
          type: string
          description: 币种。
        fiscal_year:
          type: string
          description: 财年。
        fiscal_year_range:
          type: string
          description: 财年日期范围。
        net_buyback:
          type:
          - string
          - number
          - 'null'
          description: 净回购额。
        net_buyback_yield:
          type:
          - string
          - number
          - 'null'
          description: 净回购收益率。
        net_buyback_growth_rate:
          type:
          - string
          - number
          - 'null'
          description: 净回购增长率。
      additionalProperties: false
    SuccessEnvelope:
      type: object
      required:
      - code
      - data
      properties:
        code:
          type: integer
          const: 0
          description: 业务状态码,成功为 0。
    CorporateActionsData:
      type: object
      required:
      - symbol
      - events
      properties:
        symbol:
          type: string
          description: 标准化股票代码。
        events:
          type: array
          description: 公司行动列表。
          items:
            $ref: '#/components/schemas/CorporateActionItem'
      additionalProperties: true
    BuybackData:
      type: object
      required:
      - symbol
      - currency
      - ttm
      - history
      properties:
        symbol:
          type: string
          description: 标准化股票代码。
        currency:
          type: string
          description: 币种。
        ttm:
          $ref: '#/components/schemas/BuybackTTM'
        history:
          type: array
          description: 历史年度回购指标。
          items:
            $ref: '#/components/schemas/BuybackHistoryItem'
      additionalProperties: true
    ErrorEnvelope:
      type: object
      required:
      - code
      - message
      properties:
        code:
          description: TickDB API 业务错误码;可能为整数或字符串,客户端应归一化为字符串后比较。
          oneOf:
          - type: integer
          - type: string
        message:
          type: string
          description: 错误说明。
        error:
          type: string
          description: 兼容错误标识;仅部分错误响应返回。
        data:
          description: 可选的错误上下文;可能为 null、对象或数组。
          oneOf:
          - type: 'null'
          - type: object
            additionalProperties: true
          - type: array
            items: {}
    DividendsTTMEnvelope:
      allOf:
      - $ref: '#/components/schemas/SuccessEnvelope'
      - type: object
        properties:
          data:
            $ref: '#/components/schemas/DividendTTMData'
  responses:
    ErrorResponse:
      description: 错误响应。常见 HTTP 状态包括 400(参数错误)、401(鉴权失败)、403(权限或配额限制)、404(无匹配数据)、429(请求频率限制)和 503(服务暂不可用)。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            missingAPIKey:
              summary: 缺少 API Key
              value:
                code: '1002'
                message: API key is required. Provide via X-API-Key header
                error: '1002'
            missingKind:
              summary: 缺少必填参数
              value:
                code: 40001
                message: kind is required
                data: null
            endpointForbidden:
              summary: API Key 无权访问该接口
              value:
                code: 3009
                message: This endpoint is not allowed for your API key
                data: null
            marketForbidden:
              summary: API Key 未开放该市场
              value:
                code: 3010
                message: Fundamentals market not allowed for your API key
                data:
                  market: US
            noAvailableSource:
              summary: 数据暂不可用
              value:
                code: 5003
                message: Data is temporarily unavailable
                data: null
            notFound:
              summary: 无匹配数据
              value:
                code: 40404
                message: shareholder detail not found
                data: null
            businessNoData:
              summary: 查询条件无有效业务数据
              value:
                code: 40405
                message: valuation time series not found
                data: null
    DividendsTTMResponse:
      description: 股息TTM响应。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DividendsTTMEnvelope'
    CorporateActionsResponse:
      description: 公司行动响应。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CorporateActionsEnvelope'
    BuybackResponse:
      description: 股票回购响应。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BuybackEnvelope'
    DividendsResponse:
      description: 分红记录响应。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DividendsEnvelope'
  parameters:
    TypeQuery:
      name: type
      in: query
      required: false
      schema:
        type: string
        enum:
        - stock
      description: 产品类型,当前支持 `stock`
    DividendLimitQuery:
      name: limit
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 500
        default: 100
      description: 单页数量,默认 100,范围 `1–500`
    FromQuery:
      name: from
      in: query
      required: false
      schema:
        type: string
        format: date
        examples:
        - 2024-01-01
      description: 起始日期,格式 `YYYY-MM-DD`
    DividendAsOfQuery:
      name: as_of
      in: query
      required: false
      schema:
        type: string
        format: date
      description: 统计截止日,格式 `YYYY-MM-DD`;默认当前日期
    DividendTypeQuery:
      name: dividend_type
      in: query
      required: false
      schema:
        type: string
        enum:
        - normal
        - special
        - non_cash
        - unknown
      description: 分红类型:`normal`、`special`、`non_cash`、`unknown`。
    SymbolQuery:
      name: symbol
      in: query
      required: true
      schema:
        type: string
        examples:
        - AAPL
        - '700'
        - '600519'
        - AAPL.US
        - 700.HK
        - 600519.SH
      description: 股票代码
    ToQuery:
      name: to
      in: query
      required: false
      schema:
        type: string
        format: date
        examples:
        - 2026-12-31
      description: 结束日期,格式 `YYYY-MM-DD`
    CursorQuery:
      name: cursor
      in: query
      required: false
      schema:
        type: string
        minLength: 1
      description: 下一页游标;第一页不传
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
x-user-api-scope:
  primary_user_api_count: 25
  authentication: X-API-Key
x-fundamentals-product-scope:
  supported_stock_categories:
  - market: US
    exchanges:
    - NASDAQ
    - NYSE
    - AMEX
    category: stock
  - market: HK
    exchanges:
    - HKEX
    category: stock
  - market: CN
    exchanges:
    - SH
    - SZ
    category: stock
  unsupported_upstream_categories:
  - US_ARCA
  - US_BATS
  - CN_BJ_STOCK
  - CN_SH_ETF
  - CN_SZ_ETF
  unsupported_behavior: 不承诺 fundamentals 数据可用性;当前接口行为包括结构化 404 或格式正确的成功空响应。