24 REST Endpoints + tRPC + SDKs

Build with PrivacyCore™

Enterprise-grade privacy-preserving blockchain APIs. DeFi lending, confidential payroll, and liquidity management — all with Swiss bank-level privacy.

24+

REST Endpoints

2

Official SDKs

99.9%

Uptime SLA

<100ms

Avg Latency

Get Started in 3 Steps

1

Get Your API Key

Create a free account and generate your API key instantly.

2

Install the SDK

Choose JavaScript/TypeScript or Python SDK for your project.

3

Make Your First Call

Query the DeFiCO pool, get credit scores, or manage payroll.

Privacy by Default

All API calls are encrypted end-to-end. Credit scoring uses FHE+ZK+AI hybrid computation. No borrower data is ever exposed.

JavaScript / TypeScript

bash
npm install @automalabs/privacycore-sdk
typescript
import { PrivacyCore } from "@automalabs/privacycore-sdk";

const client = new PrivacyCore({
  apiKey: "pk_live_your_key_here",
});

// Get DeFiCO pool state
const pool = await client.defico.getPoolState();
console.log(`Liquidity: $${pool.data.totalLiquidity}`);

// Privacy-preserving credit score
const credit = await client.defico.getCreditScore("borrower_001");
console.log(`Score: ${credit.data.score} (${credit.data.tier})`);
console.log(`Privacy: ${credit.data.privacyPreserved}`);

Python

bash
pip install privacycore-sdk
python
from privacycore import PrivacyCore

client = PrivacyCore(api_key="pk_live_your_key_here")

# Get DeFiCO pool state
pool = client.defico.get_pool_state()
print(f"Liquidity: ${pool['totalLiquidity']}")

# Privacy-preserving credit score
credit = client.defico.get_credit_score("borrower_001")
print(f"Score: {credit['score']} ({credit['tier']})")
print(f"Privacy: {credit['privacyPreserved']}")

Direct REST API (cURL)

bash
# Get pool state
curl -X GET https://automalabs.xyz/api/v1/defico/pool \
  -H "Authorization: Bearer pk_live_your_key_here"

# Get credit score (privacy-preserving)
curl -X GET https://automalabs.xyz/api/v1/defico/credit/borrower_001 \
  -H "Authorization: Bearer pk_live_your_key_here"

# Deposit ERC-7984 collateral (10% privacy premium!)
curl -X POST https://automalabs.xyz/api/v1/defico/collateral/deposit \
  -H "Authorization: Bearer pk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"tokenAddress":"0x2791Bca1...","amount":"10000.00","collateralType":"erc7984"}'

Built for Builders

DeFi Protocols

Integrate privacy-preserving credit scoring into your lending protocol. Support ERC-7984 confidential collateral.

AI Agents

Agent-friendly API design with structured responses. Build autonomous DeFi agents with privacy guarantees.

Institutions

Enterprise-grade APIs for confidential payroll, private lending, and compliant DeFi operations.