Felo API PlatformFelo API Platform
Tất cả endpoint của Reddit
v0.2.0-beta
OpenAPI 3.1.0

Bình luận bài đăng

Máy chủ:https://openapi.felo.ai
Thư viện client

Reddit

​

Public communities, posts, comments and search.

Bình luận bài đăng

​

Trả về một bài đăng và phần thảo luận của nó từ URL bài đăng: post với title, author, selftext, score, ups, upvote_ratio, num_comments, created_utc, permalink, archived và locked, rồi comments, mỗi mục có author, body, score, ups, downs, created_utc, parent_id, permalink và một đối tượng replies lồng nhau chứa items và more. Phân trang lại là hình dạng thứ ba: cấp cao nhất mang more.has_more và more.cursor thay vì after của get_reddit_search hay cursor của get_reddit_subreddit_search. Để tìm những bài đăng đáng mở, hãy bắt đầu từ get_reddit_search hoặc get_reddit_subreddit.

Tham chiếu giá

  • Đo lường: Số lượng kết quả được đo lường.
  • Ước tính tham chiếu cho mỗi yêu cầu: USD 0.00188.
  • Hệ số khách hàng tham chiếu: 1.0. Không áp dụng lại cho số tiền khách hàng đã quyết toán.

Chỉ là siêu dữ liệu tham chiếu, không phải báo giá cho tài khoản, mức giá được bảo đảm hay hạn mức chi tiêu. Tín dụng tài nguyên không phải tín dụng Felo. Khoản phí cuối cùng tuân theo bản ghi thanh toán của Felo.

Tham số truy vấn
  • cursor
    Kiểu: string
  • trimmed
    Kiểu: string
  • url
    Kiểu: string
Phản hồi
  • 200
    Kiểu: object · Response799D183Abaf0_RedditCommentsResponse

    Phản hồi thành công

    • comments
      Kiểu: array object[] · Response799D183Abaf0_RedditComment[]
      • propertyName
        Kiểu: anything
    • credits_remaining
      Kiểu: integer

      Integer numbers.

    • cursor
      Kiểu: string | null
    • success
      Kiểu: boolean
    • propertyName
      Kiểu: anything
    application/json
  • 400

    Không thể xử lý yêu cầu. Hãy kiểm tra các tham số yêu cầu.

  • 401

    Cần có khóa API Felo hợp lệ.

  • 402

    Không thể tiếp tục yêu cầu vì chưa đáp ứng yêu cầu thanh toán.

  • 403

    Tài khoản không được phép thực hiện thao tác này.

  • 429

    Đã đạt giới hạn yêu cầu hoặc giới hạn chi tiêu.

  • 502

    Dịch vụ không thể hoàn tất yêu cầu.

  • 503

    API hoặc dịch vụ thanh toán tạm thời không khả dụng.

  • 504

    Dịch vụ đã hết thời gian chờ khi xử lý yêu cầu.

  • default

    Phản hồi lỗi; phản hồi chuyển tiếp từ thượng nguồn có thể dùng định dạng của nhà cung cấp

    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"
  }
}
Post Comments