Token Tact API – Developer’s Integration Guide
1️⃣ Introduction
Welcome to Token Tact! Our API allows you to build automated trading strategies, place orders, manage bots, and retrieve market data efficiently and securely.
2️⃣ Authentication & Security
For every API call, include these headers:
Authorization: Bearer <your API token>
Content-Type: application/json
- Enable 2FA on your Token Tact account.
- Rotate API keys regularly.
- Use IP whitelisting to secure access.
3️⃣ Core API Endpoints
- GET /v1/bot/status – Retrieve the bot’s live status.
- POST /v1/order/create – Place buy or sell orders.
- GET /v1/order/status – Check the status of your orders.
- POST /v1/bot/start – Start your trading bot.
- POST /v1/bot/stop – Pause the trading bot.
- GET /v1/account/balance – Check account balances.
- GET /v1/market/ticker – Access live market data.
4️⃣ Example Order Request
{
"pair": "BTC/USDT",
"type": "buy",
"amount": 0.1,
"price": 29500
}
5️⃣ How to Manage Bots via API
Managing your trading bots programmatically is straightforward. Here’s a quick overview of how to start, stop, and monitor your bot’s status using the API:
🔹 Start Bot (Python)
import requests
API_TOKEN = 'YOUR_API_TOKEN'
headers = {
'Authorization': f'Bearer {API_TOKEN}',
'Content-Type': 'application/json'
}
response = requests.post('https://api.token-tact.org/v1/bot/start', headers=headers)
print(response.json())
🔹 Stop Bot (Python)
response = requests.post('https://api.token-tact.org/v1/bot/stop', headers=headers)
print(response.json())
🔹 Check Bot Status (Node.js)
const axios = require('axios');
const API_TOKEN = 'YOUR_API_TOKEN';
const headers = {
'Authorization': `Bearer ${API_TOKEN}`,
'Content-Type': 'application/json'
};
axios.get('https://api.token-tact.org/v1/bot/status', { headers })
.then(response => console.log(response.data))
.catch(error => console.error(error));
💡 Pro Tip: Always monitor your bot’s status before placing new orders to avoid conflicts and ensure smooth trading operations.
6️⃣ Supported Trading Pairs
Pair | Minimum Order | Leverage |
---|---|---|
BTC/USDT | 0.001 | 10x |
ETH/USDT | 0.01 | 10x |
BNB/USDT | 0.1 | 5x |
7️⃣ Bot Control Commands Table
Command | Endpoint | Description |
---|---|---|
Start Bot | POST /v1/bot/start | Activates automated trading |
Stop Bot | POST /v1/bot/stop | Pauses trading bot activity |
Check Status | GET /v1/bot/status | Retrieve current bot status |
8️⃣ FAQs
Question | Answer |
---|---|
Minimum deposit? | $250 |
Mobile app? | Use any browser on mobile devices |
Is there a demo mode? | Yes, you can test with simulation mode |
📞 Support
For any questions, please contact:
- Email: support@token-tact.org
Automate your trading success with Token Tact today!