API: Occurrence search for only species?

Is it possible to search e.g. for all occurrence records in the family Chrysididae that are identified to species? I don’t see a taxonRank option. Would I need to first list all species in the family and then use taxonKey?

I think you would have to use the taxonKeys of the species in the family (which you can get with this call: https://api.gbif.org/v1/species/search?datasetKey=d7dddbf4-2cf0-4f39-9b2a-bb099caae36c&rank=SPECIES&higherTaxonKey=7903 and some paging through the results).

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.