r/pushshift • • Feb 10 '25

Subreddit dumps for 2024 are close

56 Upvotes

I've had a bunch of people message me to ask so I wanted to put a post up explaining. I'm super close on having the subreddit dumps for 2024 available, but keep failing at the final step. Here's the process.

I take the monthly dumps and run a script that counts how many occurrences of each subreddit there are. This takes ~2 days. Then I take the top 40k and pass them into a different script that extracts out those subreddits from the monthly dumps and writes them each to their own file. This takes ~2 weeks. Then I upload the 3tb of data to my seedbox. This takes ~1 week. Then I generate the torrent file. This takes ~1 day. Then I upload it to the academic torrents website. Then download the torrent file it generates and upload it to my seedbox. Then the seedbox has to check the torrent file against the files it has uploaded, and then it starts seeding. This takes ~1 day.

Unfortunately the seedbox has crashed overnight while doing this check process, twice now. It would have been ready 2 days ago otherwise. I've restarted it again and submitted a ticket with the seedbox support to see if they can help.

If it goes through or they can help me, it'll be up tomorrow or the day after. If it fails again I'll have to find some other seedbox provider that uses a different torrent client (not rtorrent) and re-do the whole upload process.

If it is going to be a while, I'll be happy to manually upload individual subreddits to my google drive and DM people links. But if it looks like it'll be up in the next day or two I'd rather just wait and have people download from there.

Thanks for your patience.


r/pushshift • • Mar 04 '23

Simple page to check the progress of the ingest of old posts. Shows the timestamp of the most recent post in the API prior to November 2022. Updates on page load as well as automatically refreshes every 5 minutes.

Thumbnail minibug1021.github.io
56 Upvotes

r/pushshift • • Jan 06 '20

The Pushshift API is still behind due to an extreme amount of SPAM hitting Reddit

56 Upvotes

There's around 5 million comments per day hitting Reddit that is spam. Here's an image showing just how bad it is

The Pushshift ingest script makes serialized requests to the Reddit API but there is currently too much spam and the Reddit API isn't fast enough to keep up with one account.

The ingest needs to be rewritten so that it can make parallel requests but that will take a bit of time to complete and test.

I was hoping the API would catch up over the weekend, but there were around 10 million spam comments hitting Reddit (mainly for football sports channels).

Reddit is creating comment ids for these spammers instead of blocking them at the beginning of the pipeline, so there isn't any way to approach the problem using serialized requests.

Just wanted to give an update on the issue. Once the ingest is rewritten, this will no longer be a problem.

Thank you!


r/pushshift • • Nov 18 '18

Massive Spam issue ongoing with Reddit

53 Upvotes

FYI -- My ingest is overwhelmed at the moment. There appears to be a huge influx of massive spam into Reddit.

Take a look at this

There are hundreds of comments per second that are just spam. I'm not sure what's going on or if spam prevention has been turned off on Reddit's end. I am unable to keep up with real-time ingest due to the level of spam.

Just an FYI -- but this looks really severe.

Edit: I am seeing almost double the volume of comments -- almost half of all comments to Reddit currently are spam.

Edit 2: There are accounts literally making thousands of comments per minute in the most active subreddits. These are all sports related spam.


r/pushshift • • Nov 07 '20

Growing pains and moving forward to bigger and better performance

50 Upvotes

Let me first start off by saying that I honestly never anticipated that the Pushshift API would grow to see up to 400 million API hits a month when I first started out. I anticipated growth, but not at the level the API has seen over the past few years.

Lately, the production API has just about reached its limits in the number of requests it receives and the size of data within the current cluster. Believe me, 5xx errors and occasional data gaps frustrate me as much as it does everyone else who depends on the API for accurate and reliable data.

The current production API is using an older version of Elasticsearch and the number of nodes in the cluster isn't sufficient to keep up with demand. That is unacceptable for me because I want people to be able to depend on the API for accurate data.

I have rewritten the ingest script to be far more robust than the current one feeding the production API (the new ingest script is feeding http://beta.pushshift.io/redoc) This is the current plan going forward:

  1. I'll be adding 5-10 additional nodes (servers) to the cluster to bring the cluster up to around 16 nodes in total. The new cluster will have at least one replica shard for each primary shard. What that means is that if there is a node failure, the API will still return complete results for a query.

  2. The new ingest script will be put into production to feed data into the new cluster. There will also be better monitoring scripts to verify the integrity and completeness of the data. With the additional logic for the new ingest script and the methodology it uses to collect data, data gaps would only occur if there was some unforeseen bug / error with Elasticsearch indexing (which there really shouldn't be). In the event that a data gap is found, the monitor script will detect it and correct it.

  3. The index methodology will create a new index for each new calendar month. I'll incorporate additional logic in the API to only scan the indexes needed for a particular query that restricts a search by time. This will increase performance because Elasticsearch won't have to touch shards that don't contain data within the time range searched.

  4. I'll be creating a monitor page that people can visit to see the overall health of the cluster and if there are any known problems, the monitor page will list them along with an estimate on how long it will take to fix the problem.

  5. Removal requests will be made easier by allowing users who still have an active Reddit account to simply log in via their Reddit account to prove ownership and then be given the ability to remove their data from the cluster. This will automate and speed up removal requests for users who are concerned about their privacy. This page will also allow a user to download all of their comments and posts if they choose to do so before removing their data.

When we start the process of upgrading the cluster and moving / re-indexing data into the new cluster, there may be a window of time where old data is unavailable until all the data has been migrated. When that time comes, I'll let everyone know about the situation and what to expect. The goal is to make the transition as painless as possible for everyone.

Also, we will soon be introducing keys for users so that we can better track usage and to make sure that no one person makes so many expensive requests that it starts to hurt the performance of the cluster. When that time comes, I'll make another post explaining the process of signing up for a key and how to use the key to make requests.

As always, I appreciate all the feedback from users. I currently don't spend much time on Reddit, but you can e-mail or ping me via Twitter if needed. Again, I appreciate any alerts from people who discover issues with the API.

Thanks to everyone who currently supports Pushshift and I hope to get all of the above completed before the new year. We will also be adding additional data sources and new API endpoints for researchers to use to collect social media data from other sources besides Reddit.

Thank you and please stay safe and healthy over the holidays!

  • Jason


r/pushshift • • Jun 03 '23

Reddit Top20K search and download

48 Upvotes

Hi guys. I have download the archive torrent and split it by subreddit, make a simple website, https://reddit-top20k.cworld.ai/

It includes submissions and comments, and compressed in zst format

You can search and download the archieve data


r/pushshift • • Nov 11 '20

Funding Pushshift: Please help.

47 Upvotes

Donate here: https://www.patreon.com/pushshift

Currently, it costs at least $1,500/month to run Pushshift. At the time I am writing this, Pushshift is only getting $300/month (20%) on Patreon. Jason has been working really hard on this project for all of us and is running the project at a $1,200 deficit. Let's see if we can get that $300 month up to $500 a month before the end of November.

Let's open up our wallets a little bit and give Jason a helping hand. If you can't afford a few bucks a month, reach out to people you know who use Pushshift and ask them if they can please lend a helping hand.

https://www.patreon.com/pushshift

Read Jason's original post about needing funding HERE

Mods who read this post, please consider adding the patreon to the sidebar, not just the FAQ. Jason is a humble guy, it's up to us to raise funds on behalf of his hard work. Let's see some initiative.

Edit:
Wow, we're already up to an additional $87/month pledged. Thank you for your generosity.


r/pushshift • • Jun 05 '23

Announcing PullPush, a successor of Pushshift.

Thumbnail reddit.com
46 Upvotes

r/pushshift • • Feb 10 '23

[Removal Request Form] Please put your removal request here where it can be processed more quickly.

46 Upvotes

https://docs.google.com/forms/d/1JSYY0HbudmYYjnZaAMgf2y_GDFgHzZTolK6Yqaz6_kQ

The removal request form is for people who want to have their accounts removed from the Pushshift API. Requests are intended to be processed in bulk every 24 hours.

This forum is managed by the community. We are unable to make changes to the service, and we do not have any way to contact the owner, even when removal requests are delayed. Please email [email protected] for urgent requests.

Requests sent via mod mail will receive this same response. This post replaces the previous post about removal requests.


r/pushshift • • Nov 01 '20

Aggregations have been temporarily disabled to reduce load on the cluster (details inside)

44 Upvotes

As many of you have noticed, the API has been returning a lot more 5xx errors that usual lately. Part of the reason is that certain users are running extremely expensive aggregations on 10+ terabytes of data in the cluster and causing the cluster to destabilize. These aggregations may be innocent or it could be an attempt to purposely overload the API.

For the time being, I am disabling aggregations (the aggs parameter) until I can figure out which aggregations are causing the cluster to destabilize. This won't be a permanent change, but unfortunately some aggregations are consuming massive amounts of CPU time and causing the cluster to fall behind which causes the increase in 5xx errors.

If you use aggregations for research, please let me know which aggregations you use in this thread and I'll be happy to test them to see which ones are causing issues.

We are going to be adding additional nodes to the cluster and upgrading the entire cluster to a more recent version of Elasticsearch.

What we will probably do is segment the data in the cluster so that the most recent year's worth of data reside on their own indexes and historical data will go to other nodes where complex aggregations won't take down the entire cluster.

I apologize for this aggravating issue. The most important thing right now is to keep the API up and healthy during the election so that people can still do searches, etc.

The API will currently be down for about half an hour as I work to fix these issues so that the API becomes more stable.

Thank you for your patience!


r/pushshift • • Feb 13 '25

Subreddit dumps for 2024 are close, part 2

42 Upvotes

I figured out the problem with my torrent. In the top 40k subreddits this time were four subreddits like r/a:t5_4svm60, which are posts direct to a users profile. In all four cases they were spam bots posting illegal NFL stream links. My python script happily wrote out the files with names like a:t5_4svm60_submisssions.zst, and the linux tool I used to create the torrent happily wrote the torrent file with those names. But a : isn't valid in filenames in windows, and isn't supported by the FTP client I upload with, or the seedbox server. So it changed it to (a dot). Something in there caused the check process to crash.

So I deleted those four subreddits and I'm creating a new torrent file, which will take a day. And then it will take another day for the seedbox to check it. And hopefully it won't crash.

So maybe up by Saturday.


r/pushshift • • Jun 30 '23

PullPush API - freely accessible clone of PushShift is now up. If you have been a victim DOXing, had unwanted nudes or anything else that you submitted a PushShift removal request for, you need to do it again at PullPush to avoid it being resurrected.

Thumbnail forum.pullpush.io
42 Upvotes

r/pushshift • • Feb 13 '23

Submissions before november are planned to be loaded this weekend

Thumbnail
twitter.com
42 Upvotes

r/pushshift • • Dec 26 '22

u/stuck_in_the_matrix Please open source the API and ingest code.

41 Upvotes

We've got a great community here of developers that want a stable, performant, accessible API. You've got a lot going on and that's perfectly fine. Just please just open source the code on github, gitlab, $INSERT_REPO_HERE, so we can take a look at it, submit pull requests, etc. Help us to help you.

I'm also a professional Linux admin so I'd be willing to help manage the servers for free, just ask me!


r/pushshift • • Jun 30 '20

Data Deletion Request Megathread

41 Upvotes

Edit: Jason has taken over all deletion requests, please visit the form to add your name to the deletion queue: https://www.reddit.com/r/pushshift/comments/pat409/online_removal_request_form_for_removal_requests/ - Please do not DM me or Chat-request me, I am no longer involved in deletions.


r/pushshift • • May 18 '23

Used camas.unddit to search comments, alternative?

40 Upvotes

I just used camas to search for certain words in subreddits I follow. So not searching for deleted comments or sitewide. Used camas as I could input quite some subreddits into the searchbar and it would search all of them for the phrase I was looking up. That doesn't work anymore as of May 1st after pushift didn't get new information anymore.

Is there a way or website I can continue doing what I did? The standard Reddit search only supports search for one subreddit at a time, which takes up a lot more time (so haven't bothered doing that).


r/pushshift • • Jul 03 '22

Total re-indexing of Reddit over the next 1-2 weeks on more powerful (and redundant) server / nodes

40 Upvotes

Unfortunately when I first started this project, I didn't have the necessary equipment to enable replicas across all indexes (each index usually being a month or quarter of Reddit data). Over the years, there have been multiple node failures, crashes, power outages, etc. that have affected the health of the cluster.

The good news is that we now have the necessary equipment to start indexing all data to a new cluster with redundant nodes / storage arrays to keep the overall health of the cluster strong.

Over the next two weeks (starting late Monday evening or Tuesday), I will begin the process of moving over all data to a new cluster (version 8.31 for the Elasticsearch users out there). I anticipate the entire process will take at a minimum five days and at a maximum two weeks (Probably one week is a decent target).

Once this is done, all historical Reddit data will be made available along with improvements in how we process removal requests. We had another power outage this evening that caused more issues which is exasperated by the lack of redundancy.

I will update on the progress and let everyone know when the entire dataset is available. I will also enable aggregations since the new hardware should be able to support the increased load.

If you have any questions, let me know -- I also post updates on Twitter so feel free to interact with me there as well.

I hope everyone has a safe and fun holiday! May you and your family stay healthy and happy.

Thanks to everyone for your support including the mods here that will often ping me via text when there are major issues. :)

Thanks!

Edit I just wanted to mention that until we are able to bring the new cluster online, older data will be unreliable with gaps until we switch over to the new cluster. So for the time being, if you use the API, please note that some data will be unavailable. Thank you!


r/pushshift • • Mar 16 '21

Am I the only one baffled by the lack of the common knowledge from redditors that anything they put on the internet is likely being cached with or without your permission?

40 Upvotes

Seriously, the number of Redditors who come here and complain that their privacy is being violated makes me frustrated. I don't know if it's kids, or just technology illiterate folk, but since I was 14 years old am (34 now), I was taught that anything you post publicly, (not just the internet) it will likely never be private again.

I'm sorry I'm just blowing off some steam. I just find some of these complaints to be on the same level as those idiots who film their own crimes, post them on the internet and then totally surprised when the evidence comes to light and saying something like. "I deleted that, it's a violation of my privacy."

Okay, rant done.

Hopefully pushShift will be running smoothly again soon.


r/pushshift • • Jan 03 '20

Pushshift API had a server failure yesterday. I have fixed the issue but the API will be behind for a bit

40 Upvotes

Unfortunately this happened while I was at the hospital yesterday. It's about a day behind but should catch up soon. It depends if Reddit gets a huge influx of spam but hopefully it will get caught up by this weekend at the latest.

I apologize for the inconvenience. The server picked the worst time to go down.


r/pushshift • • Nov 03 '22

Update on Outage

39 Upvotes

(I had someone copy and paste something I sent them earlier but here are the details)

This is Jason -- I contacted Verizon earlier and tried to schedule them to come out earlier than tomorrow morning. Apparently the fiber cable was cut outside of the house somewhere between the access point near the street and the ingress point here at the house.

The current scheduled visit is for tomorrow at 8am. We are working on migrating the Reddit API more quickly into the COLO and hope to have it completed within the next 24 hours. We want to accelerate this because I don't know if the technician will be successful tomorrow morning in restoring the fiber cable or if they have to have to escalate the ticket.

In the meantime, I will personally check in when possible to update the community. We have been moving hardware into the COLO for quite some time and were about 1-2 weeks away from having all API endpoints running from the COLO but obviously we want to step things up.

I'll update soon!

  • Jason


r/pushshift • • May 23 '22

Mini FAQ: Before posting "Is Pushshift Down?" please read this!

39 Upvotes

If you're asking this question: Probably

Here are a few reasons why you might be having issues accessing the site:

  • It's down for maintenance. /u/Stuck_In_the_Matrix tries to post when he will be working on Pushshift.

  • It's just down. For whatever reason ingest has crashed or a router has gone offline or a switch went boom or some other event has happened. We often don't have details on the reasons why.

  • You're being too aggressive with the service. This will result in a cloudflare error 1006. This is usually caused by ignoring HTTP Status Code 429 when using the service. The ban is temporary and should fall off after an hour but make sure your script is handling 429s!

Okay so when will it be back up?

  • When maintenance has finished. Again /u/Stuck_In_the_Matrix tries to post maintenance windows.

  • When it comes back up.

If you want to get an idea of the status of Pushshift there's two excellent resources:

The Unofficial Pushshift Status page and Reveddit. The status page is a good resource for seeing the overall status of pushshift. Reveddit is great for seeing the whether the issue you may be having, like missing data or no new posts/comments is just an ingest delay.

But I want data and I want it now!

Sorry Veruca Salt, but this is a free service run by one man in his own spare time. You'll just have to wait, patiently.

If you want to help improve the reliability of this service, please consider subscribing to the pushshift patreon of which you can find more info here.

If you post an "Is Pushshift down" post it may be removed by the mods if there is no substance to the post.


r/pushshift • • May 03 '22

Temporary banning of IPs with high rates of 429s

39 Upvotes

Just a heads up -- the API sometimes becomes unstable because certain scripts are making hundreds of calls per second and it is causing some issues on the web server.

Since we use Cloudflare as a CDN, we blacklist IPs using Cloudflare's firewall. I don't like permanently blacklisting any IPs so this is how it currently reacts to a bunch of 429s:

If the script makes 100+ calls resulting in 429s in a 5 minute period, that IP will be banned for one hour. After that time, the IP will be cleared.

PLEASE check your scripts and put in some code to handle returns with a 429 status code. Ideally, your script would back off exponentially when received a 429 but simply putting in a sleep(x) (where x is around 2-3) would likely solve the immediate problem.

Let me know if you have any questions!


r/pushshift • • Feb 27 '23

Reloading of older submissions

38 Upvotes

I'm currently reloading older submissions and switched to oldest first. I know there are a list of bugs that tackling this week, but if someone could take a peak at the older data and see if there are any issues with the fields / values, I'd greatly appreciate it. It would save me from having to go back and reload data.

I have looked it over but a second pair of eyes from someone who uses the data extensively would be a huge help.

You can use this url to grab older submissions from 2006. Take a look and let me know if you see anything out of the ordinary:

https://api.pushshift.io/reddit/search/submission?q=reddit&order=asc

Thank you!

  • Jason


r/pushshift • • May 08 '23

After being pushshift being banned from the reddit API, is there now no way to view comment/posts after May 1st of deleted accounts?

37 Upvotes

for example if i want to view my deleted accounts or something, i would usually use unddit but now it seems like there’s no tool since they all run on pushshift


r/pushshift • • Sep 21 '21

UPDATE: Pushshift will be adding financial data for global commodities including stocks, futures, options (full option chains), etc.

37 Upvotes

In an effort to better help researchers correlate financial instruments with social media data, Pushshift will be adding over 10 terabytes of financial data and adding new API endpoints for people interested in researching financial data.

Included in this will be:

  • One minute aggregated (adjusted and nonadjusted) data for stocks including open, close, high, low, volume, number of transactions, weighted volume for every US and global equity. This will include 20+ years worth of per minute data for 10,000+ equities.

  • Full company financials per quarter including market cap, board of director changes, fundamental analysis (P/E, etc.) for all companies, etc.

  • Tick level data for thousands of equities for the previous 15+ years

  • Full option data including all option chains for each equity including historical price movement for all options (both PUTS and CALLS)

This data will be provided free of charge to researchers. The time frame for these additions will be over the next 30-60 days but the API should be available in the next 4 weeks.

Thank you!

Ps: The goal for this is to help level the playing field to give beginning investors the same tools that professional traders have access to.