Twitter / X
Query public users, posts, communities and trends.
Twitter / X 操作
進階搜尋
使用 X 的進階搜尋運算子依關鍵字或查詢搜尋 X 貼文,依最新(預設)或熱門排序。當你還沒有推文 ID 或帳號時,這是進行 X 內容研究的首要入口。支援查詢字串中的運算子,例如 from:、to:、since:、until:、min_faves: 與 -filter:replies。以游標分頁;傳回推文以及 has_next_page 與 next_cursor。若要搜尋帳號而非貼文,請使用 get_twitter_user_search。若要讀取單一帳號自己的貼文,請使用 get_twitter_user_tweet_timeline。
計費參考
- 計量方式:依結果筆數計量。
- 參考請求估算:0.003 美元。
- 最低成本基礎:0.00015 美元。
- 參考客戶乘數:1.0。不得再次套用於已結算的客戶金額。
- 成本基礎不構成最終客戶價格,即使為零亦同。
僅供參考的中繼資料,並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。
查詢參數
- 類型: stringcount
- 類型: stringcursor
- 類型: stringmax
_results - 類型: stringquery
- 類型: stringquery
Type - 類型: stringstart
_time
回應
- 類型: object · ResponseCbc4F8806E32_AdvancedSearchResponse200
成功回應
- 類型: booleanhas
_next _page - 類型: stringnext
_cursor - 類型: array object[] · ResponseCbc4F8806E32_Tweet[]tweets
- author類型: object · ResponseCbc4F8806E32_User
- automated類型: string
By - can類型: boolean
Dm - cover類型: string
Picture - created類型: string
At - description類型: string
- favourites類型: integer
Count Integer numbers.
- followers類型: integer
Integer numbers.
- following類型: integer
Integer numbers.
- has類型: boolean
Custom Timelines - id類型: string
- is類型: boolean
Automated - is類型: boolean
Blue Verified - is類型: boolean
Translator - location類型: string
- media類型: integer
Count Integer numbers.
- message類型: string
- name類型: string
- pinned類型: array string[]
Tweet Ids - possibly類型: boolean
Sensitive - profile類型: string
Picture - statuses類型: integer
Count Integer numbers.
- type類型: string
- unavailable類型: boolean
- unavailable類型: string
Reason - url類型: string
- user類型: string
Name - verified類型: string
Type - withheld類型: array string[]
In Countries
- bookmark類型: integer
Count Integer numbers.
- conversation類型: string
Id - created類型: string
At - display類型: array integer[]
Text Range - entities類型: object · ResponseCbc4F8806E32_Entities
- hashtags類型: array object[]
- indices類型: array integer[]
- text類型: string
- urls類型: array object[]
- display類型: string
_url - expanded類型: string
_url - indices類型: array integer[]
- url類型: string
- user類型: array object[]
_mentions - id類型: string
_str - name類型: string
- screen類型: string
_name
- id類型: string
- in類型: string
Reply To Id - in類型: string
Reply To User Id - in類型: string
Reply To Username - is類型: boolean
Limited Reply - is類型: boolean
Reply - lang類型: string
- like類型: integer
Count Integer numbers.
- quote類型: integer
Count Integer numbers.
- quoted類型: string
_tweet - reply類型: integer
Count Integer numbers.
- retweet類型: integer
Count Integer numbers.
- retweeted類型: string
_tweet - source類型: string
- text類型: string
- type類型: string
- url類型: string
- view類型: integer
Count Integer numbers.
application/json - 400
無法處理該要求。請檢查請求參數。
- 401
需要有效的 Felo API 金鑰。
- 402
由於未符合計費要求,要求無法繼續。
- 403
該帳戶無權執行此操作。
- 429
已達到要求或支出上限。
- 502
服務無法完成該要求。
- 503
API 或計費服務暫時無法使用。
- 504
服務在處理要求時逾時。
- default
錯誤回應;上游透傳回應可能採用供應商格式
application/json
Request Example for get/v1/beta/twitter/tweet/advanced_search
curl https://openapi.felo.ai/v1/beta/twitter/tweet/advanced_search \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"tweets": [
{
"type": "string",
"id": "string",
"url": "string",
"text": "string",
"source": "string",
"retweetCount": 1,
"replyCount": 1,
"likeCount": 1,
"quoteCount": 1,
"viewCount": 1,
"createdAt": "string",
"lang": "string",
"bookmarkCount": 1,
"isReply": true,
"inReplyToId": "string",
"conversationId": "string",
"displayTextRange": [
1
],
"inReplyToUserId": "string",
"inReplyToUsername": "string",
"author": {
"type": "string",
"userName": "string",
"url": "string",
"id": "string",
"name": "string",
"isBlueVerified": true,
"verifiedType": "string",
"profilePicture": "string",
"coverPicture": "string",
"description": "string",
"location": "string",
"followers": 1,
"following": 1,
"canDm": true,
"createdAt": "string",
"favouritesCount": 1,
"hasCustomTimelines": true,
"isTranslator": true,
"mediaCount": 1,
"statusesCount": 1,
"withheldInCountries": [
"string"
],
"possiblySensitive": true,
"pinnedTweetIds": [
"string"
],
"isAutomated": true,
"automatedBy": "string",
"unavailable": true,
"message": "string",
"unavailableReason": "string"
},
"entities": {
"hashtags": [
{
"indices": [
1
],
"text": "string"
}
],
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
],
"user_mentions": [
{
"id_str": "string",
"name": "string",
"screen_name": "string"
}
]
},
"quoted_tweet": "string",
"retweeted_tweet": "string",
"isLimitedReply": true
}
],
"has_next_page": true,
"next_cursor": "string"
}