Google a me risponde correttamente da quell'url, con quei headers. Puoi aggiungere il tuo $url​?
Errore 400 significa
The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
quindi controlla cosa stai inviando.