The address API for Cuba.
Send the address the way people say it: between streets (“entre”), by the corner (“esq”) or with the house number. We send back the block, its coordinates and how much to trust the answer.
Requestcurl -G https://maps.bajanda.co/api/v2/geocode \ -H "X-API-Key: bm_live_tu_clave" \ --data-urlencode 'address=San Rafael entre Gervasio y Belascoain'
Response{ "results": [ { "place_id": "addr_eyJ0IjoiYmxvY2siLCJuIjoiU2FuIFJhZmFlbCwgZW50cmUgR2VydmFzaW8geSBQYWRyZSBWYXJlbGEgKEJlbGFzY29hw61uKSIsInMiOiJEcmFnb25lcywgQ2VudHJvIEhhYmFuYSwgTGEgSGFiYW5hIiwiYSI6WyIiLCIiLCJTYW4gUmFmYWVsIiwiR2VydmFzaW8iLCJCZWxhc2NvYWluIiwiRHJhZ29uZXMiLCJDZW50cm8gSGFiYW5hIiwiTGEgSGFiYW5hIl0sInAiOlsyMy4xMzYxMjY1NSwtODIuMzY5NTc2OTUwMDAwMDFdfQ.NGKKoP-lxVCk9H43fxUSXk", "type": "block", "name": "San Rafael, entre Gervasio y Padre Varela (Belascoaín)", "formatted_address": "San Rafael, entre Gervasio y Padre Varela (Belascoaín), Dragones, Centro Habana, La Habana", "place_formatted": "Dragones, Centro Habana, La Habana", "location": { "lat": 23.13612655, "lng": -82.36957695000001 }, "address": { "street": "San Rafael", "cross_streets": [ "Gervasio", "Belascoain" ], "neighborhood": "Dragones", "municipality": "Centro Habana", "province": "La Habana", "country": "Cuba", "country_code": "CU" }, "confidence": 0.95 } ] }
Change the address and send it: the answer comes from the live API.