# osm_tag on GET /api is deprecated

Photon geocoding API deprecated GET /api, query parameter osm_tag without giving a shutdown date yet.

The query parameter osm_tag on GET /api has been deprecated without a shutdown date. Calls continuing to use osm_tag will eventually fail. The provider notes that developers should preferably use category filters instead of direct tag filtering.

## What to use instead

Filter with include=osm.<key>.<value> or exclude=osm.<key>.<value> category filters instead of osm_tag.

- API: Photon geocoding API (photon.komoot.io)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /api`, `query parameter osm_tag`
- Source: [Announcement](https://raw.githubusercontent.com/komoot/photon/master/docs/api-v1.md)
- Verified: October 26, 2026, against Photon geocoding API's own pages
- Page: https://www.okapi.bot/providers/photon-geocoding-api/breaking-changes/osm-tag-on-get-api-is-deprecated/

## Photon geocoding API's words

> Preferably use the 'include'/'exclude' category filters with the 'osm' category
> instead of the direct osm tag filters here.

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