Back to APIs list

Reddit API examples & templates

Use these vals as a playground to view and fork Reddit API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
substrate avatar
redditRAG
@substrate
HTTP
Search on Reddit (powered by Serper ) and return a streaming markdown summary (powered by Substrate ). To fork, sign up for Substrate to get your own API key and $50 free credits. You'll also need Exa, which comes with generous free credits and is much cheaper than the Twitter search API.
substrate avatar
meReddit
@substrate
HTTP
Search on Reddit (powered by Serper ) and return a streaming markdown summary (powered by Substrate ). To fork, sign up for Substrate to get your own API key and $50 free credits. You'll also need Exa, which comes with generous free credits and is much cheaper than the Twitter search API.
substrate avatar
redditAPIRAG
@substrate
HTTP
note: reddit returns a 403 now, though it looks like in late 2023 you could get recent posts this way: https://www.val.town/v/stevekrouse/redditNew
substrate avatar
redditNew
@substrate
Script
An interactive, runnable TypeScript val by substrate
tambre avatar
getRedditAccessToken
@tambre
Script
// The account's 2FA needs to be disabled.
stevekrouse avatar
redditNew
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
Glench avatar
googlePhotosMarketingRSS
@Glench
HTTP
An interactive, runnable TypeScript val by Glench
rcoady avatar
subredditExample
@rcoady
Script
// Reddit recent posts from /r/aww (cute animals)
funkie avatar
subredditExample
@funkie
Script
// Reddit recent posts from /r/aww (cute animals)
andreterron avatar
subredditExample
@andreterron
Script
// Reddit recent posts from /r/aww (cute animals)
bnorick avatar
check_reddit
@bnorick
Script
An interactive, runnable TypeScript val by bnorick
tfiers avatar
subredditExample
@tfiers
Script
// Reddit recent posts from /r/aww (cute animals)
gunta avatar
subredditExample
@gunta
Script
// Reddit recent posts from /r/aww (cute animals)
tambre avatar
pollVulkanRSSFeed
@tambre
Cron
Polls the Vulkan specification repository for specification updates. If found, sends an email and makes a post on /r/vulkan.
kisen avatar
subredditExample
@kisen
Script
// Reddit recent posts from /r/aww (cute animals)
park avatar
subredditExample
@park
Script
// Reddit recent posts from /r/aww (cute animals)