数据 API / X / Tweet
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.
参数
查询
querystring必填The query to search for.
queryTypestring必填允许值: Latest · Top
The query type to search for.
cursorstring可选The cursor to paginate through the results. First page is empty.
请求示例
curl -G "https://openapi.felo.ai/v1/beta/twitter/tweet/advanced_search" \
--data-urlencode "query=<string>" \
--data-urlencode "queryType=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"响应
响应字段
tweetsobject[]可选typestring可选idstring可选urlstring可选textstring可选sourcestring可选retweetCountinteger可选replyCountinteger可选likeCountinteger可选quoteCountinteger可选viewCountinteger可选createdAtstring可选langstring可选bookmarkCountinteger可选isReplyboolean可选inReplyToIdstring可选conversationIdstring可选displayTextRangeinteger[]可选inReplyToUserIdstring可选inReplyToUsernamestring可选authorobject可选typestring可选userNamestring可选urlstring可选idstring可选namestring可选isBlueVerifiedboolean可选verifiedTypestring可选profilePicturestring可选coverPicturestring可选descriptionstring可选locationstring可选followersinteger可选followinginteger可选canDmboolean可选createdAtstring可选favouritesCountinteger可选hasCustomTimelinesboolean可选isTranslatorboolean可选mediaCountinteger可选statusesCountinteger可选withheldInCountriesstring[]可选possiblySensitiveboolean可选pinnedTweetIdsstring[]可选isAutomatedboolean可选automatedBystring可选unavailableboolean可选messagestring可选unavailableReasonstring可选profile_bioobject可选descriptionstring可选entitiesobject可选descriptionobject可选urlsobject[]可选display_urlstring可选expanded_urlstring可选indicesinteger[]可选urlstring可选urlobject可选urlsobject[]可选display_urlstring可选expanded_urlstring可选indicesinteger[]可选urlstring可选entitiesobject可选hashtagsobject[]可选indicesinteger[]可选textstring可选urlsobject[]可选display_urlstring可选expanded_urlstring可选indicesinteger[]可选urlstring可选user_mentionsobject[]可选id_strstring可选namestring可选screen_namestring可选quoted_tweetstring可选retweeted_tweetstring可选isLimitedReplyboolean可选has_next_pageboolean可选next_cursorstring可选