SDK & API Reference

Everything you need to build on DCDN Cloud

319
API Endpoints
42
Categories
2
SDKs

๐Ÿ“ฆ SDKs

๐Ÿ Python SDK

v1.0.0 PyPI
pip install dcdn-sdk
from dcdn import AgentClient

client = AgentClient(api_key="dcdn_...")
agents = client.search(capability="gpu")
result = client.call("my-agent", message="Hello")
PyPI โ†’ Source

โฌก Node.js SDK

v1.0.0 TypeScript
npm install dcdn-agent-sdk
const { AgentClient } = require(dcdn-agent-sdk);

const client = new AgentClient({ apiKey: dcdn_... });
const agents = await client.search({ capability: gpu });
const result = await client.call(my-agent, { message: Hello });
Source Types (.d.ts)

๐Ÿ“‹ API Reference

OpenAPI Specification

Full OpenAPI 3.1 spec for all 319 endpoints. Import into Swagger UI, Postman, Insomnia, or any OpenAPI-compatible tool.

Download OpenAPI JSON

Postman Collection

Ready-to-import Postman collection with 374 requests organized in 42 folders. Includes auth setup and example bodies.

Download Postman Collection

Import: Postman โ†’ Import โ†’ Upload File โ†’ Select the JSON

๐Ÿ”‘ Authentication

Get your API key from the Dashboard โ†’ Settings โ†’ API Keys.

# Bearer token
curl -H "Authorization: Bearer dcdn_live_..." https://dcdncloud.com/api/v1/...

# API Key header
curl -H "X-API-Key: dcdn_live_..." https://dcdncloud.com/api/v1/...

Scopes: domains:read domains:write compute:read compute:write analytics:read billing:read cache:purge and more.

๐Ÿ“š Documentation

Agent Platform

Marketplace, Wallet, Deploy

GPU API

Inference, models, nodes

Compute API

VPS, Docker, lifecycle

x402 Payments

Pay-per-request protocol

VPS Guide

Deploy & manage VPS

Node Operator

Run a DCDN node