Hi,
In the species/search API, one of the properties of a taxon is "numOccurrences", which I assume is the number of occurrences across GBIF for this taxon. The value seems to be always "0" though.
Example:
http://api.gbif.org/v1/species/search?datasetKey=d7dddbf4-2cf0-4f39-9b2a-bb0...
First result:
http://www.gbif.org/species/3134959
On that page you can see 47,617 occurrences, 332 infraspecies. The API however gives:
numOccurrences: 0 numDescendants: 332 (= correct)
Is this a bug?
Related:
- I know I can find the number of occurrences for a taxon by doing an occurrence search (http://api.gbif.org/v1/occurrence/search?taxonKey=3134959), but that means doing an extra call per taxon.
- Why does the species API list far fewer properties per taxon ( http://api.gbif.org/v1/species/3134959) than the species search API? E.g. numOccurrences, descriptions, etc.
Cheers,
Peter