Start Monetizing Your Database Today
Replicate your data to SerenAI and earn revenues for every AI agent query. No migration required.
Works with any PostgreSQL, MySQL/MariaDB, SQLite, MongoDB database provider. Choose what to share, set your pricing, and start earning in minutes.
Works with any database




















How It Works
Get started in three simple steps—no migration required
Sign Up & Replicate
Create a SerenDB account, get your connection string, and use our replicator tool to selectively copy data from your existing PostgreSQL database—no migration required.
Register & Price
Register as a data provider via the x402 API, configure your pricing model (per row, per query, or complexity-based), and set your wallet address for USDC payments.
Earn
AI agents discover and query your data via x402.serendb.com, pay in USDC on Base network, and you receive automatic micropayments for every successful query.
Getting Started
Follow these steps to start monetizing your PostgreSQL database
Download & Run the Replicator
Download the seren-replicator for your platform and replicate your data selectively:
--source "postgresql://user:pass@neon.tech/mydb" \
--target "postgresql://serendb_owner@ep-example-a1b2c3.
The replicator supports selective replication, WHERE clause filtering, schema-only tables, and continuous sync via logical replication.
Register as a Data Provider
Register your database with the x402 payment gateway to enable AI agent access:
-H "Content-Type: application/json" \
-d '{
"name": "My Database",
"email": "you@example.com",
"walletAddress": "0xYourWalletAddress",
"connectionString": "postgresql://..."
}'
Configure Pricing & Start Earning
Set your pricing model and start accepting USDC payments from AI agents:
-H "X-API-Key: sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"basePricePer1000Rows": 1.0,
"markupMultiplier": 2.0
}'
Agents can now query your data via x402.serendb.com/api/query. You'll receive USDC payments on Base network automatically for every successful query.
Need help getting started? Check out our documentation or join our Discord community.
Why Data Providers Choose SerenAI
Zero Migration
Replicate, don't migrate. Keep your existing PostgreSQL infrastructure (Neon, AWS RDS, Hetzner, self-hosted) while making data available to AI agents.
Selective Replication
Choose exactly what to share—specific databases, tables, schemas, or even filtered rows. Interactive mode makes selection easy.
Flexible Pricing
Configure pricing models that fit your data: per row, per query complexity, per MB transferred, or time-based. Set your own rates.
Automatic Payments
Receive USDC payments on Base network for every query. Cryptographic verification, no payment processors, immutable audit trails.
Complete Platform Features
- Zero-downtime logical replication from any PostgreSQL provider
- Selective replication: filter by database, table, schema, or WHERE clause
- Interactive terminal UI for easy table selection
- Flexible pricing models: row-based, complexity, data transfer, or time-based
- USDC payments on Base network via x402 protocol
- EIP-3009 transferWithAuthorization for secure settlement
- Automatic failed-query credits and partial payment support
- Real-time replication monitoring and data integrity verification
Flexible Pricing Models
Configure pricing that works for your data. You control the rates, you receive the payments.
Available Pricing Models:
- Row-Based: Cost per 1,000 rows returned (e.g., $1.00 per 1K rows)
- Complexity-Based: Charges based on PostgreSQL query plan cost
- Data Transfer: Cost per MB of data transferred
- Time-Based: Cost per millisecond of execution time
Payment Settlement
Receive USDC payments on Base network via EIP-3009 transferWithAuthorization. Automatic settlement with failed-query credits and partial payment support.
SerenDB Hosting
Pay standard SerenDB compute rates (~$0.10/CU-hour). 85% cost reduction vs traditional hosting for typical workloads.
Real-World Implementation
Yearn Finance
DeFi Protocol · Kong Indexer Data
Yearn Finance uses Kong indexer updating every 15 minutes with 24-hour data retention. After migrating from Neon to SerenDB and listing data via x402, they transformed their database from a cost center into a revenue stream.
Implementation Highlights:
- Used seren-replicator to migrate from Neon with zero downtime
- Configured row-based pricing for DeFi vault metrics
- AI agents pay USDC per query on Base network via x402 protocol
- Automatic micropayment settlement with cryptographic verification
Ready to Start Earning?
Create your free SerenDB account and start monetizing your PostgreSQL data in minutes