Stock Values

Stock Values API allows you to get current stock values...

 

Parameters

Name Type Description

symbol

string Stock symbol. (Required)

Data Returned

Data is returned as JSON as specified by the dataFormat parameter.

Regardless of format, the data contains the following fields:

Name Type Description

last

string Last value.

previousClose

string Previous close value.

change

string Change value.

bestBuy

string Best buying price.

bestSell

string Best selling price

hour

string Current hour.(hhmmss)

max

string Peak value of stock.

groupSymbol

string Group symbol of stock.

stockStatus

string Status of stock.

symbol

string Symbol of stock.

name

string Name of stock.

Examples

Request:

GET  https://apigate.akbank.com/api/mock/stockValues?symbol=AKBNK

Response:

            

 {
   "returnCode": "API-00000",
   "returnMsg": "İşlem başarıyla gerçekleşmiştir.",
   "data": 
  {
     "average1": 0,
     "average2": 0,
     "last": 5.22,
     "previousClose": 12.58,
     "change": 0,
     "bestBuy": 0,
     "bestSell": 0,
     "volume1": 0,
     "amount1": 0,
     "volume2": 0,
     "amount2": 0,
     "hour": 102749,
     "max": 7.82,
     "groupSymbol": "A",
     "stockStatus": "K",
     "symbol": "AKBNK",
     "name": "AKBANK" 
  } 
}