uiTeam324
uiTeam324

Reputation: 1245

Get latitude and longitude from address using Google Geocoding API error message: “you have exceeded your daily request quota for this api..”

Here is my code

$url = "https://maps.google.com/maps/api/geocode/json?address=$address&sensor=false";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_PROXYPORT, 3128);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$response = curl_exec($ch);
curl_close($ch);
$response_a = json_decode($response);

How can I increase the quota. I have almost 30k+ data

Upvotes: 1

Views: 268

Answers (1)

Ian Devlin
Ian Devlin

Reputation: 18870

You have to pay for a Google Maps license

Upvotes: 1

Related Questions