This is not possible through the API, but by using [this file](https://storage.googleapis.com/public-download-files/hgnc/tsv/tsv/hgnc_complete_set.txt)
This is not possible through the API, but by using this file