[API-users] numOccurrences always 0 for species

Peter Desmet peter.desmet.work at gmail.com
Tue Nov 17 16:17:23 CET 2015


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.



First result:


On that page you can see 47,617 occurrences, 332 infraspecies. The API
however gives:

numOccurrences: 0
numDescendants: 332 (= correct)

Is this a bug?


- 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gbif.org/pipermail/api-users/attachments/20151117/e3688800/attachment.html>

More information about the API-users mailing list