API Version 2.0 • Now Available

Build the future of crypto investing

Integrate powerful cryptocurrency investment solutions into your applications with our comprehensive RESTful API. Enable seamless investments, KYC verification, and crypto withdrawals.

20+
API Endpoints
99.9%
Uptime SLA
<200ms
Response Time
24/7
Support

Get started in minutes

Simple integration process with comprehensive documentation and examples for every endpoint.

1

Get your API credentials

Contact our partnership team to receive your API token and access credentials for the sandbox environment.

2

Authenticate your application

Use the X-API-TOKEN header for endpoint access and Bearer tokens for authenticated user operations.

3

Start building

Explore our comprehensive API endpoints for user authentication, KYC verification, pool management, and withdrawals.

Quick Start Example
// Initialize API client
const coinstancy = new CoinstancyAPI({
  baseURL: 'https://app.coinstancy.com/api/v2/minipay',
  apiToken: 'your_api_token_here'
});

// Check wallet and authenticate user
const walletCheck = await coinstancy.auth.checkWallet({
  wallet_address: '0x742d35Cc6641C1532...'
});

if (walletCheck.wallet_known) {
  // User exists, verify PIN
  const auth = await coinstancy.auth.verifyPIN({
    wallet_address: '0x742d35Cc6641C1532...',
    pin: '1234'
  });

  console.log('User authenticated:', auth.user);
} else {
  // Register new user
  const newUser = await coinstancy.auth.register({
    wallet_address: '0x742d35Cc6641C1532...',
    email: '[email protected]',
    first_name: 'John',
    last_name: 'Doe',
    password: 'secure_password',
    pin: '1234'
  });
}

// Get available investment pools
const pools = await coinstancy.pools.getStablePools();
console.log('Available pools:', pools);

Everything you need to build

Comprehensive cryptocurrency investment capabilities with enterprise-grade security and reliability.

Secure Authentication

Multi-layer authentication with wallet integration, PIN verification, and JWT tokens. Built-in protection against brute force attacks and secure session management.

  • Wallet address verification
  • 4-digit PIN security
  • JWT token management

Investment Pools

Access to stable cryptocurrency investment pools with competitive APY rates. Real-time portfolio tracking and compound interest calculations.

  • USDT stable pools
  • Real-time APY tracking
  • Portfolio analytics

Seamless Withdrawals

Automated withdrawal processing to Celo blockchain with transparent fee structure. Complete transaction history and status tracking.

  • Celo blockchain support
  • 1% transparent fees
  • Real-time status updates
RESTful API v2.0

Built for modern developers

Our API follows REST principles and provides predictable URLs, accepts JSON requests, returns JSON responses, and uses standard HTTP response codes for all operations.

OpenAPI 3.0 Specification

Complete API specification with detailed schemas, examples, and interactive documentation.

Comprehensive Error Handling

Detailed error responses with clear messages and suggested resolutions for debugging.

Rate Limiting & Security

Built-in rate limiting, request validation, and security headers for production use.

API Response Example
POST /api/v2/minipay/pools/1/invest
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
X-API-TOKEN: Secret_Token_for_MiniPay_API
Content-Type: application/json

{
  "amount": 500.00,
  "transaction_hash": "0x742d35Cc6641C1532e5B72aa..."
}

→ Response (200 OK)
{
  "success": true,
  "message": "Investment recorded successfully",
  "investment": {
    "pool_id": 1,
    "amount": 500.00,
    "currency": "USDT",
    "total_amount": 1750.00,
    "apy_rate": 12.5,
    "estimated_monthly_return": 18.23
  },
  "transaction_info": {
    "recipient_address": "0xA0b86a33E6776...",
    "blockchain": "celo",
    "network_fee": "0.002 CELO",
    "confirmation_time": "~30 seconds"
  }
}
Partnership Program

Ready to integrate crypto investing?

Join our partner ecosystem and offer cryptocurrency investment solutions to your users. Get access to dedicated technical support, custom integrations, and revenue sharing opportunities.