Okapi Okapi

X API GET /1.1/search/tweets.json endpoint removal

Deprecated, no dateSubscribe to X APIShare

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.


Calls it hits

  • GET /1.1/search/tweets.json

What to use instead of these calls

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

In X API's words

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

X API, Announcement

Facts

API
X API api.x.com
Kind
Endpoint removal
Announced
September 28, 2023
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against X API's own pages

Questions

When does this change take effect?

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

Do these calls still work?

Yes, they still work: X API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from X API 3

  1. No date GET /1.1/geo/search.jsonEndpoint removal Deprecated, no date
  2. No date GET /1.1/users/search.jsonEndpoint removal Deprecated, no date
  3. No date POST /2/account_activity/replay/webhooks/{id}/subscriptions/allEndpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to X API

Hear about each breaking change X API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • X API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.