Felo API PlatformFelo API Platform

数据 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可选