DEV Community

bold
bold

Posted on

How I Built an AI API Affiliate Income From Scratch: A Dev's Spreadsheet Breakdown

I track everything. Every commission, every hour worked, every blog post published — it's all sitting in a Google Sheet with colour-coded tabs and a dedicated "side hustle" tab I check more often than I'd like to admit. So when I tell you that I earned my first affiliate commissions from an AI tool without a single email subscriber, YouTube subscriber, or Twitter follower, you can verify the math against the spreadsheet.
Here's the thing: most of the "how to do affiliate marketing" content out there is written for influencers and full-time content creators. It assumes you already have an audience. As a developer with a day job, a side project, and maybe 6-8 hours a week to spare, I had exactly zero audience. What I did have was a willingness to write content that ranks in Google and the discipline to log every dollar earned.
Let me walk you through exactly how I went from zero to my first commissions, what the numbers actually look like in my tracker, and whether it's worth your time as a developer side hustle.

The Audience Myth (And Why It Doesn't Apply Here)

Every time I bring up affiliate marketing to other devs, I get the same response: "Yeah, but I don't have an audience to promote to."
Here's the math that changed my mind: I don't need an audience. I need search traffic. Those are fundamentally different things.
An audience is a group of people who follow you, see your content in their feed, and already trust your recommendations. Building one takes months or years of consistent posting on platforms you don't own.
Search traffic is different. It's people actively typing questions into Google and clicking on results. They don't know who I am. They don't follow me. They don't subscribe to anything. They're looking for an answer, and if my article provides it well, they'll click my link.
The day I shifted my mental model from "I need followers" to "I need to rank for specific search queries" was the day this whole thing started making sense for me as a side hustle.

My Actual Numbers: First 90 Days

Let me open my tracker and share what's actually happened, because vague income claims are useless.
I started writing AI API affiliate content roughly three months ago. No audience, no email list, no prior content marketing experience. Just a dev blog I set up on a Tuesday night and a Notion page full of keyword ideas.
Here's what the income line in my spreadsheet looks like so far:

  • Month 1: $0
  • Month 2: $47
  • Month 3: $182 (and counting, with recurring commissions now kicking in) Total hours invested across those three months: roughly 35-40 hours of writing, keyword research, light editing, and tracking. Let me break that down:
  • $229 total commissions / 37.5 average hours = about $6.10 per hour Is $6.10 per hour life-changing? Not yet, and I wouldn't pretend otherwise. But here's what's important: that hourly rate is climbing every month. The recurring component means months 4, 5, and 6 will require less new work for the same (or higher) income. That's the compounding magic of recurring affiliate commissions, and it's the reason this is worth doing at all. # # The Commission Structure That Made It Worth My Time Before I get into the actual strategy, let me explain why I

Top comments (0)