API usage questions

Continuing the discussion from First stop for new data users:

Hi @banksiaboy,

Thanks for your comments.

If I understand your needs correctly, you should probably use the Occurrence API and apply the necessary filters for taxa, geography, dataset(s), e.g. all occurrences of order Squamata in Mexico from iNaturalist with associated images:

http://api.gbif.org/v1/occurrence/search?country=MX&dataset_key=cece4fc2-1fec-4bb5-a335-7252548e3f0b&media_type=StillImage&taxon_key=715

You might find that building queries using the web interface at https://www.gbif.org/occurrence/search is easier. These can easily be used for the API as well by replacing www.gbif.org with the API endpoint—api.gbif.org/v1, e.g.

Web: www.gbif.org/occurrence/search?country=MX&dataset_key=cece4fc2-1fec-4bb5-a335-7252548e3f0b&media_type=StillImage&taxon_key=715

API: api.gbif.org/v1/occurrence/search?country=MX&dataset_key=cece4fc2-1fec-4bb5-a335-7252548e3f0b&media_type=StillImage&taxon_key=715

Please feel free to reply here or if you prefer, you can also get in touch with helpdesk@gbif.org.

Best regards,
Daniel
GBIF

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