# order_by on GET /photos stops working

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

## What to use instead

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

- API: Unsplash API (api.unsplash.com)
- Kind: Parameter 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: November 6, 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
