API Documentation v1.0
Automate your crypto operations with our robust REST API.
1. Authentication
All API requests must be authenticated using the x-api-key header. You can manage
your keys in Settings.
x-api-key: fly_7a2b...
HTTP Status Codes
2. Developer Tools
Postman Collection
One-click import to your local Postman app.
Quick Start Code
const axios = require('axios'); const API_KEY = 'YOUR_API_KEY'; const BASE_URL = 'https://flywl.xyz/api/v1'; async function getWallets() { try { const res = await axios.get(`${BASE_URL}/wallets`, { headers: { 'x-api-key': API_KEY } }); console.log(res.data); } catch (err) { console.error(err.response ? err.response.data : err.message); } } getWallets();
import requests API_KEY = 'YOUR_API_KEY' BASE_URL = 'https://flywl.xyz/api/v1' def get_wallets(): headers = { 'x-api-key': API_KEY } try: res = requests.get(f"{BASE_URL}/wallets", headers=headers) print(res.json()) except Exception as e: print(e) get_wallets()
3. Endpoints Reference
Wallets Management
/api/v1/wallets
Returns an array of all wallets owned by the account.
Response Example
{
"success": true,
"wallets": [
{ "address": "bc1q...", "symbol": "BTC", "label": "Main" }
]
}
/api/v1/wallets
Generate a new blockchain address.
{ "symbol": "BTC" | "LTC", "label": "string" }
Payments & Transactions
/api/v1/wallets/:addr/transactions
Retrieve recent transaction history for an address.
/api/v1/transaction/send
Broadcast a transaction to the network.
{
"fromAddress": "string",
"toAddress": "string",
"amount": number,
"subtractFee": boolean
}
Note: The
amount should be in full units (e.g., 1.5 BTC).
Network & Utilities
/api/v1/transaction/:txid
Get detailed status of a specific transaction ID (BTC).
/api/v1/market/ticker
Live crypto prices (USD/EUR) for BTC, ETH, LTC, SOL, USDT.
/api/v1/network/fees
Recommended fee rates for fast/medium confirmation.
API Explorer
- Premium: 5 req / min
- Unlimited: 120 req / min