搜索 API
正在加载…
← API 商店
社交媒体

Reddit

Reddit

Reddit 用户的帖子

GET /reddit/v1/user/posts
发起调用测试

每个帖子含得分、点赞率、评论数、奖励、flair、媒体(视频、图集、图片)和标记。分页:传入上一个响应中 next_cursor 的游标;最后一页的 next_cursor 为 null。

每个响应都包含 credits_used:本次调用消耗的积分。

每次调用扣 1 积分,失败不扣。在后台 Playground 中运行可以看到实时结果。

参数

名称类型说明
username必填string 示例: GallowBoob
sortnew | hot | top | controversialnew(默认)、hot、top 或 controversial。翻页时 sort 和 time 须与 cursor 保持一致。
timehour | day | week | month | year | all搭配 top/controversial:hour、day、week、month、year(默认)或 all。
cursorstring上一次响应中 `next_cursor` 的游标;最后一页的 `next_cursor` 为 null。

每个接口都支持这些通用参数: raw、fields、fresh、output、records

{
  "cached": false,
  "count": 25,
  "credits_used": 1,
  "feed": {
    "category": "u_GallowBoob",
    "category_label": "u/GallowBoob",
    "icon": "https://www.redditstatic.com/icon.png/",
    "logo": null,
    "subtitle": "The internet was a mistake 🌍 Always remember the human.",
    "title": "submitted by GallowBoob",
    "updated": "2026-10-23T19:34:29+00:00",
    "url": "https://www.reddit.com/user/GallowBoob/submitted/"
  },
  "next_cursor": "t3_zgkubx",
  "posts": [
    {
      "author": "GallowBoob",
      "author_url": "https://www.reddit.com/user/GallowBoob",
      "category_label": "u/GallowBoob",
      "content_html": "<table> <tr><td> <a href=\"https://www.reddit.com/r/u_GallowBoob/comments/fgghrs/everything_in_balance_except_karma/\"> <img src=\"https://prev…",
      "external_url": "https://i.redd.it/41i4qishgvl41.jpg",
      "id": "t3_fgghrs",
      "images": [
        "https://preview.redd.it/41i4qishgvl41.jpg?width=640&crop=smart&auto=webp&s=cffa3a800d9d0132e434f81e1b8ebd72fbeaa447",
        "https://i.redd.it/41i4qishgvl41.jpg"
      ],
      "links": [],
      "permalink": "/r/u_GallowBoob/comments/fgghrs/everything_in_balance_except_karma/",
      "published": "2020-03-10T16:27:45+00:00",
      "subreddit": "u_GallowBoob",
      "text": null,
      "thumbnail": "https://preview.redd.it/41i4qishgvl41.jpg?width=640&crop=smart&auto=webp&s=cffa3a800d9d0132e434f81e1b8ebd72fbeaa447",
      "title": "‪Everything in balance.‬ ‪Except karma ⬆️‬⬆️⬆️",
      "updated": "2020-03-10T16:27:45+00:00",
      "url": "https://www.reddit.com/r/u_GallowBoob/comments/fgghrs/everything_in_balance_except_karma/",
      "videos": []
    },
    {
      "author": "GallowBoob",
      "author_url": "https://www.reddit.com/user/GallowBoob",
      "category_label": "r/aww",
      "content_html": "<table> <tr><td> <a href=\"https://www.reddit.com/r/aww/comments/1x1pjzw/shes_2_years_old/\"> <img src=\"https://preview.redd.it/tbq8zdb1vguh1.…",
      "external_url": "https://i.redd.it/tbq8zdb1vguh1.jpeg",
      "id": "t3_1x1pjzw",
      "images": [
        "https://preview.redd.it/tbq8zdb1vguh1.jpeg?width=640&crop=smart&auto=webp&s=9d10c0fea969e32b9a0968eb77a0fd2645f2a39c",
        "https://i.redd.it/tbq8zdb1vguh1.jpeg"
      ],
      "links": [],
      "permalink": "/r/aww/comments/1x1pjzw/shes_2_years_old/",
      "published": "2026-10-09T16:14:29+00:00",
      "subreddit": "aww",
      "text": null,
      "thumbnail": "https://preview.redd.it/tbq8zdb1vguh1.jpeg?width=640&crop=smart&auto=webp&s=9d10c0fea969e32b9a0968eb77a0fd2645f2a39c",
      "title": "She’s 2 years old! 🎉",
      "updated": "2026-10-09T16:14:29+00:00",
      "url": "https://www.reddit.com/r/aww/comments/1x1pjzw/shes_2_years_old/",
      "videos": []
    },
    "… 23 more"
  ],
  "username": "GallowBoob"
}
返回字段 (35)

根据样例响应归纳的字段路径与类型,仅供参考;实际返回以接口为准。

$object
$.cachedboolean
$.countinteger
$.credits_usedinteger
$.feedobject
$.feed.categorystring
$.feed.category_labelstring
$.feed.iconstring
$.feed.logonull
$.feed.subtitlestring
$.feed.titlestring
$.feed.updatedstring
$.feed.urlstring
$.next_cursorstring
$.postsarray
$.posts[]object | string
$.posts[].authorstring
$.posts[].author_urlstring
$.posts[].category_labelstring
$.posts[].content_htmlstring
$.posts[].external_urlstring
$.posts[].idstring
$.posts[].imagesarray
$.posts[].images[]string
$.posts[].linksarray
$.posts[].permalinkstring
$.posts[].publishedstring
$.posts[].subredditstring
$.posts[].textnull
$.posts[].thumbnailstring
$.posts[].titlestring
$.posts[].updatedstring
$.posts[].urlstring
$.posts[].videosarray
$.usernamestring