Skip to main content

Hello ,


i used https://services.sentinel-hub.com/api/v1/catalog/search for searching sentinel-s2-l1c data for a range of 1 year (2020-01-01 to 2020-12-31).


Initially it generated only till 4th month (as it was exceeding limit 100)


Later added pagination to fetch the data from next page to get all the data for available dates , but i am not getting any data from next page


Could anyone help me out to resolve this


Thanks in advance


my Request :


{

datetime: ‘2020-01-01T00:00:00Z/2020-12-30T00:00:00Z’,

collections: n ‘sentinel-2-l1c’ ],

limit: 100,

intersects: { type: ‘Polygon’, coordinates: o rArray] ] },

next: 5

}


tried using an example specified in https://docs.sentinel-hub.com/api/latest/api/catalog/examples/#simple-post-search-with-pagination


Example request:


curl -X POST ‘services.sentinel-hub.com/api/v1/catalog/search’

-header 'Authorization: Bearer ’

-header ‘Content-Type: application/json’

-data-raw ‘{

“bboxâ€: €13,45,14,46],

“datetimeâ€: “2019-12-10T00:00:00Z/2019-12-10T23:59:59Zâ€,

“collectionsâ€: :“sentinel-1-grdâ€],

“limitâ€: 5,

“nextâ€: 5

}’

If you use “next:5â€, you will get results starting from the 5th one, e.g. 5-104.

You should use next:100


E.g. this works for me:


{
"bbox": x13,45,14,46],
"datetime": "2020-01-01T00:00:00Z/2020-12-30T00:00:00Z",
"collections": s"sentinel-2-l1c"],
"limit": 100,
"next": 101
}

Reply