aimarket-data-cap
Documentation
| Document | Description |
|---|---|
| User guide | Install, configure, verify plugin is loaded |
| User cases | Personas and cross-plugin workflows |
| SDK integration | Code examples and hook behavior |
Data-as-capability. Private corpus → paid RAG-capability. Upload your private data corpus. It becomes a paid search capability. You earn 70% of every query. Doubles TAM — sell compute AND data. Snowflake-level monetization for AI marketplaces.
When to Use
- Law firm uploads 50k court decisions →
legal.us-cases.search@v1, $0.05/query - Medical publisher uploads research papers →
medical.papers.search@v1, $0.10/query - SaaS company uploads internal docs →
company.kb.search@v1, $0.03/query - Any data owner who wants to monetize their private corpus without giving it away
Installation
pip install aimarket-data-cap
Example
from aimarket_data_cap.data_capability import DataCapabilityRegistry
reg = DataCapabilityRegistry(platform_fee_pct=0.30)
# Law firm registers their corpus
dc = reg.register(
owner_address="0xLawFirm",
description="US court decisions 2020-2025, federal circuit",
data_size_bytes=50_000_000, document_count=50000,
query_price_usd=0.05,
tags=["legal", "us-courts", "precedents"]
)
# Consumer queries — pays $0.05
result = reg.query(dc.capability_id, "precedent for breach of contract damages")
print(f"Price: ${result['price_usd']}")
print(f"Owner earns: ${result['revenue_split']['owner_usd']} (70%)")
print(f"Platform earns: ${result['revenue_split']['platform_usd']} (30%)")
# Data owner checks earnings
rev = reg.get_owner_revenue("0xLawFirm")
print(f"Total earned: ${rev['total_earned_usd']:.2f}")
Revenue Split
Default 70/30 — data owner gets 70%, platform gets 30%. Configurable per capability.
License
MIT · Maintained by AI-Factory
Metadata
Release files for aimarket-data-cap 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aimarket_data_cap-2.0.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aimarket_data_cap-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / aimarket_data_cap-2.0.0.tar.gz
| Download URL | aimarket_data_cap-2.0.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61117fbd89573c1a1facfa48c4c2a1b634083a3069c46f7a0f8b5378dd36e6df
|
|
BLAKE2b-256 checksum How to use checksums |
ebe479a8917f2f481c0a62a642aa3cde90e9cb397719f6947b1c4ad553624753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / aimarket_data_cap-2.0.0-py3-none-any.whl
| Download URL | aimarket_data_cap-2.0.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95327b4e24e64086f3ead155a29e876db10e755ad659e58542c1a0ae0c45031e
|
|
BLAKE2b-256 checksum How to use checksums |
25fcdda30969d0705123e2148f8586b94fa697894910204bc7b37eee27e35fe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|