# order_by on GET /photos stops working

Calls to GET /photos, query parameter order_by on Unsplash API stopped working on September 19, 2024.

On September 19, 2024, Unsplash removed support for the query parameter order_by on GET /photos. Calls using this parameter fail after that date, as the feed will only return photos in the latest order.

## What to use instead

Drop order_by from your requests; the feed returns the latest photos.

- API: Unsplash API (api.unsplash.com)
- Kind: Endpoint removal
- Announced: September 19, 2024
- Takes effect: September 19, 2024
- Calls after that day: fail
- Calls it hits: `GET /photos`, `query parameter order_by`
- Source: [Announcement](https://unsplash.com/documentation/changelog)
- Verified: October 26, 2026, against Unsplash API's own pages
- Page: https://www.okapi.bot/providers/unsplash-api/breaking-changes/order-by-on-get-photos-stops-working/

## Unsplash API's words

> The photos Editorial feed will no longer support the order_by parameter, instead only returning photos in the latest order (the existing default).

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
