Skip to main content

API Introduction

The Unipay API provides programmatic access to privacy-enhanced Solana transactions. Build applications that can send, swap, and distribute tokens with graph-break privacy protection.

Base URL

Authentication

All API requests require authentication using API keys:

Rate Limits

Rate limit headers are included in all responses:

Supported Assets

Privacy Modes

Wallet Mode

Direct transactions signed by user’s wallet:
  • Lower fees (network only)
  • Faster execution
  • Direct on-chain link visible

Private Mode

Privacy-enhanced routing through ephemeral addresses:
  • Higher fees (network + routing)
  • Slower execution (30-120 seconds)
  • Graph-break privacy protection

Error Handling

All errors return JSON with consistent structure:

Common Error Codes

SDKs and Libraries

TypeScript/JavaScript

Python

Webhooks

Subscribe to transaction status updates:

Webhook Events

Next Steps

Get Quote

Get pricing for swaps and transfers

Create Transaction

Submit transactions for processing