The missing infrastructure between proprietary data and AI agents. Proprietary data is what makes the difference between an agent and a smart agent. OnDB is the single API to discover, query, and pay for it — any provider, automatic settlement, zero migration.Documentation Index
Fetch the complete documentation index at: https://docs.ondb.ai/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
Connect
Wrap any HTTP API, REST endpoint, or database with our open-source connectors. No data migration required.
Monetize
Earn revenue from every AI query. Automatic per-query payments via x402 and Stripe’s Machine Payments Protocol (MPP).
HTTP API
All interactions go through the OnDB REST API. SDKs are available as optional wrappers.402 Payment Required response with a quote. Your application completes the payment and retries with the proof attached.
Key Features
HTTP API
Simple REST endpoints for storing and querying data. SDKs available in TypeScript, Go, PHP, and Python.
HTTP 402 Payments
Native pay-per-query monetization with automatic revenue sharing via USDC payments and Stripe MPP.
Open-Source Connectors
Wrap any HTTP API, REST endpoint, or database. No data migration required.
Advanced Queries
Query builder with cross-provider JOINs, aggregations, materialized views, and blob storage.
Get Started
Quickstart
Get up and running in 5 minutes
Authentication
Set up API keys and wallet auth
Immutability
Understand the append-only data model
API Reference
Full SDK and API reference