Public communities, posts, comments and search.
Reddit 操作
貼文留言
從貼文 URL 傳回一則貼文及其討論:post 包含 title、author、selftext、score、ups、upvote_ratio、num_comments、created_utc、permalink、archived 與 locked,接著是 comments,每則留言包含 author、body、score、ups、downs、created_utc、parent_id、permalink,以及巢狀的 replies 物件(含 items 與 more)。分頁又是第三種形態:頂層攜帶 more.has_more 與 more.cursor,而不是 get_reddit_search 的 after,也不是 get_reddit_subreddit_search 的 cursor。若要尋找值得開啟的貼文,請從 get_reddit_search 或 get_reddit_subreddit 開始。
定價參考
- 計量方式:依結果筆數計量。
- 參考請求預估:USD 0.00188。
- 參考客戶乘數:1.0。不得再次套用於已結算的客戶金額。
僅供參考的中繼資料,並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。
查詢參數
- 類型: stringcursor
- 類型: stringtrimmed
- 類型: stringurl
回應
- 類型: object · Response799D183Abaf0_RedditCommentsResponse200
成功回應
- 類型: array object[] · Response799D183Abaf0_RedditComment[]comments
- property類型: anything
Name
- 類型: integercredits
_remaining Integer numbers.
- 類型: string | nullcursor
- 類型: 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/post/comments
curl https://openapi.felo.ai/v1/beta/reddit/post/comments \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"comments": [
{
"id": "mymupxb",
"author": "Background-Emu-2890",
"author_fullname": "t2_efdlposp6",
"body": "Black cat i have one and i love her so much !",
"name": "t1_mymupxb",
"created_utc": 1750342221,
"created_at_iso": "2025-06-19T14:10:21.000Z",
"parent_id": "t3_1lfbo7u",
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymupxb/",
"replies": {
"items": [
{
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
"created_utc": 1750343166,
"created_at_iso": "2025-06-19T14:26:06.000Z",
"subreddit_id": "t5_2qh1i",
"approved_at_utc": null,
"author_is_blocked": false,
"comment_type": null,
"awarders": [],
"mod_reason_by": null,
"banned_by": null,
"author_flair_type": "text",
"total_awards_received": 0,
"subreddit": "AskReddit",
"author_flair_template_id": null,
"likes": null,
"replies": {
"items": [],
"more": {
"has_more": false,
"next_cursor": null
}
},
"user_reports": [],
"saved": false,
"id": "mymxwde",
"banned_at_utc": null,
"mod_reason_title": null,
"gilded": 0,
"archived": false,
"collapsed_reason_code": null,
"no_follow": false,
"author": "doublestitch",
"can_mod_post": false,
"send_replies": true,
"parent_id": "t1_mymupxb",
"score": 19,
"author_fullname": "t2_10py0g",
"removal_reason": null,
"approved_by": null,
"mod_note": null,
"all_awardings": [],
"body": "House panthers for the win",
"edited": false,
"top_awarded_type": null,
"author_flair_css_class": null,
"name": "t1_mymxwde",
"is_submitter": false,
"downs": 0,
"author_flair_richtext": [],
"author_patreon_flair": false,
"body_html": "<div class=\"md\"><p>House panthers for the win</p>\n</div>",
"gildings": {},
"collapsed_reason": null,
"distinguished": null,
"associated_award": null,
"stickied": false,
"author_premium": false,
"can_gild": false,
"link_id": "t3_1lfbo7u",
"unrepliable_reason": null,
"author_flair_text_color": null,
"score_hidden": false,
"permalink": "/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
"subreddit_type": "public",
"locked": false,
"report_reasons": null,
"created": 1750343166,
"author_flair_text": null,
"treatment_tags": [],
"collapsed": false,
"subreddit_name_prefixed": "r/AskReddit",
"controversiality": 0,
"depth": 1,
"author_flair_background_color": null,
"collapsed_because_crowd_control": null,
"mod_reports": [],
"num_reports": null,
"ups": 19
}
],
"more": {
"has_more": true,
"cursor": "myn970w"
}
},
"ups": 75,
"downs": 0,
"score": 75
}
],
"post": {
"id": "1lfbo7u",
"author": "Vetro_Nodulare2",
"author_fullname": "t2_16syu27ar1",
"subreddit": "AskReddit",
"title": "What is a thing you love that lots of people hate?",
"downs": 0,
"name": "t3_1lfbo7u",
"upvote_ratio": 0.91,
"ups": 47,
"total_awards_received": 0,
"score": 47,
"created": 1750341959,
"num_comments": 353,
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/",
"subreddit_subscribers": 56146601,
"is_video": false,
"created_utc": 1750341959
},
"more": {
"has_more": true,
"cursor": "myoaw2m,myob40l,myoeo9h"
}
}