Identification Identifiers API endpoint doesn't return results beyond page 1 if per_page parameter is specified

The Get Identification Identifiers API endpoint
(https://api.inaturalist.org/v1/identifications/identifiers) doesn’t return any results beyond page 1 if per_page is also specified as a parameter in the request.

(expected) this returns results (when per_page is not included):
https://api.inaturalist.org/v1/identifications/identifiers?current_taxon=true&own_observation=false&is_change=false&current=true&taxon_id=55401&page=2&order=desc&order_by=created_at

(unexpected) this returns no results (when per_page=30 is included in parameters):
https://api.inaturalist.org/v1/identifications/identifiers?current_taxon=true&own_observation=false&is_change=false&current=true&taxon_id=55401&page=2&per_page=30&order=desc&order_by=created_at

1 Like

looks like it’s possible to get only the top 10 identifiers from the first page these days.

neither of the links above now return any results (since they ask for results from page 2).

this reports 30 records returned per page (default, since no per_page parameter specified), but it’s really returning only 10:
https://api.inaturalist.org/v1/identifications/identifiers?current_taxon=true&own_observation=false&is_change=false&current=true&taxon_id=55401&page=1&order=desc&order_by=created_at

this reports 100 records returned (which seems to be the max, since my per_page=300), but it still returns only 10:
https://api.inaturalist.org/v1/identifications/identifiers?current_taxon=true&own_observation=false&is_change=false&current=true&taxon_id=55401&page=1&per_page=300&order=desc&order_by=created_at

this reports 9 records returned, and returns 9 records, matching my input:
https://api.inaturalist.org/v1/identifications/identifiers?current_taxon=true&own_observation=false&is_change=false&current=true&taxon_id=55401&page=1&per_page=9&order=desc&order_by=created_at

1 Like