https://api.lbkrs.com/v1/stock-info/quarter-sankeyParameters
counter_idstringqueryRequiredSecurity code, such as ST/US/AAPL
reportstringqueryReport period type:
af- Annual reportsaf- Semi-annual reportqf- Single-quarter report
fiscal_yearintegerqueryFiscal year, such as 2025
fiscal_periodstringqueryFiscal period number, such as 4 for the fourth fiscal quarter
rpt_timestringqueryEarnings release time, used to locate the reporting period by release time. When provided, report, fiscal_year, and fiscal_period can be omitted
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get quarterly revenue Sankey diagram” operation.codemessagedatadataobjectdata structureSankey data, usually for a single quarter
Child attributes
Reporting period identifier
Fiscal year
Report period type, such as af (annual), saf (semi-annual), or qf (single quarter)
Currency of the amounts, such as USD
Base for share calculation. A node's share is its absolute amount divided by this value
Nodes
Child attributes
Node key, referenced in links and order
Node display name
Level (column) of the node, increasing from left to right
Node amount in currency. May be negative
Year-over-year change rate as a percentage number, without %
Share of the node
Node category, used for coloring. Not colored when empty
Child nodes, placed at the same level as the parent
Child attributes
Node key, referenced in links and order
Node display name
Level (column) of the node, increasing from left to right
Node amount in currency. May be negative
Year-over-year change rate as a percentage number, without %
Share of the node
Node category, used for coloring. Not colored when empty
Links between nodes
Child attributes
Source node key
Target node key
Display order of node keys