Skip to main content
GET
Advanced Search
Search X posts by keyword or query with X’s advanced search operators, sorted by Latest (default) or Top. This is the primary entry point for X content research when you do not yet have tweet IDs or handles. Supports operators in the query string such as from:, to:, since:, until:, min_faves:, and -filter:replies. Cursor-paginated; returns tweets with has_next_page and next_cursor. To search accounts rather than posts use get_twitter_user_search. To read one account’s own posts use get_twitter_user_tweet_timeline.
First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

Request contract

  • Method and path: GET /apis/v1/twitter/tweet/advanced_search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/twitter/tweet/advanced_search
  • count: query; optional
  • cursor: query; optional
  • max_results: query; optional
  • query: query; required
  • queryType: query; required
  • start_time: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Charged for the actual billable results. Default request estimate: $0.003 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

count
string
cursor
string

The cursor to paginate through the results. First page is empty.

max_results
string
query
string
required

The query to search for.

queryType
string
required

The query type to search for.

Provider reference (supplier schema): {"default":"Latest","enum":["Latest","Top"],"type":"string"}.

start_time
string

Response

Successful response

has_next_page
boolean
next_cursor
string
tweets
object[]