Public communities, posts, comments and search.
Reddit 操作
搜尋 Reddit
使用文件記載的 query、count、limit、time 與裁剪控制項搜尋公開 Reddit 內容。此契約未宣告 after 權杖;回應中的分頁欄位不是額外支援的輸入。
定價參考
- 計量方式:依結果筆數計量。
- 參考請求預估:USD 0.00188。
- 參考客戶乘數:1.0。不得再次套用於已結算的客戶金額。
僅供參考的中繼資料,並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。
查詢參數
- 類型: stringcount
- 類型: stringlimit
- 類型: stringquery
- 類型: stringsort
- 類型: stringtime
- 類型: stringtimeframe
- 類型: stringtrim
- 類型: stringtrimmed
回應
- 類型: object · Response799D183Abaf0_RedditPostsResponse200
成功回應
- 類型: string | nullafter
- 類型: integercredits
_remaining Integer numbers.
- 類型: string | nullcursor
- 類型: array object[] · Response799D183Abaf0_RedditPost[]posts
- property類型: anything
Name
- 類型: booleansuccess
- 類型: anythingproperty
Name
application/json - 400
無法處理該要求。請檢查請求參數。
- 401
需要有效的 Felo API 金鑰。
- 402
由於未符合計費要求,要求無法繼續。
- 403
該帳戶無權執行此操作。
- 429
已達到要求或支出上限。
- 502
服務無法完成該要求。
- 503
API 或計費服務暫時無法使用。
- 504
服務在處理要求時逾時。
- default
錯誤回應;上游透傳回應可能採用供應商格式
application/json
Request Example for get/v1/beta/reddit/search
curl https://openapi.felo.ai/v1/beta/reddit/search \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"success": true,
"posts": [
{
"id": "w63dgy",
"author": "Morgentau7",
"author_fullname": "t2_2hy2xjit",
"subreddit": "MadeMeSmile",
"title": "Player realizes that he nearly stole the dogs job",
"downs": 0,
"name": "t3_w63dgy",
"upvote_ratio": 0.97,
"ups": 220403,
"total_awards_received": 0,
"score": 220403,
"created": 1658580900,
"num_comments": 1246,
"url": "https://www.reddit.com/r/MadeMeSmile/comments/w63dgy/player_realizes_that_he_nearly_stole_the_dogs_job/",
"subreddit_subscribers": 11605207,
"is_video": true,
"created_utc": 1658580900
}
],
"after": "t3_1izmcgx"
}