Banglar Map Revolutionizing Location Experiences


Endpoint for Address Autocomplete.

curl --location 'https://dev.banglarmap.com/v1/api/search.php?api_key=demo_api_key&q=mohammadpur%20preparatory%20school%20and%20college&city=dhaka'

Response:

{
    "status": "200",
    "places": [
        {
            "id": 187445,
            "longitude": "90.37027328581047",
            "latitude": "23.760237796317327",
            "address": "Mohammadpur Preparatory School And College, House 3/3, Asad Avenue, Mohammadpur, Dhaka",
            "area": "Mohammadpur",
            "sub_area": "",
            "city": "Dhaka",
            "postCode": "1207",
            "district": "",
            "country": "",
            "sub_district": "",
            "division": "",
            "pauroshova": "",
            "union": "",
            "location_type": "",
            "distance_within_meters": ""
        },
        // More place details...
    ]
}

Endpoint for Reverse Geocoding.

curl --location 'https://dev.banglarmap.com/v1/api/geocode.php?api_key=demo_api_key&longitude=90.362548828125&latitude=23.94107556246209'

Response:

{
    "status": "200",
    "place": {
        "id": 598342,
        "address": "Baitun Nur Jame Masjid, Gacha Road, Gachha, Gazipur",
        "area": "Gachha",
        "sub_area": null,
        "city": "Gazipur",
        "postCode": "1700",
        "district": null,
        "country": null,
        "sub_district": null,
        "division": null,
        "pauroshova": null,
        "union": null,
        "location_type": null,
        "distance_within_meters": 225.606508041336
    }
}