# GET /1.1/users/search.json is deprecated

X API deprecated GET /1.1/users/search.json without giving a shutdown date yet.

- API: X API (api.x.com)
- Kind: Endpoint removal
- Announced: September 28, 2023
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /1.1/users/search.json`
- Source: [Announcement](https://docs.x.com/changelog)
- Page: https://www.okapi.bot/providers/x-api/breaking-changes/get-1-1-users-search-json-is-deprecated/

## What to use instead

Look users up with the X API v2 (GET /2/users/by).

X API v2 has no free-text user search in place of users/search; looking users up needs their usernames.

## X API's words

> Today, we are deprecating the search/tweets, users/search, and geo/search endpoints in the X API v1.1.
