Tradeloop API Documentation

Upload CSV files for automated DPP validation

This is the simplified way to upload and validate DPPs using CSV files

Looking for the full API documentation?

Complete DID API v3 reference with all endpoints, code examples, and technical details.

Full API Docs

How It Works

Simple 3-step process to upload and validate your DPPs

1

Upload CSV File

Click the Upload DPPs button and select your CSV, JSON, or Excel file containing product information

2

Automatic QA Validation

Our QA agent automatically runs 10 comprehensive tests in the background, validating your data against ISO 20435 standards

3

View Results

Get instant feedback with detailed test results, pass/fail status, and validation summary

CSV File Format

Required columns and data structure for your DPP uploads

Required Columns

  • manufacturer - Product manufacturer name (e.g., “NVIDIA”, “Apple”, “Dell”)
  • partNumber - Manufacturer part number (e.g., “DGXA100-QA-TEST”)
  • serialNumber - Unique serial number for the product

CSV Example

manufacturer,partNumber,serialNumber
NVIDIA,DGXA100-QA-TEST,SN-001234567
Apple,iPhone15Pro,IMEI-987654321
Dell,XPS-15-9520,SVC-TAG-ABC123
HP,EliteBook-840,PROD-456789
Lenovo,ThinkPad-X1,SER-789012

Automatic QA Validation

10 comprehensive tests run automatically in the background

1

Compute Hash Tree

Generates cryptographic hash and DID for each product

2

Verify Hash Tree

Validates hash tree integrity against data objects

3

Register Single DID

Creates individual DID in the system

4

Register Batch DIDs

Bulk DID creation (tests with 3 DIDs)

5

Resolve DID

Retrieves DID document and metadata

6

Update DID

Skipped (requires full hashTree computation flow)

7

Deactivate DID

Marks DID as inactive while maintaining history

8

Verify 410 Gone

Confirms deactivated DIDs return proper 410 status

9

File Upload

Tests file upload to Supabase storage

10

Error Handling

Validates proper 400/404 error responses

Note: All tests run natively in TypeScript - no external services required! Tests typically complete in under 60 seconds.

What You'll Receive

After upload, you'll see a comprehensive summary including:

10

Total Tests

9

Passed

0

Failed

1

Skipped