Mapillary search image API sorting result

Hi,

I’m using the search API to retrieve the images based on lng,lat. I’d like the result json to be sorted, or limit the number of the image response so that only the lookat or the closest image will show up. How to do that?
Thanks in advance!

Hi @ema, you should add &per_page=1 to make only the closest image show up - change the number to 5 for the closest 5 etc.