All Products

Platform SDK

Official SDKs for building on Cosmoner in JavaScript and TypeScript, Python, and PHP. Add the client to your application and work with Cosmoner services through a consistent, language-native API.

Choose your language

Install the official package with the package manager you already use.

JavaScript / TypeScript

@datablock/sdk

npm install @datablock/sdk

Python

datablock-sdk

pip install datablock-sdk

PHP

datablock/sdk

composer require datablock/sdk

SDK features

Three Official SDKs

Use the Cosmoner client in JavaScript and TypeScript, Python, or PHP with familiar package-manager installation.

One Consistent Client

Each SDK exposes a Cosmoner client with service namespaces, giving every supported language the same clear structure.

Project Authentication

Configure the client with your API key and project ID to connect your application to the right Cosmoner project.

Email Service Support

Send email through the current email service namespace with recipients, subject, HTML content, and your email credential.

Built for Cosmoner

The SDK is developed specifically for the Cosmoner platform, so its API maps directly to Cosmoner projects and services.

Open Source

Review the implementation, contribute improvements, or adapt your integration with source code available under the MIT license.

Ready to get started?

Create your free account and deploy your first project in minutes.