Basic Financial API

Twelve Data 스타일의 간단하고 직관적인 금융 데이터 API입니다. 시계열 가격 데이터, 기업 프로필, 펀더멘털 지표를 제공합니다.

Base URL: /api/v1/financial-v4

Authentication: Optional (Trial mode supported)


Time Series

종목의 과거 OHLCV (시가, 고가, 저가, 종가, 거래량) 데이터를 조회합니다.

GET /api/v1/financial-v4/time-series

Query Parameters

Parameter
Type
Required
Description

symbol

string

Yes

Stock ticker symbol (e.g., "005930")

interval

string

No

Time interval: 1day, 1week, 1month (default: 1day)

outputsize

integer

No

Number of data points (1-5000, default: 30)

start_date

string

No

Start date filter (YYYY-MM-DD)

end_date

string

No

End date filter (YYYY-MM-DD)

Example Request

curl -X GET "https://api.alpha-lenz.com/api/v1/financial-v4/time-series?symbol=005930&interval=1day&outputsize=100"

Response

Response Fields

meta:

  • symbol - Stock ticker symbol

  • name - Company name

  • exchange - Exchange code (e.g., KRX)

  • currency - Trading currency (e.g., KRW)

  • interval - Time interval of the data

  • data_points - Number of data points returned

values (array):

  • datetime - ISO 8601 timestamp

  • open - Opening price

  • high - Highest price

  • low - Lowest price

  • close - Closing price

  • volume - Trading volume


Profile

기업의 상세 정보, 연락처, 주소, 식별자를 조회합니다.

Query Parameters

Parameter
Type
Required
Description

symbol

string

Yes

Stock ticker symbol

Example Request

Response

Response Fields

Basic Information:

  • symbol - Stock ticker

  • name - Company name

  • exchange - Exchange code

  • mic_code - Market Identifier Code

  • sector - Business sector

  • industry - Industry classification

Identifiers:

  • currency - Trading currency

  • figi_code - Financial Instrument Global Identifier

  • isin - International Securities Identification Number

  • cusip - CUSIP number (US securities)

Company Details:

  • description - Business description

  • ceo - Chief Executive Officer

  • employees - Number of employees

  • website - Company website

Address:

  • address - Street address

  • city - City

  • state - State/Province

  • zip_code - Postal code

  • country - Country

  • phone - Contact phone

Share Information:

  • shares_outstanding - Total shares

  • stock_type - Type of stock

Market Data:

  • latest_price - Latest stock price

  • market_cap - Market capitalization


Fundamentals

재무 비율, 밸류에이션 지표, 성장률 데이터를 조회합니다.

Query Parameters

Parameter
Type
Required
Description

symbol

string

Yes

Stock ticker symbol

Example Request

Response

Response Fields

valuation (Valuation Ratios):

  • pe_ratio - Price-to-Earnings ratio (PER)

  • pb_ratio - Price-to-Book ratio (PBR)

  • ps_ratio - Price-to-Sales ratio (PSR)

  • ev_ebitda - Enterprise Value / EBITDA

  • pfcf_ratio - Price to Free Cash Flow ratio

growth (Growth Metrics):

  • sales_growth_1y - 1-year sales growth (%)

  • sales_growth_3y_cagr - 3-year sales CAGR (%)

  • sales_growth_5y_cagr - 5-year sales CAGR (%)

  • operating_income_growth_1y - 1-year operating income growth (%)

  • operating_income_growth_3y_cagr - 3-year operating income CAGR (%)

  • operating_income_growth_5y_cagr - 5-year operating income CAGR (%)

market_data (Market Data):

  • market_cap - Market capitalization

  • latest_price - Latest stock price

  • latest_volume - Latest trading volume

  • dividend_yield - Dividend yield (%)

  • shares_outstanding - Total shares outstanding


Error Responses

All endpoints return standard error responses:

404 Not Found

422 Validation Error

500 Internal Server Error


Use Cases

1. Building a Stock Price Chart

Get historical price data for visualization:

2. Company Research Dashboard

Combine profile and fundamentals data:

3. Multi-Timeframe Analysis

Compare different time periods:

4. Historical Period Analysis

Get data for a specific date range:


Rate Limits

Currently, these endpoints support trial mode without rate limits. For production use:

  • Standard tier: 100 requests/minute

  • Premium tier: 1000 requests/minute

  • Enterprise tier: Custom limits

Contact support for API key and tier upgrade.


Comparison with Twelve Data

Feature
Twelve Data
Basic Financial API
Notes

Time Series

Similar structure

Company Profile

Full company info

Fundamentals

Valuation & growth

Real-time Quote

Coming soon

Technical Indicators

Use /stock-prices API

Logo

Not implemented

WebSocket

Not implemented


  • Stock API - Advanced stock price data with technical indicators

  • Financial API - Detailed financial statements and company data

  • News API - Company news and market updates


Support

For questions or issues:

Last updated