API Documentation

API Documentation

Authentication

// API Key required for all endpoints
headers: {
  'X-API-Key': 'your-api-key',
  'Content-Type': 'application/json'
}

Core Endpoints

Create Token Validation

POST /api/v1/validate { "platform": "twitter", "content": "Launch $MOON - To the moon! @launchium", "user_id": "twitter_user_id" }

Get Token Info

GET /api/v1/token/{token_address}

Response: { "address": "...", "name": "Moon Token", "symbol": "MOON", "market_cap": 75000, "holders": 150, "volume_24h": 25000, "creator": "...", "created_at": "2025-07-10T10:00:00Z" }

Creator Statistics

GET /api/v1/creator/{wallet_address}

Response: { "total_tokens": 5, "successful_tokens": 3, "total_fees_earned": 150.5, "total_volume": 500000 }

WebSocket Events

// Connect to real-time updates const ws = new WebSocket('wss://api.launchium.app/v1/stream');

// Subscribe to events ws.send(JSON.stringify({ type: 'subscribe', channels: ['new_tokens', 'price_updates', 'migrations'] }));

// Receive updates ws.on('message', (data) => { const event = JSON.parse(data); console.log(event); });

Rate Limits

  • Public endpoints: 100 requests/minute

  • Authenticated: 1000 requests/minute

  • WebSocket: 100 messages/minute

## **14. SDK & Integration**

```markdown
# SDK & Integration

## JavaScript/TypeScript SDK

### Installation
```bash
npm install @launchium/sdk
# or
yarn add @launchium/sdk

Last updated