S SPARKDATA
← Back to data results

China equities

Revenue composition

MainOperIncData
Paid · PlusJSONTry online

This API requires paid access or an active trial. Review its fields and examples first; online payments are not available yet.

Data description

Use the field names shown below when building requests.

【API描述】 1. 接口主要用于获取指定沪深北交易所A股上市公司的最新及历史财报披露的主营业务数据; 2. 主营业务构成数据(比如收入,成本,利润,毛利率,营收,营收占比)按照分产品、分行业、分地区(比如境内、境外、中南、华北等)的维度可以查询; 3. 接口收录同一公司在报告期末的四种财务报告数据,即合并未调整报告、母公司未调整报告、合并调整报告以及母公司调整报告; 4. 信息来源:招股说明书、定报、审计报告等 5、典型问法:2024年徐工的营收中出口是多少,占比多大 【API使用场景】 - 用户需要获取某个或多个A股公司的最新或者历史报告期的主营业务数据,可以深入理解公司的业务范围、核心产品和服务,以及在公司整体业务中的地位和作用。 - 有助于判断公司在市场行业中的定位,包括市场份额、行业排名和竞争优势。 - 有助于评估公司的收入来源、收入结构及其变化趋势;评估开展的具体各项业务的盈利能力,成本控制水平以及未来发展潜力。 【注意事项】 当用户询问某公司具体产品、业务、行业、地区的收入、成本、利润、毛利率、营收、营收占比等指标时,主营构成api接口比财务报表接口更加适用。

POST /v1/data/operations/MainOperIncData · JSON

Input parameters

FieldTypeConstraintDescription and example
stockObject
股票代码
string_array
string_array
Required
Dictionary selection: STOCK_A_COMPANY
股票代码是沪深北上市公司通用的股票代码,支持一次获取多个品种数据

Example: ["1679"]

mainOperType
主营分类方式
string
string
Optional
Dictionary selection: MAINOPERTYPE
主营分类方式是指主营构成的分类方式,分为按行业、按产品、按地区三种分类方式,其中,按产品划分是指按照上市公司经营不同的产品、业务、服务来划分主营业务;按行业划分是指依据公司业务所属的不同行业来划分主营业务; 按地区划分是指依据公司业务发生的地域性来划分主营业务

Example: Example text

mainOperFin
主营财务科目
string_array
string_array
Optional
Dictionary selection: MAINOPERFIN
主营财务科目是指财报中披露的主营财务科目,包括主营业务收入,主营业务成本,主营业务利润,毛利率

Example: […]

unit
主营科目单位
string
string
Optional
Dictionary selection: AMOUNT_UNIT
主营科目单位是输出主营财务科目指标的单位,支持元,万元,百万元,亿元,十亿元

Example: Example text

mergedAdjustedSymbol
报告类型
string
string
Optional
Dictionary selection: MERGEDADJUSTEDSY_MBOL
报告类型是区分不同类型财务报表的分类标识,包括合并报表、母公司报表、合并报表(调整)

Example: Example text

reportDate
报告期类型
string_array
string_array
Optional
Dictionary selection: MAIN_OPER_REPORT_TYPE
报告期类型指主营业务披露所对应的报告期,涵盖半年报与年报,默认不限

Example: […]

beginDate
开始日期
date
date
Optional根据会计报告期的区间范围查询的开始日期,输入格式“YYYY-MM-DD”

Example: 2026-09-30

endDate
截止日期
date
date
Optional根据会计报告期的区间范围查询的结束日期,输入格式“YYYY-MM-DD”

Example: 2026-09-30

pageNo
页面编号
number
number
Optional定位分页查询的目标页码,默认不限

Example: 1

pageSize
页内记录数
number
number
Optional单页返回的最大记录条数,默认不限

Example: 5

Response fields

FieldTypeConstraintDescription and example
stockobject
股票内码
string
string
—聚源用于确定证券唯一性的内码

Example: Example text

stockname
股票名称
string
string
—证券市场主板,创业板,科创板通用的证券简称

Example: Example text

stockcode
股票代码
string
string
—证券市场主板,创业板,科创板通用的证券代码

Example: Example text

companycode
公司内码
string
string
—发债公司内码

Example: Example text

companyname
公司名称
string
string
—发债公司名称

Example: Example text

companyabbrname
公司简称
string
string
—发债公司简称

Example: Example text

mainopertype
主营分类方式
string
string
—主营业务按产品,按行业,按地区三种分类方式

Example: Example text

mainoperfin
主营财务科目
string
string
—财报中披露的主营财务科目:主营业务收入,主营业务成本,主营业务利润,毛利率

Example: Example text

mainopername
主营业务名称
string
string
—财报中披露在按照不同分类方式(按产品,按行业,按地区)下具体的每一项主营业务名称;主营业务中披露的“其他收入”为主营业务收入合计值与合并利润表的营业总收入配平后出现差额的情况下去附注采集的数据。

Example: Example text

level
主营业务层级
string
string
—当前主营业务处于细分的第几层级

Example: Example text

parentopername
主营业务科目父级名称
string
string
—若有父级,父级的主营业务名称

Example: Example text

date
时间
string
string
—报告期具体时间,格式为“YYYY-MM-DD”

Example: Example text

reportdate
报告期
string
string
—主营业务披露的报告期:一季报、半年报、三季报、年报

Example: Example text

financevalue
主营业务财务科目数额
string
string
—主营业务财务科目数额

Example: Example text

financeunit
主营业务财务科目单位
string
string
—主营业务财务科目单位

Example: Example text

yoy
同比(%)
string
string
—财务指标同比变化

Example: Example text

Request example

Example instruments, required parameters and applicable page limits are prefilled. Open the side drawer for field notes and a live response.

{
  "parameters": {
    "stockObject": [
      "1679"
    ],
    "pageNo": 1,
    "pageSize": 5
  }
}
  • stockObject: 贵州茅台 · 600519.SH
  • Samples use verified instruments and dictionary values. Records depend on the query range, data updates and the selected key's permissions.
  • The sample requests 5 records; some business aggregates may return more rows, as shown in the actual response.

Coverage and access boundaries

Run the example to check the securities, dates and fields you need. Available history and content rights vary by endpoint. Requests use your account access and the selected API key.

Follow the parameter notes for minute intervals, price adjustment and time units. A missing field does not mean a zero value.