Failed request format

Requests with an error always return success false and contain a message indicating the error.

Example result of an unsuccessful request.

{
    "success": false,
    "message": "Market not found.",
    "result": []
}

Get markets

Request url https://api.litebit.eu/markets View

Get all active LiteBit markets.

Possible errors

Error Description
This request does not have any errors specified.

Example result of a successful request.

{
    "success": true,
    "message": null,
    "result": {
        "btc": {
            "name": "Bitcoin",
            "abbr": "btc",
            "available": "2.177378",
            "volume": "0.000000",
            "buy": "2372.73",
            "sell": "2265.69"
        },
        "ltc": {
            "name": "Litecoin",
            "abbr": "ltc",
            "available": "115.137866",
            "volume": "0.000000",
            "buy": "45.65",
            "sell": "41.21"
        }
    }
}

Get market

Example request url https://api.litebit.eu/market/btc View

Get information on a specific market.

Possible errors

Error Description
Market has been removed. The market you requested has been removed from LiteBit.
Market not found. The market you requested does not exist on LiteBit.

Example result of a successful request.

{
    "success": true,
    "message": null,
    "result": {
        "name": "Bitcoin",
        "abbr": "btc",
        "available": "2.177321",
        "volume": "0.000000",
        "buy": "2634.33",
        "sell": "2099.42"
    }
}

Get payment methods

Request url https://api.litebit.eu/payment-methods View

Get all active payment methods on LiteBit.

Possible errors

Error Description
This request does not have any errors specified.

Example result of a successful request.

{
    "success": true,
    "message": null,
    "result": {
        "1": {
            "name": "iDeal",
            "cost_fixed": "0.42",
            "cost_percentage": "0.00",
            "maximum_unverified": "750.00",
            "maximum_tier_one": "5000.00",
            "maximum_tier_two": "10000.00",
            "maximum_tier_three": "100000.00"
        },
        "3": {
            "name": "SEPA Bankwire",
            "cost_fixed": "0.50",
            "cost_percentage": "0.00",
            "maximum_unverified": "0.00",
            "maximum_tier_one": "250.00",
            "maximum_tier_two": "500.00",
            "maximum_tier_three": "10000.00"
        }
    }
}

Get payment method

Example request url https://api.litebit.eu/payment-method/1 View

Get information on a specific payment method.

Possible errors

Error Description
Payment method is inactive. The payment method you requested is currently not active on LiteBit.
Payment method not found. The payment method you requested does not exist on LiteBit.

Example result of a successful request.

{
    "success": true,
    "message": null,
    "result": {
        "name": "iDeal",
        "cost_fixed": "0.42",
        "cost_percentage": "0.00",
        "maximum_unverified": "750.00",
        "maximum_tier_one": "5000.00",
        "maximum_tier_two": "10000.00",
        "maximum_tier_three": "100000.00"
    }
}