2 questions about taxonKey and map tiles


I want to query the GBIF Maps API in a mobile app and have 2 questions. I would appreciate your help very much.

The user shall type the name of for example a species, phylum etc. and then I want to load map tiles of occurrences. Via a filter menu, I also want to list kingdom, phyla, classes etc. as on the gbif.org/occurence/search page.

Which API do I have to use to get a list of taxonKeys of phyla, classes etc according to the higher level that the user chooses via the filter menu? Or how to retrieve such lists?

Reading the documentation I just want to double check if the following approach would be good to get map tiles:

Thanks in advance for any hints