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-seriesQuery Parameters
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 symbolname- Company nameexchange- Exchange code (e.g., KRX)currency- Trading currency (e.g., KRW)interval- Time interval of the datadata_points- Number of data points returned
values (array):
datetime- ISO 8601 timestampopen- Opening pricehigh- Highest pricelow- Lowest priceclose- Closing pricevolume- Trading volume
Profile
기업의 상세 정보, 연락처, 주소, 식별자를 조회합니다.
Query Parameters
symbol
string
Yes
Stock ticker symbol
Example Request
Response
Response Fields
Basic Information:
symbol- Stock tickername- Company nameexchange- Exchange codemic_code- Market Identifier Codesector- Business sectorindustry- Industry classification
Identifiers:
currency- Trading currencyfigi_code- Financial Instrument Global Identifierisin- International Securities Identification Numbercusip- CUSIP number (US securities)
Company Details:
description- Business descriptionceo- Chief Executive Officeremployees- Number of employeeswebsite- Company website
Address:
address- Street addresscity- Citystate- State/Provincezip_code- Postal codecountry- Countryphone- Contact phone
Share Information:
shares_outstanding- Total sharesstock_type- Type of stock
Market Data:
latest_price- Latest stock pricemarket_cap- Market capitalization
Fundamentals
재무 비율, 밸류에이션 지표, 성장률 데이터를 조회합니다.
Query Parameters
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 / EBITDApfcf_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 capitalizationlatest_price- Latest stock pricelatest_volume- Latest trading volumedividend_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
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
Related APIs
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:
Check API Documentation
Contact support team
Visit GitHub repository
Last updated