logoFuguSwap

API Documentation

Complete guide to integrate FuguSwap API into your platform. Fast, reliable cryptocurrency exchange with competitive rates.

Quick Start

Base URL

https://api.fuguswap.com

Authentication

All requests require an API key in the header:

api-key: your_api_key_here
GET

/api/crypto

Get detailed information about all available cryptocurrencies

Parameters

coinFilter by cryptocurrency (optional)
order_bySort by market_cap or created (optional)
pagePage number (optional)
sizeItems per page (optional)

Response

{
  "items": [
    {
      "id": "uuid",
      "name": "Bitcoin",
      "short_name": "BTC",
      "icon": "https://...",
      "is_active": true,
      "is_memo": false,
      "is_deposit": true,
      "is_withdraw": true,
      "deposit_networks": [...],
      "withdraw_networks": [...]
    }
  ],
  "total": 100,
  "page": 1,
  "size": 50
}
GET

/api/crypto/limits

Get deposit limits for cryptocurrencies

Parameters

coinFilter by cryptocurrency (optional)
order_bySort order (optional)

Response

{
  "items": [
    {
      "id": "uuid",
      "name": "Bitcoin",
      "short_name": "BTC",
      "min_deposit": 0.02,
      "max_deposit": 10
    }
  ]
}
GET

/api/price

Get exchange rate for cryptocurrency conversion

Parameters

amountAmount to convert (required)
type"fixed" or "variable" (required)
fromSource crypto (required)
toTarget crypto (required)
from_networkSource network (optional)
to_networkTarget network (optional)

Response

{
  "price": 25.0,
  "min_deposit": 0.01,
  "max_deposit": 100.0
}
POST

/api/order

Create a new exchange order

Request Body

{
  "type": "fixed",
  "from": "BTC",
  "to": "ETH",
  "amount_received": 0.1,
  "deposit_network": "MainNet",
  "withdraw_network": "ERC20",
  "receiving_address": "0x...",
  "destination_tag": "123456"
}

Response

{
  "id": "uuid",
  "type": "fixed",
  "from": {...},
  "to": {...},
  "wallet": {
    "address": "...",
    "qr_code": "..."
  },
  "amount_received": 0.1,
  "amount_sent": 2.5,
  "rate": 25.0,
  "status": "pending"
}
GET

/api/order/{order_id}

Get order details by ID

Parameters

order_idOrder UUID (path parameter)

Response

{
  "id": "uuid",
  "type": "fixed",
  "crypto_received": {...},
  "crypto_sent": {...},
  "amount_received": 0.1,
  "amount_sent": 2.5,
  "rate": 25.0,
  "status": "completed",
  "created": "2023-06-20T12:34:56.789Z"
}
GET

/api/network

Get information about available networks

Parameters

nameFilter by network name (optional)
pagePage number (optional)
sizeItems per page (optional)

Response

{
  "items": [
    {
      "id": "uuid",
      "name": "MainNet",
      "is_active": true,
      "is_node": true
    }
  ],
  "total": 50,
  "page": 1,
  "size": 10
}

Error Codes

Common Errors

401
Unauthorized
Invalid or missing API key
404
Not Found
Resource not found
422
Validation Error
Invalid request parameters

Rate Limits

100 requests per minute per API key
1000 requests per hour per API key
Rate limit headers included in responses

Need Help?

Our development team is ready to assist you with API integration