Comparing X API’s Search Posts endpoints
The v2 Search Tweets endpoint will eventually replace the standard v1.1 search/posts endpoint and enterprise Search API. If you have code, apps, or tools that use an older version of a X search endpoint and are considering migrating to the newer X API v2 endpoints, then this guide is for you.Recent search comparison
The following table compares the various types of recent search endpoints:Full-archive search comparison
The following table compares the various types of full-archive search endpoints:
Filtering operator comparison
The four different versions (standard, enterprise, and v2) of search Posts differ in which operators are available, and also have varying levels of operator availability within each version, which are explained below.
Enterprise
- There are no sub-tiers of enterprise operators
- Self-serve: Available when using any Project
- Enterprise: Available when using a Project
Other migration resources
X API migration hub
Check out some sample code for these endpoints
Search Posts: Standard v1.1 to X API v2
Search Posts: Enterprise to X API v2