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選填