Last Price Inquiry
GET/v1/basic/price/close/:ticker
Retrieve the last price for the stock corresponding to the ticker.
Request
Path Parameters
ticker stringrequired
stock code
Query Parameters
startDate daterequired
Query start date (YYYY-MM-DD) (maximum 6 months)
endDate daterequired
End date of query (YYYY-MM-DD) (maximum 6 months)
Header Parameters
Accept-Country stringrequired
Default value: KR
Country Code (KR or US)
Accept-Currency string
Default value: KRW
Currency Code (KRW or USD)
Accept-Language string
Default value: EN
Language Code (KO or EN)
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
data
object
ticker string
Ticker symbol
tradeDate date
Trading date
close double
Last price
open double
Opening price
high double
High price
low double
Low price
closeAdj double
Adjusted Last price
openAdj double
Adjusted opening price
highAdj double
Adjusted high price
lowAdj double
Adjusted low price
volume double
Trading volume
page integer
Default value: 0
Page number (default: 0)
size integer
Default value: 5
Page size (default: 5)
totalPage integer
Default value: 0
Total number of pages
totalCount integer
Default value: 0
Total number of items
code string
Response code
status integer
Response status code
message string
Response message
timestamp string
Response timestamp
{
"data": {
"ticker": "string",
"tradeDate": "2024-07-29",
"close": 0,
"open": 0,
"high": 0,
"low": 0,
"closeAdj": 0,
"openAdj": 0,
"highAdj": 0,
"lowAdj": 0,
"volume": 0
},
"page": 0,
"size": 5,
"totalPage": 0,
"totalCount": 0,
"code": "string",
"status": 0,
"message": "string",
"timestamp": "string"
}
Loading...