Access ethically-sourced, real-time user context for personalization and training. Every data point comes with verifiable consent attestation.
Stop scraping. Stop lawsuits. Start building with data users actually want you to have.
Every data point includes a cryptographically signed consent attestation. Show regulators exactly when and how users consented.
WebSocket streaming delivers fresh user context instantly. No stale data, no batch delays. Perfect for personalization.
When users revoke consent, you're notified immediately via webhook. Cryptographic enforcement ensures compliance.
Get consented user context in under 5 minutes
Embed our consent widget in your app. Users connect their ELROI account and grant you access to specific data categories.
// 1. Include the SDK
<script src="https://sdk.elroi.ai/embed.js"></script>
// 2. Initialize with your partner ID
ELROI.init({
partnerId: 'your-partner-id',
partnerName: 'Your AI Company',
scopes: ['interests', 'preferences', 'communication_style'],
onSuccess: (data) => {
console.log('User connected!', data.scopes);
}
});
// 3. Get consented context for personalization
const context = await ELROI.getContext('user_123');
// Returns: { interests, preferences, communication_style }For training data and bulk operations. Request context for multiple users at once with full consent attestation.
// Batch API for training data
curl -X POST https://api.elroi.ai/v1/b2b/batch-context \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret" \
-H "Content-Type: application/json" \
-d '{
"user_ids": ["user_1", "user_2", "user_3"],
"purpose": "personalization",
"categories": ["interests", "preferences"],
"max_signals_per_user": 6
}'
# Response includes consent attestation JWT
{
"results": [...],
"consent_proof": "eyJhbGciOiJSUzI1NiIs..."
}RESTful API with WebSocket streaming support
/b2b/partners/registerRegister as a partner
/b2b/batch-contextGet context for multiple users
/b2b/verify-consentVerify user consent status
/b2b/stream/wsReal-time context streaming
/b2b/usageView usage statistics
/b2b/webhook/registerRegister event webhooks
Get notified instantly when consent changes. HMAC-signed payloads ensure you can verify every notification came from ELROI.
consent.granted - User grants new permissionsconsent.revoked - User revokes accessconsent.updated - User modifies scopedata.deleted - User requests deletion// Register webhook for consent changes
POST /api/v1/b2b/webhook/register
{
"url": "https://your-api.com/elroi-webhook",
"events": ["consent.revoked", "consent.updated", "data.deleted"]
}
// ELROI sends signed notifications
{
"event": "consent.revoked",
"user_id": "user_123",
"timestamp": "2026-03-22T10:30:00Z",
"signature": "sha256=..."
}Pay per query. No hidden fees. Users get 70% of revenue.
All plans include: Consent attestation, GDPR compliance, webhook notifications, and 99.9% uptime SLA.
Built for regulated industries and responsible AI development
Audited security controls for enterprise requirements
Full data subject rights support, EU data residency available
California consumer privacy rights built-in
Cryptographic proof of consent for every data access
Complete data lineage and access logging
Instant propagation of deletion requests to all partners
Official SDKs for quick integration
npm i @elroi/embed-sdkBrowser widget, Node.js client, TypeScript types
pip install elroiAsync support, type hints, pandas integration
api.elroi.ai/v1OpenAPI spec, Postman collection, cURL examples
Join leading AI companies building responsibly. Get sandbox access today.
Questions? Email us at [email protected]