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

This still seems to be an issues, I wanted to have a look at all the identifiers from Luxembourg, but with the api (I also tested the v2 API) I only get a max of 500 results (this seems to be the maximum for per_page). Anything beyond that (page=2) is not retrievable. Even when I specifically set per_page=<500: page=2 does not return anything.

APIv2:
this works:

this does not work:

APIv2
this works:

this does not work:

it looks like all the problems i previously reported have been resolved at this point.

the max 500 results limit for identifiers might actually be intentional, since there is a similar limit on the observers side, as previously noted:

on the identifiers side, the situation is actually a little better since the total_results field actually seems to report the actual count, even if you can’t see the results beyond 500 (whereas the total_results value tops out at 500 for observers).

if the 500 limit is intentional, then that’s fine in my mind. do you have a particular use case that requires getting more than the top 500 identifiers (or observers)?