[API-users] Getting number of records for a given scientific name

Barve,Vijay vbarve at flmnh.ufl.edu
Wed Jan 30 20:56:09 CET 2019


You will have to use taxonKey for the species of your interest i.e. http://api.gbif.org/v1/occurrence/count?taxonKey=2974832? should produce required result.



Vijay Barve
Post Doctoral Research Associate
Informatics Division
Florida Museum of Natural History
1659 Museum Road (Dickinson Hall)
University of Florida
Gainesville, FL 32611
From: API-users <api-users-bounces at lists.gbif.org> on behalf of Mauro Cavalcanti <maurobio at gmail.com>
Sent: Wednesday, January 30, 2019 1:13 PM
To: api-users at lists.gbif.org
Subject: [API-users] Getting number of records for a given scientific name

Dear ALL,

Is there a way to retrieve the number of georeferenced records for a given scientific name using a GBIF API call?

I tried something like "http://api.gbif.org/v1/occurrence/count?ScientificName=Vicia+faba<https://urldefense.proofpoint.com/v2/url?u=http-3A__api.gbif.org_v1_occurrence_count-3FScientificName-3DVicia-2Bfaba&d=DwMFaQ&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=x4Jq5JthFx0F-_J4c6ssOZGgyYp3W6VaswmEvae3Pv0&m=CwACpnDe-hcCFKBbsCUG5-9iBRQZlyIk7EZ8c16lZ1I&s=Hqz3dkLCynTyoQHX9-B71mr0OjLvUqoOcSp5CRzZi9c&e=>" but it of course didn't work.

I realize this is a rather silly question, but most of the time I only access the GBIF API using Python (via pygibf) or R (via rgbif), and therefore I'm not used to direct calls to the API (what a shame!).

Thanks in advance for any assistance you can provide?

Best regards,

Dr. Mauro J. Cavalcanti
E-mail: maurobio at gmail.com<mailto:maurobio at gmail.com>
Web: http://sites.google.com/site/maurobio<https://urldefense.proofpoint.com/v2/url?u=http-3A__sites.google.com_site_maurobio&d=DwMFaQ&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=x4Jq5JthFx0F-_J4c6ssOZGgyYp3W6VaswmEvae3Pv0&m=CwACpnDe-hcCFKBbsCUG5-9iBRQZlyIk7EZ8c16lZ1I&s=J7gYPvectfSsztb6StSh5KvqjAnILo9P6Pjm43SRU0Q&e=>
"Life is complex. It consists of real and imaginary parts."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gbif.org/pipermail/api-users/attachments/20190130/834f12ec/attachment-0001.html>

More information about the API-users mailing list