v1.0 Now Available

Facebook Ads data in
your Supabase.
Zero code required.

Stop building brittle API scrapers. We sync your Ad Spend, CPM, and CTR directly into your Postgres database every hour.

Open Source Self-Hostable
lightningsync-cli — zsh
> Initiating LightningSync v1.0...

Why Developers Choose LightningSync

Built for the modern data stack.

SQL Native

It's just Postgres. Join your Ad Data with your User Data (`auth.users`) to calculate true LTV and ROI in a single query.

Ownership First

Unlike other tools that trap data in their dashboard, we push it to yours. You own the data, the table, and the backups.

Type-Safe

We provide TypeScript definitions for every table we generate, so your frontend builds never break.

Pipeline Architecture

From Meta to Postgres in seconds.

STEP 01

Connect Securely

Link your Facebook Ad Account with a simple OAuth handshake. We never see your password, just the read-only metrics you need.

STEP 02

We Handle the Messy APIs

Facebook's Graph API is complex and constantly changing. We normalize the JSON chaos into clean, typed rows in your public.facebook_ads_daily table.

STEP 03

Autopilot Syncing

No need to configure servers or debug cron jobs. Choose your schedule (Hourly or Daily), and we ensure your database is always fresh.

Safe & Compliant

No more account bans

Unlike DIY automation tools, LightningSync is built on Meta's official OAuth—designed to keep your ad accounts safe.

⚠️ DIY Automation (n8n, Zapier)

  • Excessive polling triggers Facebook's spam detection
  • Each user hammers the API with their own token
  • No centralized rate limiting or backoff
  • Token storage often insecure

LightningSync

  • Official Meta OAuth app—trusted by Facebook
  • Server-side rate limiting we control
  • Scheduled syncs (hourly/daily, not every 5 min)
  • AES-256 encryption for all tokens

Ready to own your ad data?

No credit card required. Connect your Supabase project and start syncing insights immediately.

Get Started for Free