<?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: Mikolaj</title>
    <description>The latest articles on DEV Community by Mikolaj (@hobbycodermiko).</description>
    <link>https://dev.to/hobbycodermiko</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3864371%2F9535e40f-65fb-4b4e-91ff-d99f0823f9e3.png</url>
      <title>DEV Community: Mikolaj</title>
      <link>https://dev.to/hobbycodermiko</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hobbycodermiko"/>
    <language>en</language>
    <item>
      <title>I built an API that acts as a digital compliance officer (so companies don't get fined).</title>
      <dc:creator>Mikolaj</dc:creator>
      <pubDate>Mon, 06 Apr 2026 18:15:30 +0000</pubDate>
      <link>https://dev.to/hobbycodermiko/i-built-an-api-that-acts-as-a-digital-compliance-officer-so-companies-dont-get-fined-pcd</link>
      <guid>https://dev.to/hobbycodermiko/i-built-an-api-that-acts-as-a-digital-compliance-officer-so-companies-dont-get-fined-pcd</guid>
      <description>&lt;p&gt;Hey everyone,&lt;/p&gt;

&lt;p&gt;I just launched my first real micro-SaaS and wanted to share the project and the tech stack. It's called Delta-Reg.&lt;/p&gt;

&lt;p&gt;The Problem I Wanted to Solve:&lt;br&gt;
In the corporate and FinTech world, compliance officers have to manually read 20-page updates on government websites (like the FTC) and cross-reference them against their company's internal rulebook to make sure they aren't suddenly breaking the law. It is incredibly tedious and expensive.&lt;/p&gt;

&lt;p&gt;What I Built:&lt;br&gt;
I built an AI API that automates this. You send a POST request with a target government URL and a JSON object of your internal company policy.&lt;/p&gt;

&lt;p&gt;The API spins up a headless browser, scrapes the live regulatory text, runs it through Google Gemini, and returns a structured JSON analysis of any regulatory gaps, required technical changes (like upgrading encryption), and an "urgency score" from 1-10.&lt;/p&gt;

&lt;p&gt;The Tech Stack:&lt;/p&gt;

&lt;p&gt;Backend: FastAPI (Python) hosted on Render.&lt;/p&gt;

&lt;p&gt;Scraping: Playwright + BeautifulSoup. (Government websites are heavily dynamic, so standard requests kept failing. Playwright headless browsers fixed this).&lt;/p&gt;

&lt;p&gt;AI: Google Gemini. I implemented a BYOK (Bring Your Own Key) model. Users pass their own Gemini key in the headers so I don't go bankrupt paying for their LLM compute!&lt;/p&gt;

&lt;p&gt;Database/Auth: Supabase&lt;/p&gt;

&lt;p&gt;Monetization: Stripe Webhooks. When someone subscribes, Stripe pings my webhook, generates a secure dr_... API key, saves it to Supabase, and provisions access.&lt;/p&gt;

&lt;p&gt;The Business Model:&lt;br&gt;
I'm targeting B2B, specifically FinTechs and legal tech teams, so I priced it at €49/month for 1,000 requests. To a regular person, that's high, but to a company saving hours of lawyer fees, it's a no-brainer (at least, that is my hypothesis!).&lt;/p&gt;

&lt;p&gt;I just finished the documentation and the live checkout pipeline.&lt;/p&gt;

&lt;p&gt;If you want to see the JSON payloads or check out how the docs are structured, I built the landing page entirely in Notion here: &lt;a href="https://www.notion.so/Delta-Reg-API-339a551b9183801aaa37f8c78b193a7c" rel="noopener noreferrer"&gt;https://www.notion.so/Delta-Reg-API-339a551b9183801aaa37f8c78b193a7c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love any feedback from other solo-founders on the idea, the B2B pricing, or the API structure!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>showdev</category>
      <category>python</category>
    </item>
  </channel>
</rss>
