Demo

API Playground

Test DataMgmt Node API endpoints interactively

API Playground

GET/api/health
Response
Click "Send Request" to see the response
cURL
curl -X GET "/api/health"

Integration Examples

Copy these snippets to integrate DataMgmt Node in your application

Python

import requests

# Check node health
response = requests.get("https://datamgmtnode.cryptuon.com/api/health")
print(response.json())

# Share encrypted data
data = {
    "data": "sensitive information",
    "recipient": "node_id_here",
    "encrypt": True
}
response = requests.post(
    "https://datamgmtnode.cryptuon.com/api/share_data",
    json=data
)
print(response.json())

JavaScript / Node.js

// Check node health
const response = await fetch('https://datamgmtnode.cryptuon.com/api/health');
const health = await response.json();
console.log(health);

// Check token balance
const address = '0x742d35Cc6634C0532925a3b844Bc9e7595f8fE21';
const balanceRes = await fetch(
  `https://datamgmtnode.cryptuon.com/api/balance/${address}`
);
const balance = await balanceRes.json();
console.log(balance);

cURL

# Get network statistics
curl -X GET https://datamgmtnode.cryptuon.com/api/network/stats

# List connected peers
curl -X GET https://datamgmtnode.cryptuon.com/api/network/peers

# Verify data on blockchain
curl -X GET https://datamgmtnode.cryptuon.com/api/verify_data/sha256:abc123