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

Neilson, Matthew mneilson at usgs.gov
Wed Jan 30 19:34:29 CET 2019


You need to use taxonKey instead of scientificName:

http://api.gbif.org/v1/occurrence/count?isGeoreferenced=TRUE&taxonKey=2974832


--------------------------------------------------
*Matthew Neilson, PhD*
U.S. Geological Survey
Nonindigenous Aquatic Species Program
Wetlands and Aquatic Research Center
7920 NW 71st Street
Gainesville, FL 32653
--------------------------------------------------
(352) 264-3519
mneilson at usgs.gov
http://nas.er.usgs.gov
http://orcid.org/0000-0002-5139-5677


On Wed, Jan 30, 2019 at 1:14 PM Mauro Cavalcanti <maurobio at gmail.com> wrote:

> 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" 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
> Web: http://sites.google.com/site/maurobio
> "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/b50c63f4/attachment.html>


More information about the API-users mailing list