Reddit's Swap Bots Still Run on 2017 Python

Reddit's Swap Bots Still Run on 2017 Python

Reddit's buy/sell/trade subreddits run listing rules and trade reputation on volunteer Python last touched in 2017, and Reddit is paying $1,000 bounties to migrate them by December 31.

The Ledger Under Reddit's Flea Markets Is an Abandoned Python Script

A guy in Ohio wants to sell a graphics card. He posts a listing tagged with his location and what he has and wants, then uploads a photo of the card next to a scrap of paper with his username and today's date written on it. A buyer comments, they move to chat, money moves through PayPal, and the card ships. Two weeks later one of them tags a bot in a monthly thread, the other replies "confirmed," and a number beside each username increases by one.

That is the entire checkout stack for a Reddit marketplace with 468,000 members.

There is no cart, no merchant dashboard, no escrow, and no marketplace database in any sense a normal e-commerce engineer would recognize. These markets work anyway, year after year, at volumes that would make a Shopify store owner jealous.

You are not going to replace that system. You are going to become the software layer underneath it, at the exact moment Reddit is forcing that layer to be rewritten.

Here is what that looks like as a business:

🎯
The play: Build a configurable Devvit app that runs listing rules and trade reputation for Reddit's buy/sell/trade subreddits.

The money: A $39 Pro tier across 150 communities is roughly $5,850 in monthly recurring revenue, with Reddit paying $1,000 bounties and install subsidies on the way there.

Inside:
• Four-feature MVP scope for the trade ledger
• The config wizard that replaces bot forks
• Moderator outreach email that gets replies
• Free-to-paid ladder around Reddit's rules

The infrastructure is one Python repo and a pile of forks

Go looking for the code that runs these markets and the picture gets uncomfortable fast.

The main lineage is a project called `redditswapbot`, written by the moderators of r/hardwareswap. Its README says the scripts power three separate bot accounts: /u/hwsbot, /u/mechkbot, and /u/funkoswapbot. The bots update user flair based on confirmed trades, check posts for correct formatting and timestamps, create and maintain monthly trade and price threads, and process Heatware feedback. The most recent milestone the README bothers to announce is support for PRAW version 5, a Reddit API wrapper now on version 7.

The last code push to that repository was October 26, 2017.

The infrastructure is one Python repo and a pile of forks

Nine years of trading, across r/hardwareswap and r/mechmarket's roughly 305,000 members, on a Python project nobody has pushed to since the year the iPhone X shipped. It has twelve forks, and the fork names are the real evidence: `mangaswapbot` for a manga trading community, `redditswapbot-penswap` for a fountain pen market. Every new swap community that wants this workflow copies the 2017 code and renames it. Nobody configures. Everybody forks.

The second lineage is Swap Bot, built by a developer who goes by RegExr. It tracks reputation across a different constellation of swap communities on Reddit and Discord. The flow is elegant in its minimalism: tag the bot and your trading partner in a thread, your partner replies "confirmed," the bot replies "added," and both parties get credit. Send the bot a message containing a username and it returns that person's score.

Its moderator tooling reads like a product requirements document written by someone who has been burned:

  • `add_batch_swap.py` — increase scores without touching flair
  • `assign_all_flair.py` — resync every user's flair from the database when the two drift apart
  • `copy_user.py` — move a trade history to a new account
  • `shadow_ban_detector.py` — check whether the bot itself has been shadowbanned

The last script is the revealing one. Reddit's spam filter can silently switch off the reputation system for these markets, and somebody had to write code to notice when it happened.

That codebase carries 1,253 commits. The public version of it is a repository named SwapBotArchive, last pushed in July 2024. A maintained successor exists in a separate repository under the same developer, with no description and no documentation. Communities depending on this bot are depending on one person's availability, and the only version they can read is two years stale.

The same developer is also the contact point for the Universal Scammer List, the cross-community ban network these markets rely on to keep known scammers out. Moderators ban a user locally, drop a tag like `#scammer` into the mod note, and a bot propagates that ban to every subscribing subreddit. To join in read/write mode a community needs 5,000 subscribers, six months of history, and at least one post a day.

A meaningful slice of the reputation and safety infrastructure under Reddit's trading economy runs on volunteer Python, forked rather than configured, with the same person as a common dependency across two of its load-bearing systems.

Why these communities never left for eBay

These buy/sell/trade subreddits are not stuck with their tooling. They have chosen it, and the reason is worth understanding before you build anything.

Reddit reported 130.3 million daily active uniques and 514.6 million weekly active uniques in Q2 2026, with revenue of $805 million for the quarter, up 61%. None of that scale matters to this opportunity. You need the weird corners: fragrances, mechanical keyboards, camera lenses, PC hardware, vinyl, audio gear, ultralight backpacking kit, trading cards, Funko Pops. Every one of them is enthusiast commerce, where knowing the community is part of knowing whether the deal is good.

A collector unloading a discontinued fragrance does not want a storefront. A keyboard buyer who knows what a GMK Dolch set is worth would rather negotiate with somebody who has spent three years in the same threads than sort through stock photos on a generic marketplace. The subreddit is part of the product. Its culture supplies the context, its comment history supplies the texture, its moderators supply the governance, and the shared obsession is what keeps enough buyers and sellers in one place to make a market at all. Move the transaction to eBay and every one of those inputs disappears.

Which is why the awkward infrastructure has survived this long. Nobody has offered these communities a way to keep the club and lose the maintenance.

Reddit just started a clock, and almost nobody is watching it

Every swap bot described above runs on Reddit's Data API, and that API has become a narrow road. It stays free at 100 queries per minute for non-commercial use, which covers a moderator bot. Above that, Reddit charges $0.24 per 1,000 calls with a bundled commercial tier around $12,000 a month. Self-service registration for new commercial access is closed, and new tokens go through manual approval measured in weeks.

Meanwhile Reddit built the replacement. Devvit, its developer platform, hands an app Redis storage, cron-style scheduler jobs, event triggers, moderator menus and forms, realtime support, per-community installation settings, and hosting. An app installed in a subreddit runs on Reddit's infrastructure with Reddit's identity model already attached.

Reddit just started a clock, and almost nobody is watching it

Then Reddit started paying people to move. The App Migration Program runs from March 31 through December 31, 2026, awarding $1,000 bounties to selected developers who port existing Data API automations to Devvit, prioritizing apps that supply essential utility or moderation functionality to communities with at least 1,000 weekly active users. Participating apps must finish migrating by December 31, 2026. Reddit is closing Devvit's feature gaps in parallel, building parity for actions like banning and crossposting and adding wiki support, exactly the gaps that kept moderation bots on the old API. A Mod Tools and Migrated Apps hackathon ran from April 29 to May 27, 2026 with $45,000 in prizes for new tools and ported ones alike.

Reddit wants Data API automations off the Data API and onto Devvit before the year ends. Every swap bot in every trading community is a Data API automation, most are maintained by volunteers with day jobs, and the most widely forked one has not been touched in nine years. The rewrite is happening whether or not you show up. The only open question is whether these communities fork ten bespoke bots again or install one configurable app.

Build the ledger, not the marketplace

Unlock the Vault.

Join founders who spot opportunities ahead of the crowd. Actionable insights. Zero fluff.

“Intelligent, bold, minus the pretense.”

“Like discovering the cheat codes of the startup world.”

“SH is off-Broadway for founders — weird, sharp, and ahead of the curve.”

Start free, or unlock everything from $35/month.

Already have an account? Sign in.

Similar ideas

New startup opportunities, ideas and insights right in your inbox.