Hacker News new | past | comments | ask | show | jobs | submit login

how do you get real time acsess to reddit posts?



Through the API - in particular the info endpoint[1], combined with the fact that Reddit IDs are base36 encoded sequentially increasing integers[2]. You can get 100 objects at a time, so if you make ~3 requests a second it's enough to get all of the new posts and comments.

[1] https://www.reddit.com/dev/api/#GET_api_info

[2] https://www.reddit.com/dev/api/#fullnames




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: