Search Map Objects by Address via REST API [PHP Code]
Search the objects on the map next to the address by sending a POST request to the Mapquest.com REST API. Replace {mapquest_apikey} with your own Mapquest API key. The PHP code was automatically generated for the Search Map Objects By Address Via REST API example.
Search Map Objects by Address via REST API [PHP Code]Send
POST /search/v2/radius?key={mapquest_apikey} HTTP/1.1
Host: www.mapquestapi.com
Content-Type: application/json
Content-Length: 80
{
"location": "Broadway, New York",
"options": {
"maxMatches": 5
}
}