[API-users] GBIF API

Markus Döring mdoering at gbif.org
Wed Nov 4 15:04:08 CET 2015


Hi Mauro,

you can get to the next page by increasing the offset:
http://api.gbif.org/v1/occurrence/search?basisOfRecord=HUMAN_OBSERVATION&country=PT&year=2000,2015&limit=300&offset=600 <http://api.gbif.org/v1/occurrence/search?basisOfRecord=HUMAN_OBSERVATION&country=PT&year=2000,2015&limit=300&offset=600>

But you should probably be using the asynchroneous downloads if your resultset is 400k. We have a hard limit of 200k records max when using the search service so you will never get hold of them all.
http://www.gbif.org/developer/occurrence#search <http://www.gbif.org/developer/occurrence#search>

best,
Markus


> On 04 Nov 2015, at 14:50, ei11063 <ei11063 at fe.up.pt> wrote:
> 
> Good afternoon.
> I am doing a pratical work that involves the use of a GBIF API. My request is something like http://api.gbif.org/v1/occurrence/search?basisOfRecord=HUMAN_OBSERVATION&country=PT&year=2000,2015&limit=300&offset=300. My question is: how can i get the second page? The total results have 400k results.
> 
> Thanks a lot,
> Mauro Costa
> 

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


More information about the API-users mailing list