For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Company Tabs API

The company detail page uses a tab-based layout with 7 tabs, each powered by dedicated API endpoints.

Tab Overview

Tab
ID
Primary Endpoint
Description

Overview

overview

/companies/{id}

Company profile, stats, and summary cards

Financials

financials

/companies/{id}/financials

Income statement, balance sheet, cash flow

Chart

chart

TradingView widget

Interactive price chart

Disclosure

disclosure

/companies/{id}/dart

Korean corporate filings (DART)

Insider

insider

/companies/{id}/insider

Insider trading data

Analysis

analysis

/companies/{id}/snapshot + /technical

Technical signals and AI analysis

Consensus

consensus

/companies/{id}/consensus

Expert forecasts and target prices


Company Detail

Returns full company profile including financial metrics, valuation, growth, and health indicators.

GET /v1/financial_v4/companies/{company_id}

Path Parameters

Parameter
Type
Description

company_id

integer

Company ID

Response

Used by: Overview tab — company header, stats grid, financial metrics cards


Resolve Company Slug

Convert a URL slug or ticker symbol to a company ID. Used for routing.

Path Parameters

Parameter
Type
Description

slug

string

Company slug or ticker (e.g., samsung-electronics, 005930)

Response


Company Financials

Returns time-series financial statements (income statement, balance sheet, cash flow).

Query Parameters

Parameter
Type
Default
Description

period

string

"Annual"

"Annual" or "Quarterly"

years

integer

5

Number of years to retrieve

Response

Full field list: See Financial Statement Fields below.

Used by: Financials tab — sub-tabs for Income Statement, Balance Sheet, Cash Flow with annual/quarterly toggle


Company Snapshot

Returns real-time market data from yfinance including analyst recommendations.

Used by: Analysis tab — key metrics display, AI signal banner


Company Technical

Returns technical indicators calculated from price data.

Response includes

  • RSI (Relative Strength Index)

  • MACD (Moving Average Convergence Divergence)

  • Bollinger Bands (upper, middle, lower)

  • ATR (Average True Range)

  • SMA (Simple Moving Averages — 20, 50, 200 day)

Used by: Analysis tab — technical signals component


Company News

Returns news articles from Perigon API and Google News RSS.

Query Parameters

Parameter
Type
Default
Description

limit

integer

3

Number of articles to return

locale

string

"ko"

Language locale ("ko", "en")

Used by: Overview tab — news card (lazy-loaded below the fold)


Company DART Disclosures

Returns Korean corporate disclosure filings from the DART system.

Query Parameters

Parameter
Type
Default
Description

limit

integer

3

Number of filings to return

Used by: Disclosure tab, Overview tab — DART card


Company Research Highlights

Returns analyst research report summaries.

Query Parameters

Parameter
Type
Default
Description

limit

integer

3

Number of reports to return

Used by: Overview tab — research highlights card


Company Sector Analysis

Returns sector-level analysis for the company.

Query Parameters

Parameter
Type
Default
Description

locale

string

—

Language locale

Used by: Overview tab — sector analysis card (lazy-loaded)


Company Consensus

Returns expert forecast consensus including target prices and investment opinions.

Query Parameters

Parameter
Type
Default
Description

months

integer

12

Analysis period in months

Response

Used by: Consensus tab — target price chart, opinion distribution, broker detail table


Company Insider

Returns insider trading data for the company.

Used by: Insider tab, Disclosure tab — insider trading embed


Financial Statement Fields

The financials endpoint returns these fields for each statement period:

Income Statement (손익계산서)

Field
Description

sales

Revenue (매출액)

cost_of_goods

Cost of goods sold (매출원가)

gross_profit

Gross profit (매출총이익)

research_and_development

R&D expenses (연구개발비)

selling_general_and_administrative

SG&A expenses (판매관리비)

operating_income

Operating income (영업이익)

ebit

EBIT

ebitda

EBITDA

pretax_income

Pretax income (세전이익)

net_income

Net income (당기순이익)

eps_basic

Basic EPS (기본주당순이익)

eps_diluted

Diluted EPS (희석주당순이익)

Balance Sheet (재무상태표)

Field
Description

total_assets

Total assets (자산총계)

total_current_assets

Current assets (유동자산)

cash_and_cash_equivalents

Cash & equivalents (현금및현금성자산)

accounts_receivable

Accounts receivable (매출채권)

inventory

Inventory (재고자산)

total_non_current_assets

Non-current assets (비유동자산)

properties

Property, plant & equipment (유형자산)

intangible_assets

Intangible assets (무형자산)

goodwill

Goodwill (영업권)

total_liabilities

Total liabilities (부채총계)

total_current_liabilities

Current liabilities (유동부채)

total_non_current_liabilities

Non-current liabilities (비유동부채)

total_shareholders_equity

Total equity (자본총계)

retained_earnings

Retained earnings (이익잉여금)

Cash Flow (현금흐름표)

Field
Description

operating_cash_flow

Operating cash flow (영업활동현금흐름)

investing_cash_flow

Investing cash flow (투자활동현금흐름)

financing_cash_flow

Financing cash flow (재무활동현금흐름)

capital_expenditures

CapEx (유형자산취득)

free_cash_flow

Free cash flow (잉여현금흐름)

common_dividends

Dividends paid (배당금지급)


Frontend Hooks Reference

Each API endpoint is wrapped in a React Query hook with optimized caching:

Hook
Endpoint
Stale Time
Cache Time

useCompanyDetail()

/companies/{id}

5 min

10 min

useCompanyFinancials()

/companies/{id}/financials

1 hour

2 hours

useCompanySnapshot()

/companies/{id}/snapshot

1 min

—

useCompanyTechnical()

/companies/{id}/technical

—

—

useCompanyNews()

/companies/{id}/news

1 min

—

useCompanyDart()

/companies/{id}/dart

1 min

—

useCompanyResearch()

/companies/{id}/research-highlights

1 min

—

useStockAnalysis()

Stock analysis service

5 min

10 min

Tab Navigation

Tabs use URL hash routing (#overview, #financials, etc.) with lazy-loaded components via Next.js dynamic() imports. Each tab component only fetches data when activated.

Last updated