DEVELOPER PLATFORM & APIS
Integrate DPR Trust Rails into Your Marketplace or Pipeline
Comprehensive REST APIs, TypeScript/Python SDKs, Local Engine CLI tools, and event-driven webhooks.
1. Quickstart: Register a Product Programmaticallynpm install @dpr/sdk
import { DPRClient } from '@dpr/sdk';
// Initialize client with your developer key
const dpr = new DPRClient({ apiKey: process.env.DPR_API_KEY });
// Register digital product asset
const product = await dpr.products.register({
title: 'Enterprise Microservice Template',
productType: 'SOURCE_CODE',
version: '1.0.0',
artifactUrl: 'https://storage.acme.dev/releases/v1.0.0.tar.gz',
protectionProfile: 'DPR_CODE_RECOMMENDED'
});
console.log('Registered DPR ID:', product.publicProductId);
// Result: "DPR-PROD-9812A"Core REST Endpoints
POST/v1/products
Register a new product and generate canonical fingerprint invariants.
POST/v1/distributions/personalize
Generate a personalized attributable download for a licensed buyer.
POST/v1/verify
Upload an unknown artifact to recover base product and distribution signals.
GET/v1/trust/{entityId}
Retrieve public trust tier and verified transaction history.
Ready to manage API keys and webhooks?
Explore the Developer Hub in the DPR Workspace.