← API Store
SocialReddit
One Reddit post with top comments
GET /reddit/v1/postThe 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
| Name | Type | Description |
|---|---|---|
url | string | Post URL (or pass it as `post_url`). Example: https://www.reddit.com/r/Python/comments/1x89bnq/python_310315_encoding_benchmarks_big_gains_for/ |
post_url | string | Same as `url`. |
stats | 1 | 0 | 0 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 |
$.author | string |
$.author_url | string |
$.cached | boolean |
$.category_label | string |
$.comments | array |
$.comments[] | object | string |
$.comments[].author | string |
$.comments[].author_url | string |
$.comments[].category_label | string |
$.comments[].content_html | string |
$.comments[].external_url | null |
$.comments[].id | string |
$.comments[].images | array |
$.comments[].links | array |
$.comments[].permalink | string |
$.comments[].published | null |
$.comments[].text | string |
$.comments[].thumbnail | null |
$.comments[].title | string |
$.comments[].updated | string |
$.comments[].url | string |
$.comments[].videos | array |
$.content_html | string |
$.credits_used | integer |
$.external_url | null |
$.feed | object |
$.feed.category | string |
$.feed.category_label | string |
$.feed.icon | string |
$.feed.logo | string |
$.feed.subtitle | string |
$.feed.title | string |
$.feed.updated | string |
$.feed.url | string |
$.id | string |
$.images | array |
$.link | null |
$.links | array |
$.links[] | string |
$.permalink | string |
$.published | string |
$.subreddit | string |
$.subreddit_description | string |
$.subreddit_icon | string |
$.text | string |
$.thumbnail | null |
$.title | string |
$.updated | string |
$.url | string |
$.videos | array |