Developers

Build with UnifyVerse

Integrate cross-chain routing into your application with our comprehensive APIs, SDKs, and developer tools. Get started in minutes with our quickstart guide and example code.

5-Minute Quickstart

Get your first cross-chain route in just a few lines of code

Install SDK
npm install @unifyverse/sdk
Basic Usage
import { UnifyVerse } from '@unifyverse/sdk';

const client = new UnifyVerse({
  apiKey: 'your-api-key',
  environment: 'production' // or 'sandbox'
});

// Get optimal route quote
const quote = await client.routes.getQuote({
  fromToken: 'ETH',
  fromChain: 'ethereum',
  toToken: 'USDC',
  toChain: 'polygon',
  amount: '1000000000000000000', // 1 ETH in wei
  preferences: {
    priority: 'cost', // 'cost', 'speed', or 'security'
    compliance: 'eu-aligned',
    carbonAware: true
  }
});

// Execute the route
const transaction = await client.routes.execute({
  routeId: quote.routeId,
  userAddress: '0x...',
  slippage: 0.5 // 0.5%
});

console.log('Transaction hash:', transaction.txHash);

SDKs & Libraries

Choose your preferred programming language and get started quickly

JavaScript/TypeScript

Full-featured SDK for Node.js and browser environments

npm install @unifyverse/sdk
View Documentation
Python

Python SDK for backend integrations and data analysis

pip install unifyverse-python
View Documentation
Go

High-performance Go SDK for enterprise applications

go get github.com/unifyverse/go-sdk
View Documentation
REST API

Direct HTTP API access for any programming language

curl -X GET https://api.unifyverse.com/v1/routes
View Documentation

API Reference

Complete REST API documentation with endpoints and parameters

POST/v1/routes/quote

Get optimal route quote for cross-chain swap

Parameters:

fromTokentoTokenamountpreferences
POST/v1/routes/execute

Execute a cross-chain swap transaction

Parameters:

routeIduserAddressslippage
GET/v1/routes/status/{txId}

Check transaction status and progress

Parameters:

txId
GET/v1/chains

List all supported blockchain networks

GET/v1/tokens

Get supported tokens for a specific chain

Parameters:

chainId

Sandbox Environment

Test your integration safely with our sandbox environment and testnet support

Testnet Support
  • Ethereum Goerli & Sepolia
  • Polygon Mumbai
  • BSC Testnet
  • Avalanche Fuji
Rate Limits
  • Sandbox: 100 requests/minute
  • Production Free: 1,000 requests/hour
  • Production Pro: 10,000 requests/hour
  • Enterprise: Custom limits

Ready to start building?

Get your API key and start integrating UnifyVerse into your application today. Free tier includes 1,000 requests per hour.

Need help getting started?

Our developer support team is here to help you integrate successfully.

Contact Developer Support
Built with v0