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

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

On September 28, 2023, X API deprecated GET /1.1/search/tweets.json without a shutdown date. This deprecation affects requests made to the endpoint, which will eventually fail. X API announced that it was "deprecating the search/tweets" endpoint in the X API v1.1 alongside others.

## What to use instead

Search with the X API v2 (GET /2/tweets/search/recent) instead.

- 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/search/tweets.json`
- Source: [Announcement](https://docs.x.com/changelog)
- Verified: November 6, 2026, against X API's own pages
- Page: https://www.okapi.bot/providers/x-api/breaking-changes/get-1-1-search-tweets-json-is-deprecated/

## X API's words

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

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