Back to APIs list![substrate avatar](https://img.clerk.com/eyJ0eXBlIjoicHJveHkiLCJzcmMiOiJodHRwczovL2ltYWdlcy5jbGVyay5kZXYvdXBsb2FkZWQvaW1nXzJqMlJaUElsQjV0V09sWjhKYndNRnpQemJJUyJ9)
![substrate avatar](https://img.clerk.com/eyJ0eXBlIjoicHJveHkiLCJzcmMiOiJodHRwczovL2ltYWdlcy5jbGVyay5kZXYvdXBsb2FkZWQvaW1nXzJqMlJaUElsQjV0V09sWjhKYndNRnpQemJJUyJ9)
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.
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.
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.