Skip to main content

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 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aimarket-data-cap 3.0.0
File Size Uploaded
aimarket_data_cap-3.0.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aimarket-data-cap 3.0.0
File Interpreter ABI Platform
aimarket_data_cap-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / aimarket_data_cap-3.0.0.tar.gz

Download URL aimarket_data_cap-3.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
133c54fdf40bbd5b42bf8690372361a156f79ec0c99d0903a1a85e5be8e8fbac
BLAKE2b-256 checksum
How to use checksums
5692f23bc5b8494e28750a52b5f32785d68c8eb722c950742557f004cdff8ccc
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-3.0.0-py3-none-any.whl

Download URL aimarket_data_cap-3.0.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec57bdec6ec705efcd43b010a78f984613f8669224fb6c315341db774f59930f
BLAKE2b-256 checksum
How to use checksums
6ab3dcab7a9e8e47f76ca0dfe1396d238795c64a0b81d94e0b5c3dfdfe42f575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page