reddit.com
Get Reddit thread
Input
id optionalPost base36 id from the permalink (e.g. "1ldvy4n"), the part after /comments/. Pass this OR url.
url optionalThread URL (full https://www.reddit.com/r/.../comments/... or the /r/.../comments/... path). Pass this OR id.
sort optionalComment sort via Reddit's ?sort= ("confidence" = Best). Default: Reddit's Best.
all_comments optionalExpand every "more replies" loader for the full tree (slower on big threads). Default: only comments rendered on load.
Output
id requiredReddit fullname, e.g. t3_1ldvy4n
score requiredtitle requiredauthor requiredcreated requiredop_text requiredcomments requiredpermalink requiredpost_type requiredsubreddit requirednum_comments requiredReddit's total comment count; compare with comments.length to detect on-load truncation
domain optionalcontent_href optionalSubmission target: external link for link posts, the thread url for self posts
upvote_ratio optional