<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Manpreet Brar</title>
    <description>The latest articles on DEV Community by Manpreet Brar (@manpreet_brar_264e408885a).</description>
    <link>https://dev.to/manpreet_brar_264e408885a</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4004749%2F5238c4f6-2689-4003-9946-b557445c438c.png</url>
      <title>DEV Community: Manpreet Brar</title>
      <link>https://dev.to/manpreet_brar_264e408885a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manpreet_brar_264e408885a"/>
    <language>en</language>
    <item>
      <title>I built a free whale tracker for Polymarket — here's what I learned</title>
      <dc:creator>Manpreet Brar</dc:creator>
      <pubDate>Sat, 27 Jun 2026 03:16:11 +0000</pubDate>
      <link>https://dev.to/manpreet_brar_264e408885a/i-built-a-free-whale-tracker-for-polymarket-heres-what-i-learned-21bi</link>
      <guid>https://dev.to/manpreet_brar_264e408885a/i-built-a-free-whale-tracker-for-polymarket-heres-what-i-learned-21bi</guid>
      <description>&lt;p&gt;The problem: I kept missing big moves on Polymarket because I had no way to see what the biggest traders were betting on in real time.&lt;/p&gt;

&lt;p&gt;So I built WhaleTrack — a free, no-signup tool that shows you exactly what top Polymarket whales are buying and selling.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live whale activity feed&lt;/strong&gt; — see the last 40 trades from top wallets, updated on refresh&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Whale leaderboard&lt;/strong&gt; — P&amp;amp;L, win rate, trade count for the biggest accounts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No login, no ads, no fluff&lt;/strong&gt; — just the data&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;The whole thing is vanilla HTML/CSS/JS deployed on Vercel with two serverless functions:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;/api/whales.js&lt;/code&gt;&lt;/strong&gt; — hits the Polymarket leaderboard API, fetches position stats for each whale, calculates win rates from closed positions&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;/api/activity.js&lt;/code&gt;&lt;/strong&gt; — pulls recent trades for each whale wallet in parallel, filters out internal combo transactions (no title / zero price), and returns the 40 most recent trades&lt;/p&gt;

&lt;p&gt;The serverless layer solves CORS — Polymarket's data API doesn't allow browser requests, so everything goes server-side.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Frontend: Vanilla HTML/CSS/JS (zero dependencies)&lt;/li&gt;
&lt;li&gt;Backend: Vercel serverless functions&lt;/li&gt;
&lt;li&gt;Data: Polymarket public data API&lt;/li&gt;
&lt;li&gt;Deploy: Vercel (free tier)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Biggest lesson
&lt;/h2&gt;

&lt;p&gt;Filtering bad data is half the work. The raw API returns combo trades and internal transactions that show up as "Unknown Market @ 0¢" — useless noise. Had to figure out which fields to check (title, price &amp;gt; 0) to strip them.&lt;/p&gt;

&lt;p&gt;Also: win rate calculation is tricky when most whales have unrealized profits. Showing "—" instead of 0% is more honest.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://whaletrack.app" rel="noopener noreferrer"&gt;WhaleTrack →&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also launched on Product Hunt today if you want to show some love: &lt;a href="https://www.producthunt.com/posts/whaletrack" rel="noopener noreferrer"&gt;Product Hunt&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built this in a weekend. Happy to answer questions about the Polymarket API or Vercel serverless setup.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>startup</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
