Advanced tweet search
GET/twitter/tweet/advanced_search15 credits
Search recent tweets with advanced query operators, type filters, and cursor pagination. The sample response below is captured from the live API. List endpoints paginate with `has_next_page` and `next_cursor`.
Authentication required
Send your key in the
x-api-key header. Requests without a valid key return 401.Query parameters
query
stringrequired
Search query. Supports operators like from:, #hashtag, and "exact phrase".
queryType
stringoptional
Either "Latest" or "Top". Defaults to "Latest".
cursor
stringoptional
Pagination cursor for the next page.
Response fields
tweetsarray
Array of tweet objects with engagement metrics and author info.
has_next_pageboolean
Whether another page of results is available.
next_cursorstring
Cursor for the next page; null or empty when exhausted.
Request
Response200 OK
base url · https://v2.xapis.dev
Ready to call Advanced tweet search?
Get an API key or explore the full interactive reference.
