Now in early access

Stop blocking bots.
Start billing them.

OnchainDB lets SaaS platforms and data providers monetize their proprietary data for AI agents -- with automatic per-query billing, discovery, and zero migration.

See How It Works
# Install
$ npm install @onchaindb/sdk
import { OnchainDB } from '@onchaindb/sdk';

const db = new OnchainDB({ apiKey: '...' });

// Query a provider's data (pay per query via x402)
const flights = await db.query('flights@travelco', { from: 'SFO' });

// Cross-provider join -- revenue splits automatically
const deals = await db.query('flights@travelco + hotels@stayapp', {
    from: 'SFO', dates: '2025-03-01..07'
});
# Install
$ pip install onchaindb
from onchaindb import OnchainDB

db = OnchainDB(api_key='...')

# Query a provider's data (pay per query via x402)
flights = await db.query('flights@travelco', { 'from': 'SFO' })

# Cross-provider join -- revenue splits automatically
deals = await db.query('flights@travelco + hotels@stayapp', {
    'from': 'SFO', 'dates': '2025-03-01..07'
})

Software is changing

We're here to help you transition.

"The Great SaaS Meltdown has started and there's no going back."

Chamath Palihapitiya, CEO of Social Capital

"Every company is now an API company, whether they want to be or not."

Sam Altman, CEO of OpenAI

"80% of the world's data is private. OpenAI won't have access to it."

Kevin Weil, Chief Product Officer at OpenAI

Private data is the moat. AI agents need it to be useful -- and they're willing to pay for it. OnchainDB is the economic layer that makes this happen.

Your data command center

Monitor agent queries, track revenue per collection, manage access -- all in real time.

Works with your stack

Open-source connectors

Databases, APIs, and any data source -- no migration required

Celestia

From data cost center to revenue stream

Connect your existing data. Set your price. Agents discover, query, and pay automatically.

Connect

Wrap any API or database in minutes -- REST, GraphQL, PostgreSQL, ClickHouse, MongoDB. No migration, no ETL. Your data stays where it is.

Monetize

Set your price per query. Agents pay automatically via x402 protocol. Revenue flows directly to you -- no invoices, no negotiations.

Discover

AI agents automatically find your data through skills.md -- a standard that describes what you offer, how to query it, and what it costs.

Join

Cross-provider queries combine data from multiple sources in a single call. Revenue splits automatically between all providers involved.

Scrapers are a revenue problem, not a security problem

Platforms spend millions blocking bots. But AI agents aren't going away -- they're the new API consumers. Sell to them instead.

Block & fightTraditional APIsOnchainDB
Revenue from AI traffic$0 -- blockedMonthly plans, low adoptionAutomatic per-query
Agent discoveryInvisible to agentsManual integrationAuto via skills.md
Cross-provider joinsNot possibleCustom glue codeBuilt-in
Revenue sharingN/AManual contractsAutomatic splits
Data migration requiredN/AETL + exportZero -- connect in place
Time to revenueNeverMonthsMinutes
Scales with agent economyArms raceLimitedRevenue grows with traffic

Watch revenue flow in real-time

Every query is a transaction. See exactly which agents are consuming your data, how much you're earning, and which collections drive the most revenue -- down to the individual query.

  • Per-query revenue tracking
  • Agent-level consumption analytics
  • Revenue breakdown by collection
Today's Revenue $1,247.50
12.4K Queries
$0.10 Avg/Query
1
Deploy connector onchaindb connect postgres://...
2
Set pricing $0.001 per query
3
Start earning Agents query, you get paid

Three steps. Minutes to revenue.

Deploy a connector to your existing database. Set your price. Agents discover you through skills.md and start querying immediately. Your data never leaves your infrastructure.

  • Any REST or GraphQL API
  • PostgreSQL, ClickHouse, MongoDB, Supabase
  • Auto-discovery via skills.md endpoints

Questions

Any structured data that AI agents would find valuable: market data, knowledge bases, embeddings, research, proprietary datasets. If agents need it, you can monetize it.

No migration required. Our open-source connectors plug into your existing databases and APIs. Wrap any REST or GraphQL endpoint in minutes. Our universal query layer handles the rest, so your data stays where it is.

Data providers set prices per query. When an agent queries data, payment is initiated via x402. No invoices, no manual transfers. Top up with a card, cash out to your bank.

AI agents building applications on top of your data. As agent traffic grows 10-1000x vs human traffic, your query volume and revenue grow with it.

When someone queries your data, you earn. Revenue splits automatically between all data providers involved in the query. No negotiations, no manual tracking.

TypeScript SDK first. Python and other languages planned. Works with any agent framework - LangChain, AutoGPT, custom agents.

Every data source includes a skills.md file - a standardized definition that tells AI agents what data is available, how to query it, and what it costs. Agents can read and understand your data capabilities automatically.

We're building now. Sign up for early access to be first in line.

Your data is worth more than you think

AI agents are already looking for it. Give them a way to pay.

Data Providers

Monetize your data. Agents discover, query, and pay automatically.

Get Early Access

Agent Developers

Access private data across providers in a single query.

Read the Docs