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.
# Install
$ npm install @onchaindb/sdkimport { 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 onchaindbfrom 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
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 & fight | Traditional APIs | OnchainDB | |
|---|---|---|---|
| Revenue from AI traffic | $0 -- blocked | Monthly plans, low adoption | Automatic per-query |
| Agent discovery | Invisible to agents | Manual integration | Auto via skills.md |
| Cross-provider joins | Not possible | Custom glue code | Built-in |
| Revenue sharing | N/A | Manual contracts | Automatic splits |
| Data migration required | N/A | ETL + export | Zero -- connect in place |
| Time to revenue | Never | Months | Minutes |
| Scales with agent economy | Arms race | Limited | Revenue 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
onchaindb connect postgres://...$0.001 per queryAgents query, you get paidThree 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.