DEV Community

Mikolaj
Mikolaj

Posted on

I built an API that acts as a digital compliance officer (so companies don't get fined).

Hey everyone,

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

The Problem I Wanted to Solve:
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.

What I Built:
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.

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.

The Tech Stack:

Backend: FastAPI (Python) hosted on Render.

Scraping: Playwright + BeautifulSoup. (Government websites are heavily dynamic, so standard requests kept failing. Playwright headless browsers fixed this).

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!

Database/Auth: Supabase

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

The Business Model:
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!).

I just finished the documentation and the live checkout pipeline.

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: https://www.notion.so/Delta-Reg-API-339a551b9183801aaa37f8c78b193a7c

Would love any feedback from other solo-founders on the idea, the B2B pricing, or the API structure!

Top comments (0)