Okapi Okapi

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

Deprecated, no dateSubscribe to X APIShare

On September 28, 2023, X API deprecated GET /1.1/geo/search.json without a shutdown date. Calls to this endpoint will eventually fail. The change affects applications querying locations through the X API v1.1 geo search interface.


Calls it hits

  • GET /1.1/geo/search.json

What to use instead of these calls

Because no v2 replacement is named, resolve places with another geocoding service. Moving away requires a decision on an alternative provider since X provides no direct replacement for geo/search.

X names no replacement for geo/search.

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/geo/search.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/search/tweets.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.