Find Branch

This API allows you to find nearest branches in the specified search area.

 

Parameters

Name Type Description

latitude

string Latitude of geo-point to search near. If longitude or radius is provided, latitude must also be provided.

longitude

string Longitude of geo-point to search near. If langitude or radius is provided, longitude must also be provided.

radius

string Defines the distance (in meters) within which to return place results. If langitude or longitude is provided, radius must also be provided.

city

string City of branch. (Optional)

district

string District of branch. (Optional)

searchText

string The text string on which to search, for example: "İstanbul", "akbank", "ank". (Optional)

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

hasAtm

bool True if the branch has ATM.

isOpenOnWeekend

bool True if the branch open on weekend.

name

string Name associated with branch

isOpenAtNoon

bool True if the branch open at noon.

latitude

string Latitude of branch location.

longitude

string Longitude of branch location

phoneNumber

string Phone number of the branch

hasSafeBox

bool True if the branch has safe deposit box.

Examples

Request:

			
{
  "latitude": 41.008238,
  "longitude": 28.978359,
  "radius": 1000,
  "city": null,
  "district": null,
  "searchText": null
}
    
  

Response:

			
 
 {
  "returnCode": "API-00000",
  "returnMsg": "İşlem başarıyla gerçekleşmiştir.",
  "data": {
    "branchRecords": [
      {
        "hasAtm": false,
        "isOpenOnWeekend": true,
        "isOpenAtNoon": true,
        "latitude": "41.0148939997592",
        "longitude": "28.9732750002419",
        "phoneNumber": "0-262-6863396",
        "hasSafeBox": false
      },
      {
        "hasAtm": false,
        "isOpenOnWeekend": true,
        "isOpenAtNoon": true,
        "latitude": "41.0227800000978",
        "longitude": "28.9755099998875",
        "phoneNumber": "0-262-6863396",
        "hasSafeBox": false
      }
    ]
  }
}