← Back to Home

Marketplace API Documentation

REST API reference for the Cognitia data marketplace. All endpoints require an active business account.


Authentication

All marketplace API endpoints require authentication via a business API key. Generate one from your dashboard under Balance & API → API Key.

Request Header

Authorization: Bearer cog_biz_xxxxxxxxxxxxxxxx

Tier Pricing

TierPrice per QueryConsent RequiredData
Insights$0.01No (global enrollment)Anonymized & pseudonymized entities, signals, facts
Personalized$0.10Yes (per-user, per-PII field)Selective PII + behavioral data

Endpoints

GET/api/marketplace/preview

Public marketplace overview with provider counts, pricing, and sample outputs. No authentication required.

Authentication

None (public endpoint)

Sample Response

{ "marketplace": { "totalProviders": 142, "insightsProviders": 142, "personalizedProviders": 28, "distributions": { "entityTypes": { "person": 45, "organization": 32, "location": 28 }, "signalCategories": { "communication": 60, "browsing": 45 } } }, "pricing": { "insights": { "pricePerQuery": 0.01 }, "personalized": { "pricePerQuery": 0.1 } } }
GET/api/marketplace/discover

Discover data providers with filtering by tier, entity types, signal categories, and minimum data counts.

Authentication

Bearer cog_biz_... API key or authenticated session

Parameters

NameTypeRequiredDescription
tierstringNo"insights" or "personalized". Defaults to insights.
limitnumberNoMax results (1-100, default 20)
offsetnumberNoPagination offset (default 0)
entity_typesstringNoComma-separated entity types to filter by
signal_categoriesstringNoComma-separated signal categories to filter by
min_entity_countnumberNoMinimum entity count for providers

Sample Response

{ "success": true, "totalResults": 2, "offset": 0, "limit": 20, "providers": [ { "listingId": "uuid-1", "userId": "user-abc...", "tiers": { "insights": true, "personalized": false }, "metadata": { "entityCount": 156, "signalCount": 89, "factCount": 42, "topEntityTypes": [ "person", "organization" ], "topSignalCategories": [ "communication", "browsing" ] }, "lastUpdated": "2026-04-10T05:00:00Z" } ] }
POST/api/marketplace/aggregate-query

Run aggregate queries across all enrolled providers. Fast mode uses pre-computed metadata; Premium runs per-provider agent loops.

Authentication

Bearer cog_biz_... API key or authenticated session

Parameters

NameTypeRequiredDescription
modestringYes"fast" (free) or "premium" (billed per provider at Insights rate)
data_layerstringNoRequired for premium: "knowledge_graph", "behavioral_signals", or "temporal_facts"
max_providersnumberNoPremium only: max providers to query (default 100, max 1000)

Sample Response

{ "success": true, "mode": "fast", "totalProviders": 142, "avgEntityCount": 87, "avgSignalCount": 45, "avgFactCount": 22, "topEntityTypes": { "person": 120, "organization": 85 }, "topSignalCategories": { "communication": 95, "browsing": 70 } }
POST/api/marketplace/personalized-query

Query a specific user's data with Personalized tier access. Requires prior consent approval from the target user.

Authentication

Bearer cog_biz_... API key

Parameters

NameTypeRequiredDescription
target_user_idstringYesThe user ID to query
querystringYesNatural language query to run against the user's data
data_layerstringYes"knowledge_graph", "behavioral_signals", or "temporal_facts"

Sample Response

{ "success": true, "tier": "personalized", "transactionId": "txn-uuid", "costUsd": 0.1, "result": { "entities": [ { "name": "John Doe", "type": "person", "properties": { "email": "john@example.com", "city": "San Francisco" } } ], "piiIncluded": [ "email", "full_name", "city_region" ] } }

GET/api/marketplace/aggregate-query

Shortcut for fast-mode aggregate stats. Equivalent to POST with mode="fast".

Same authentication and response as POST with mode="fast".

Error Codes

HTTP StatusMeaning
400Invalid request parameters or missing required fields
401Missing or invalid API key / session
402Insufficient balance to complete the query
403Business account inactive or consent not granted
404Target user or listing not found
409Duplicate consent request already pending
500Internal server error

Cognitia Marketplace API v1 — Questions? Contact support or visit the Data Platform

Product

Memory LayerContext AssemblyMCP IntegrationsData PlatformFor BusinessesCompareFor Developers
Consumer-OwnedEncrypted at RestData PortableConsent-First

© 2026 Cognitia AI. All rights reserved. Your data belongs to you.