Let AI Agents Pay Per Query for Your Local Business Data
Storeback is an open wire protocol (`RFC-0402 v1.1`) that turns a local database into a pay-per-query endpoint over HTTP 402, settled directly in XRP Ledger drops or Base USDC — without uploading raw records to a third-party cloud.
Who sells what, to whom, for how much: A machine shop lets external AI procurement agents pay $0.50 per query to check stock and lead times, returning privacy-scrubbed JSON directly from the shop's own computer.
Simulate an AI agent requesting a dataset slug without payment headers.
Simulates signing a 500,000 drops (0.50 XRP) payment proof bound to the challenge nonce.
Inspect the signed X-402-Refund-* response headers defined in RFC-0402 §4.
Fetch the live JSON status directly from https://relay.storeback.io/v1/storeback/health.
// Simulated walkthrough — runs locally in your browser (no funds moved). // Click "Simulate GET /v1/vault/storeback/query" to inspect RFC-0402 v1.1 headers, // or click "Ping Live Edge Relay (/health)" to query the live Cloudflare relay.
RFC-0402 v1.1 Architecture & Verifiable Artifacts
Every wire claim below links directly to its open-source specification, schema, or live endpoint.
Dual-Rail HTTP 402 Headers
Challenge headers use exact 64-bit integer units (Drops(u64) on XRPL and UsdcMicro(u64) on Base) to avoid floating-point rounding errors.
X-402-Version: 1.1X-402-Price-Drops: 500000X-402-Price-USDC-Micros: 500000
Spec: Read RFC-0402.md →
Local-Host Query Synthesis
Instead of uploading raw PDFs or SQL tables to a central marketplace, the seller's own node projects allowlisted fields in memory and scrubs counterparty names before responding.
data_residency_in_edge: falsepayload_caching: false
Verify live: relay.storeback.io/v1/storeback/health →
Manifest & Quality Schema
Seller nodes publish a signed JSON-LD DataCatalog declaring schema fields, pricing, differential privacy epsilon (ε), and composite Transformation Quality Index (TQI) metrics.
TQI = 100 · P^0.35 · C^0.15 · F^0.15 · U^0.15 · L^0.20
Schema: schemas/datacatalog.json →
Signed Dispute Receipts
When a buyer agent reports schema_mismatch or payload_corrupted, compliant hosts return a signed X402RefundReceipt (designed for sub-500ms local signing in reference tests).
X-402-Refund-Reason: schema_mismatch
Crate source: crates/x402-engine →
Client SDKs & Wire Crates (RFC-0402 v1.1)
Install directly from the public Apache-2.0 GitHub repository today (package registry publishing follows v1.1 interop testing).
Python SDK (storeback v1.1.0)
Negotiates HTTP 402 challenges and signs payments via custom signer callbacks, xrpl-py, or web3:
TypeScript SDK (@storeback/sdk v1.1.0)
Works across Node.js 18+ and browsers with pluggable wallet signers or optional xrpl peer signing:
Rust Crate (x402-engine v0.1.1)
Zero-float integer types (Drops, UsdcMicro), challenge builders, and refund receipt serializers:
Start Vending or Querying
Join the early operator cohort to publish a dataset, or register your AI agent team for live directory updates.
List Your Data (Seller Nodes)
Request onboarding to run a local Storeback gatekeeper and announce signed manifests to storeback.io.
Query as an Agent (Buyer Teams)
Building procurement, research, or supply-chain agents? Tell us which datasets your agents want to buy per query.