 <p>Try below - location is an Object, so you should be able to reference it with -> notation.</p> <pre><code>$city = $response-&gt;businesses[0]-&gt;location-&gt;city; </code></pre> <p>display_address </p> <pre><code>$display_address = $response-&gt;businesses[0]-&gt;location-&gt;display_address[0]; </code></pre>