Nearest branch fetch
This API enables banks to find the nearest branch based on a customer’s geocode (latitude and longitude). Using advanced geospatial algorithms, the API calculates and returns the closest branch location in real-time, optimizing lead allocation. Key Features: Input: Customer geocode (latitude and longitude). Output: Nearest branch information, including branch ID, name, address, and distance from the customer. 1. High-speed response to support real-time decision-making. 2. These APIs are designed to provide a seamless and efficient lead allocation solution, helping banks improve their operational efficiency and customer satisfaction.
API details
Endpoint
POST https://api.signzy.app/api/v3/nearest-branch/fetchPOST https://api-preproduction.signzy.app/api/v3/nearest-branch/fetchRequest body parameters
Parameter | Data Type | Description | Required |
|---|---|---|---|
fileId | Object | File ID for previous flow | Mandatory |
latitude | String | Latitude of the point from where you want to fetch distance | Optional |
longitude | String | Longitude of that point from where you want to fetch distance | Optional |
address | String | Address of that point from where you want to fetch distance | Optional |
Request body
{
"fileId": "a2521a3c7b6942ed9065a8f81b9ceceb",
"latitude": "37.7748",
"longitude": "-122.4194"
"address": ""
} Request Headers
Name | Value | Required | Description |
|---|---|---|---|
Content-type | application/json | Mandatory | The type of content that the request body contains. |
Authorization | XXXXXXXXXXXXXXX | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |
Code Samples
curl --location 'https://api-preproduction.signzy.app/api/v3/nearest-branch/fetch' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth token>' \
--data '{
"fileId": "a2521a3c7b6942ed9065a8f81b9ceceb",
"latitude": "37.7748",
"longitude": "-122.4194",
"address": ""
} 'Response body parameters
Parameter | Data Type | Description |
|---|---|---|
result | Object | The root object containing the result of the operation. |
result.originAddress | String | The address representing the origin of the journey. |
result.destinationAddress | String | The address representing the destination of the journey. |
result.mode | String | The mode of transportation used for the journey. |
result.distanceInMeters | Integer | The distance of the journey in meters. |
result.durationInSeconds | Integer | The duration of the journey in seconds. |
{
"result": {
"nearestPoint": {
"latitude": 37.7749,
"longitude": -122.4194
},
"distanceInMeter": 440,
"coordinates": {
"latitude": 37.7748,
"longitude": -122.4194
}
}
}Contact Us for Any Assistance
If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at [email protected]. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.
We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!