UNICO Developer Platform

Build the future of decentralized finance with UNICO's comprehensive blockchain ecosystem. Access token creation, exchange infrastructure, market data, AI bots, and more.

Blockchain Trading APIs AI Powered Real Utility

Whitelabel Access & Pricing

Choose Your Developer Plan

Select the best fit for your needs. Premium plans unlock full access and exclusive features.

Premium API Available
Developer
£199/mo
  • Sandbox & limited mainnet
  • Token creation
  • Limited AI bots
Starter
Startup
£1,000/mo
  • Mainnet API
  • AI bots enabled
  • Alpha Exchange
Growth
Business
£3,999/mo
  • Full API access
  • Cards & whitelabel
  • Sports & lottery
Pro
Enterprise
£18,500/mo
  • Unlimited API
  • Dedicated backend
  • Banking partner
Enterprise
All plans include 24/7 support and instant onboarding.
Token Creation

Deploy coins and liquidity pools

Alpha Exchange

Live charts and trading insights

AI Bots

Crypto and sports trading bots

Sports Exchange

Full sports betting platform

Lottery Systems

Integrated lottery infrastructure

Unico Card

Card ordering and management

Order Unico Card

Order a physical Unico card for the authenticated user with crypto payment integration.

Standard

Basic features for everyday use

Premium

Enhanced limits and rewards

Business

Corporate features and analytics

Order Card API

Create a new Unico card order for the authenticated user.

POST /api/v1/cards/unico/order
Requires Authentication

Creates a new order for a Unico card

Request Headers
Authorization Bearer {access_token}
Content-Type application/json
Request Body Parameters
userId Required: User ID
cardType Required: standard/premium/business
deliveryAddress Required: Address object
personalInfo Required: Personal details object
curl -X POST https://api/v1/cards/unico/order \
                -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
                -H "Content-Type: application/json" \
                -d '{
                    "userId": "user123",
                    "cardType": "premium",
                    "deliveryAddress": {
                        "street": "123 Main Street",
                        "city": "New York",
                        "state": "NY",
                        "zipCode": "10001",
                        "country": "US"
                    },
                    "personalInfo": {
                        "firstName": "John",
                        "lastName": "Doe",
                        "dateOfBirth": "1990-01-15",
                        "phoneNumber": "+1234567890"
                    }
                }'
Success Response (200 OK)
{
                "orderId": "ORD-2024-001234",
                "status": "pending",
                "cardId": "CARD-XXXX-XXXX-1234",
                "estimatedDelivery": "2024-02-15",
                "createdAt": "2024-01-15T10:30:00Z"
            }
Error Responses
400 Bad Request

Invalid request parameters

401 Unauthorized

Missing or invalid token

409 Conflict

Active card order exists

500 Internal Server Error

Server processing error

Rate Limit
5 requests/hour
Scope
Per User
Processing Time
3-5 business days
Delivery
7-14 days

Create & Manage New Coins

Create New Coin

POST /api/coins/create
Requires Authentication
curl -X POST https://api.unico.network/api/coins/create \
    -F "creator_id=1" \
    -F "name=Alpha Coin" \
    -F "symbol=ALPHA" \
    -F "total_supply=1000000" \
    -F "initial_usd=500" \
    -F "initial_coin=100000" \
    -F "logo=@logo.png"

List User Coins

Retrieve all coins associated with a user account, including balance and price data.

GET /api/coins/my-coins
{
    "status": "success",
    "coins": [
        {
            "symbol": "ALPHA",
            "price": 0.005,
            "user_balance": 1200,
            "price_change": {
                "1m": 0.2,
                "15m": 1.5,
                "1h": 4.2,
                "24h": 12.8
            }
        }
    ]
}

Spot Trading

Execute buy and sell orders on the UNICO exchange with real-time execution.

POST /api/market/trade
curl -X POST https://api.unico.network/api/market/trade \
    -H "Content-Type: application/json" \
    -d '{"coin_id":3,"action":"buy","amount":100}'

Market Data & Charts

Access live market data, historical charts, and price analytics for all UNICO Hub coins.

GET /api/market/data?interval=15m
Intervals
1m - 24h
Data Points
OHLCV
Update Rate
Real-time
Format
JSON

AI Trading Bots

Leverage advanced AI algorithms for automated trading strategies across crypto and sports markets.

Crypto Trading Bots
  • ✓ Market making strategies
  • ✓ Arbitrage detection
  • ✓ Trend following algorithms
  • ✓ Risk management tools
Sports Prediction Bots
  • ✓ AI-powered predictions
  • ✓ Live odds analysis
  • ✓ Automated bet placement
  • ✓ Portfolio optimization

Bot Management API

Create, configure, and manage trading bots programmatically.

GET /api/bots/list
Requires Authentication

Retrieve all bots for authenticated user

{
    "status": "success",
    "bots": [
        {
            "id": 1,
            "name": "Alpha Bot",
            "type": "crypto",
            "buy_threshold": -2.5,
            "sell_threshold": 5.0,
            "status": "active"
        }
    ]
}
POST /api/bots/update
Requires Authentication

Update bot thresholds and configuration

curl -X POST https://api.unico.network/api/bots/update \
    -H "Content-Type: application/json" \
    -d '{
        "bot_id": 1,
        "buy_threshold": -2.5,
        "sell_threshold": 5.0
    }'

Sports Bot API

Access AI-powered sports predictions, live tips, and betting insights through our sports bot API.

Pregame Tips

Get AI predictions for upcoming matches before they start.

POST /api/sports-bot
Requires Authentication

Request pregame predictions

curl -X POST https://api.unico.network/api/sports-bot \
    -H "Content-Type: application/x-www-form-urlencoded" \
    -d "message=pregame tips"
{
    "response": "<h2>Pregame Tips:</h2>...",
    "predictions": [
        {
            "eventName": "Manchester United vs Liverpool",
            "runnerName": "Manchester United",
            "backValue": 1.35,
            "layValue": 1.37
        }
    ]
}

Live Tips

Get real-time predictions for matches currently in progress.

POST /api/sports-bot
Requires Authentication

Request live match predictions

curl -X POST https://api.unico.network/api/sports-bot \
    -H "Content-Type: application/x-www-form-urlencoded" \
    -d "message=live tips"

Available Commands

pregame tips

Upcoming match predictions

live tips

Live match predictions

Prediction Criteria

Back Range
1.1 - 1.43
Lay Range
1.12 - 1.45
Min Matched
1000+
Sport
Football

AI Chat Integration

Send custom queries to the sports bot powered by GPT-3.5-turbo.

POST /api/sports-bot
curl -X POST https://api.unico.network/api/sports-bot \
    -H "Content-Type: application/x-www-form-urlencoded" \
    -d "message=your custom question"

Sports Betting Bot API

Automate sports betting with our advanced bot API. Scan markets, analyze odds, and place bets programmatically across horse racing and football events.

Start Bot & Scan Markets

Initialize the betting bot to scan upcoming events and identify optimal betting opportunities.

GET /api/betting-bot?action=start
Requires Authentication

Scan markets and return betting opportunities

Query Parameters
timeBeforeStart Minutes before event (default: 10)
stakePercentage Stake % of balance (default: 1)
ratePercentage Rate adjustment % (default: 1)
sport Sport type: 'horse' or 'football'
curl -X GET "https://api.unico.network/api/betting-bot?action=start&timeBeforeStart=10&stakePercentage=1&ratePercentage=1&sport=horse" \
    -H "Authorization: Bearer YOUR_API_TOKEN"
[
    {
        "marketId": "1.234567890",
        "marketStartTime": "2024-01-15T14:30:00.000Z",
        "eventName": "Ascot 14:30",
        "selectionId": "12345678",
        "runnerName": "Thunder Storm",
        "lowestBdatlValue": 2.5,
        "lowestBdatbValue": 2.52
    }
]

Place Bets

Execute automated bets on selected markets based on bot analysis.

curl -X POST "https://api.unico.network/api/betting-bot?action=place_bets" \
                -H "Authorization: Bearer YOUR_API_TOKEN" \
                -H "Content-Type: application/json" \
                -d '[
                    {
                        "marketId": "1.234567890",
                        "selectionId": "12345678",
                        "stakePercentage": 1.0,
                        "ratePercentage": 1.0
                    }
                ]'
{
                "success": true,
                "results": [
                    {
                        "marketId": "1.234567890",
                        "result": {
                            "status": "placed",
                            "betId": "987654321"
                        }
                    }
                ]
            }

Stop Bot

Safely stop the betting bot and cease all automated activities.

GET /api/betting-bot?action=stop
Requires Authentication

Stop bot operations

curl -X GET "https://api.unico.network/api/betting-bot?action=stop" \
                -H "Authorization: Bearer YOUR_API_TOKEN"
{
                "success": true,
                "message": "Bot stopped successfully."
            }

Bot Capabilities

Market Scanning
  • ✓ Multi-page event scanning (up to 10 pages)
  • ✓ Real-time odds analysis
  • ✓ Lowest back/lay value detection
  • ✓ Event timing filters
Bet Execution
  • ✓ Automated bet placement
  • ✓ Configurable stake percentages
  • ✓ Rate adjustment controls
  • ✓ Batch bet processing
Sports Supported
Horse Racing, Football
Scan Pages
10 Pages/Request
Data Source
Betfair Integration
Response Format
JSON

🏆 Sports Exchange Live Data

Access real-time sports exchange data via WebSocket connections. Stream live odds, market updates, and event information for various sports.

WebSocket Connection

Establish a persistent WebSocket connection to receive real-time market updates.

WS wss://www.unicobet.co.uk/websocket
Persistent Connection

WebSocket endpoint for live sports data streaming

const socketUrl = 'wss://www.unicobet.co.uk/websocket';
            let socket = null;

            function createSocketConnection() {
                if (!socket || socket.readyState !== WebSocket.OPEN) {
                    socket = new WebSocket(socketUrl);

                    socket.addEventListener('open', function (event) {
                        console.log('WebSocket connection established');
                    });

                    socket.addEventListener('error', function (event) {
                        console.error('WebSocket error:', event);
                        setTimeout(createSocketConnection, 3000);
                    });

                    socket.addEventListener('close', function (event) {
                        console.log('WebSocket connection closed');
                        setTimeout(createSocketConnection, 3000);
                    });
                }
                return socket;
            }

Request Market Data

Send a message to subscribe to live market updates for a specific sport and page.

Message Parameters
action Value: 'market'
sport Sport type (e.g., 'basketball', 'football')
page Page number for pagination
function sendWebSocketMessage(sport, page) {
                if (!socket || socket.readyState !== WebSocket.OPEN) {
                    socket = createSocketConnection();
                    socket.addEventListener('open', function() {
                        const message = {
                            action: 'market',
                            sport: sport,
                            page: page
                        };
                        socket.send(JSON.stringify(message));
                    });
                } else {
                    const message = {
                        action: 'market',
                        sport: sport,
                        page: page
                    };
                    socket.send(JSON.stringify(message));
                }
            }

            // Example: Subscribe to basketball markets, page 1
            sendWebSocketMessage('basketball', 1);

Receive Live Updates

Listen for incoming messages containing real-time market data and odds updates.

socket.addEventListener('message', function (event) {
                const data = JSON.parse(event.data);
                console.log('Received market update:', data);
                
                // Update your UI with the live data
                updateUI(data);
            });

Fallback HTTP Endpoint

Fetch initial data or fallback to HTTP when WebSocket is unavailable.

GET /BETFAIR/eventsInfo/{sport}/page{number}.json
HTTP Fallback

Retrieve market data via HTTP request

function fetchData(sport, page) {
                fetch(`https://www.unicobet.co.uk/BETFAIR/eventsInfo/${sport}/page${page}.json`)
                    .then(response => {
                        if (!response.ok) {
                            throw new Error('Failed to fetch data');
                        }
                        return response.json();
                    })
                    .then(data => {
                        updateUI(data);
                    })
                    .catch(error => {
                        console.error('Error fetching data:', error);
                    });
            }

Supported Sports

🏀
Basketball
Football
🏈
American Football
🎾
Tennis
Technical Details
Protocol
WebSocket (WSS)
Reconnection
Auto (3s delay)
Data Format
JSON
Update Frequency
Real-time

🌐 Marketplace & Website Creation

Create your free business website and publish it on the UNICO Marketplace with integrated crypto payment solutions.

🏪
Free Websites

Create and publish business sites instantly

💳
Crypto Payments

Accept cryptocurrency payments

📱
Telegram Alerts

Real-time notifications via bot

🌍
Global Reach

Multi-country marketplace

Create Business Listing

Register your business on the UNICO Marketplace with crypto payment integration.

POST /api/marketplace/create
Requires Authentication

Create new business listing with crypto wallet

Form Parameters
name Business name
description Business description
contact Contact information
logo Logo image file
wallet_address Crypto wallet address
country Business country
telegram_chat_id Telegram notification ID
curl -X POST https://api.unico.network/api/marketplace/create \
    -H "Authorization: Bearer YOUR_API_TOKEN" \
    -F "name=My Business" \
    -F "description=Quality products and services" \
    -F "contact=contact@mybusiness.com" \
    -F "logo=@logo.png" \
    -F "wallet_address=0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" \
    -F "country=United States" \
    -F "telegram_chat_id=123456789"
{
    "status": "success",
    "message": "Business created successfully",
    "business": {
        "id": 1,
        "name": "My Business",
        "website_url": "https://marketplace.unico.network/business/my-business",
        "wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
    }
}

Telegram Chat ID Setup

Automatically retrieve your Telegram Chat ID for real-time payment notifications.

Setup Steps
  1. Open Telegram and search for @Aiunicoin_Bot
  2. Send the command /start to the bot
  3. Your Chat ID will be automatically captured
  4. Return to the form and click "Get Chat ID"
GET /api/marketplace/get-chat-id
Requires Authentication

Retrieve latest Telegram Chat ID

function getTelegramChatID() {
    window.open('https://t.me/Aiunicoin_Bot?start=getid', '_blank');
    
    setTimeout(() => {
        fetch("https://api.unico.network/api/marketplace/get-chat-id")
        .then(response => response.json())
        .then(data => {
            if (data.chat_id) {
                document.getElementById('telegram_chat_id').value = data.chat_id;
            }
        });
    }, 5000);
}

Crypto Payment Integration

Integrate Web3 wallet connections for seamless cryptocurrency payments.

Supported Features
  • ✓ MetaMask wallet integration
  • ✓ Multi-chain support (Ethereum, BSC, Polygon)
  • ✓ Real-time payment verification
  • ✓ Telegram payment notifications
<!-- Include Web3.js -->
<script src="https://cdn.jsdelivr.net/npm/web3@1.6.1/dist/web3.min.js"></script>

<script>
async function connectWallet() {
    if (typeof window.ethereum !== 'undefined') {
        try {
            const accounts = await window.ethereum.request({ 
                method: 'eth_requestAccounts' 
            });
            const walletAddress = accounts[0];
            document.getElementById('wallet_address').value = walletAddress;
        } catch (error) {
            console.error('User rejected connection');
        }
    } else {
        alert('Please install MetaMask');
    }
}
</script>

Business Dashboard

Manage your listings, view analytics, and track payments.

GET /api/marketplace/dashboard
Requires Authentication

Access business analytics and payment history

{
    "status": "success",
    "businesses": [
        {
            "id": 1,
            "name": "My Business",
            "views": 1250,
            "payments_received": 45,
            "total_revenue_usd": 2850.00,
            "active_listings": 12
        }
    ]
}
Marketplace Specifications
Cost
100% Free
Payment Methods
Crypto Only
Setup Time
< 5 minutes
Notifications
Telegram Bot

⚡ Futures Trading API

🔗 Ethereum Blockchain Monitor

Monitor Ethereum blockchain in real-time. Track transactions, blocks, gas prices, and network status.

Block Monitoring
  • ✓ Real-time block updates
  • ✓ Block details and transactions
  • ✓ Gas price tracking
  • ✓ Network difficulty metrics
Transaction Tracking
  • ✓ Transaction confirmations
  • ✓ Smart contract interactions
  • ✓ Event logs and receipts
  • ✓ Transaction status alerts
GET /api/ethereum/latest-block
{
    "status": "success",
    "block": {
        "number": 18500000,
        "hash": "0x1234...",
        "timestamp": 1704067200,
        "transactions": 150,
        "gasUsed": "15000000",
        "gasLimit": "30000000"
    }
}

👛 Wallet Monitor API

Track Ethereum wallet activities, balances, and transaction history in real-time.

GET /api/wallet/balance/{address}
Requires Authentication

Get wallet balance and token holdings

{
    "status": "success",
    "wallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "ethBalance": "5.432",
    "tokens": [
        {
            "symbol": "USDT",
            "balance": "1000.50",
            "usdValue": 1000.50
        }
    ]
}
POST /api/wallet/watch
Requires Authentication

Start monitoring a wallet address

curl -X POST https://api.unico.network/api/wallet/watch \
    -H "Content-Type: application/json" \
    -d '{"address":"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb","notify":true}'

📱 Telegram Bot Integration

Receive instant notifications and interact with UNICO platform via Telegram bot.

Alert System
  • ✓ Price alerts and notifications
  • ✓ Wallet transaction alerts
  • ✓ Trading bot status updates
  • ✓ Custom trigger conditions
Commands
  • /balance - Check your balance
  • /price [coin] - Get coin price
  • /alerts - Manage alerts
  • /wallet [address] - Monitor wallet
POST /api/telegram/configure
Requires Authentication

Configure Telegram bot notifications

curl -X POST https://api.unico.network/api/telegram/configure \
    -H "Content-Type: application/json" \
    -d '{"chatId":"123456789","alerts":["price","wallet","trading"]}'