0xMetro

🤖 API Keys

← Back to Trading

🔑 Create New API Key

Security rules: The secret is shown ONCE at creation — copy it immediately.
API keys can read balances and place/cancel orders only. Withdrawals are ALWAYS blocked via API.
Use IP whitelist for maximum security. Max 10 active keys. Rate limit: 120 req/min per key.

📋 My API Keys

LABELAPI KEYPERMISSIONSIP WHITELISTLAST USEDEXPIRESSTATUSACTIONS
Loading...

📖 How to use (Bot Integration)

curl -H "X-API-KEY: YOUR_API_KEY" \
     -H "X-API-SECRET: YOUR_SECRET" \
     "https://YOUR_DOMAIN/crypto_exchange/api/get_balance.php"
curl -X POST \
     -H "X-API-KEY: YOUR_API_KEY" \
     -H "X-API-SECRET: YOUR_SECRET" \
     -H "Content-Type: application/json" \
     -d '{"pair":"GPM-USDT","side":"buy","type":"limit","price":0.5,"quantity":10}' \
     "https://YOUR_DOMAIN/crypto_exchange/api/create_order.php"
# Python
import requests
H = {"X-API-KEY": "YOUR_API_KEY", "X-API-SECRET": "YOUR_SECRET"}
BASE = "https://YOUR_DOMAIN/crypto_exchange/api"
print(requests.get(BASE + "/get_balance.php", headers=H).json())
print(requests.post(BASE + "/create_order.php", headers=H,
      json={"pair":"GPM-USDT","side":"buy","type":"limit","price":0.5,"quantity":10}).json())