Search APIs
Loading…
← API Store
Social

Reddit

Reddit

One Reddit post with top comments

GET /reddit/v1/post
Test this endpoint

The post (title, author, text, link, media, dates, community) with its score, comment count and NSFW/spoiler flags (stats_found says whether they were found) and its top comments. Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
urlstringPost URL (or pass it as `post_url`). Example: https://www.reddit.com/r/Python/comments/1x89bnq/python_310315_encoding_benchmarks_big_gains_for/
post_urlstringSame as `url`.
stats1 | 00 skips the score/comment-count lookup (faster).

Every endpoint also takes: raw、fields、fresh、output、records

{
  "author": "BestRef",
  "author_url": "https://www.reddit.com/user/BestRef",
  "cached": false,
  "category_label": "r/Python",
  "comments": [
    {
      "author": "ConcreteExist",
      "author_url": "https://www.reddit.com/user/ConcreteExist",
      "category_label": "r/Python",
      "content_html": "<!-- SC_OFF --><div class=\"md\"><p>Admittedly, I've only ever used base64 encoding out of all of those listed here, happy to see it's perform…",
      "external_url": null,
      "id": "t1_phan1k9",
      "images": [],
      "links": [],
      "permalink": "/r/Python/comments/1x89bnq/python_310315_encoding_benchmarks_big_gains_for/phan1k9/",
      "published": null,
      "text": "Admittedly, I've only ever used base64 encoding out of all of those listed here, happy to see it's performance improving though.",
      "thumbnail": null,
      "title": "/u/ConcreteExist on Python 3.10–3.15 encoding benchmarks: big gains for Base32 and Base85, but 3.14 leads Base16",
      "updated": "2026-10-17T12:45:42+00:00",
      "url": "https://www.reddit.com/r/Python/comments/1x89bnq/python_310315_encoding_benchmarks_big_gains_for/phan1k9/",
      "videos": []
    },
    {
      "author": "One_Sun5074",
      "author_url": "https://www.reddit.com/user/One_Sun5074",
      "category_label": "r/Python",
      "content_html": "<!-- SC_OFF --><div class=\"md\"><p>Same here, 99% of what I touch in real-world projects is just base64 for API payloads and data URIs. That …",
      "external_url": null,
      "id": "t1_phcdj14",
      "images": [],
      "links": [],
      "permalink": "/r/Python/comments/1x89bnq/python_310315_encoding_benchmarks_big_gains_for/phcdj14/",
      "published": null,
      "text": "Same here, 99% of what I touch in real-world projects is just base64 for API payloads and data URIs. That ~3.6x speedup on base64_large in 3…",
      "thumbnail": null,
      "title": "/u/One_Sun5074 on Python 3.10–3.15 encoding benchmarks: big gains for Base32 and Base85, but 3.14 leads Base16",
      "updated": "2026-10-17T17:44:10+00:00",
      "url": "https://www.reddit.com/r/Python/comments/1x89bnq/python_310315_encoding_benchmarks_big_gains_for/phcdj14/",
      "videos": []
    },
    "… 12 more"
  ],
  "content_html": "<!-- SC_OFF --><div class=\"md\"><p>Eight encoding benchmarks across Python 3.10–3.15 using pyperformance. Python 3.15 recorded the lowest mea…",
  "credits_used": 1,
  "external_url": null,
  "feed": {
    "category": "Python",
    "category_label": "r/Python",
    "icon": "https://www.redditstatic.com/icon.png/",
    "logo": "https://b.thumbs.redditmedia.com/8HiO52_EuT_h63Qg.png",
    "subtitle": "The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python program…",
    "title": "Python 3.10–3.15 encoding benchmarks: big gains for Base32 and Base85, but 3.14 leads Base16 : Python",
    "updated": "2026-10-23T19:34:23+00:00",
    "url": "https://www.reddit.com/r/Python/comments/1x89bnq/"
  },
  "id": "t3_1x89bnq",
  "images": [],
  "link": null,
  "links": [
    "https://docs.python.org/3.15/whatsnew/3.15.html#base64-binascii",
    "https://en.lewoniewski.info/2026/python-315-vs-314-313-312-and-earlier-speed-comparison/",
    "… 1 more"
  ],
  "permalink": "/r/Python/comments/1x89bnq/python_310315_encoding_benchmarks_big_gains_for/",
  "published": "2026-10-17T12:43:06+00:00",
  "subreddit": "Python",
  "subreddit_description": "The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python program…",
  "subreddit_icon": "https://b.thumbs.redditmedia.com/8HiO52_EuT_h63Qg.png",
  "text": "Eight encoding benchmarks across Python 3.10–3.15 using pyperformance. Python 3.15 recorded the lowest mean in seven of them, with particula…",
  "thumbnail": null,
  "title": "Python 3.10–3.15 encoding benchmarks: big gains for Base32 and Base85, but 3.14 leads Base16",
  "updated": "2026-10-17T12:43:06+00:00",
  "url": "https://www.reddit.com/r/Python/comments/1x89bnq/python_310315_encoding_benchmarks_big_gains_for/",
  "videos": []
}
Response fields (51)

Field paths and types observed in the sample response; the live response is authoritative.

$object
$.authorstring
$.author_urlstring
$.cachedboolean
$.category_labelstring
$.commentsarray
$.comments[]object | string
$.comments[].authorstring
$.comments[].author_urlstring
$.comments[].category_labelstring
$.comments[].content_htmlstring
$.comments[].external_urlnull
$.comments[].idstring
$.comments[].imagesarray
$.comments[].linksarray
$.comments[].permalinkstring
$.comments[].publishednull
$.comments[].textstring
$.comments[].thumbnailnull
$.comments[].titlestring
$.comments[].updatedstring
$.comments[].urlstring
$.comments[].videosarray
$.content_htmlstring
$.credits_usedinteger
$.external_urlnull
$.feedobject
$.feed.categorystring
$.feed.category_labelstring
$.feed.iconstring
$.feed.logostring
$.feed.subtitlestring
$.feed.titlestring
$.feed.updatedstring
$.feed.urlstring
$.idstring
$.imagesarray
$.linknull
$.linksarray
$.links[]string
$.permalinkstring
$.publishedstring
$.subredditstring
$.subreddit_descriptionstring
$.subreddit_iconstring
$.textstring
$.thumbnailnull
$.titlestring
$.updatedstring
$.urlstring
$.videosarray