Public API
General Information

To set up public API, go to "Application Settings" - "Public API".

Request Example:

curl -X GET 'YOUR_EXCHANGER/public-api-get-software'

API Introduction

Latest News
/public-api-get-latest-news

Response Example:

{

    "success": true,
    "result": [
        [
            1568883600,
            "turkey-announces-plans-for-a-national-blockchain-infrastructure",
            "Turkey Announces Plans for National Blockchain Infrastructure",
            "The Turkish government has announced plans to establish a national blockchain infrastructure to u..."
        ]
    ]
}
# Description
0 Publication Date (Unix Timestamp)
1 Slug
2 Title
3 Short Content
Popular Currencies Rates
/public-api-get-rates
Parameter Description
base Base Currency (optional)

Response Example:

{

    "success": true,
    "result": {
        "ETH": 210.3711
    }
}
Available Languages
/public-api-get-languages

Response Example:

{

    "success": true,
    "result": ["en", "ru", "uk"]
}
Exchange Directions Map
/public-api-get-exchanges

Response Example:

{

    "success": true,
    "result": {
        "1": {
            "2": "eth-btc"
        }
    }
}

Returns an array with currency IDs as a key and an array of available exchange directions as a value, which consists of a currency ID and an exchange direction slug.

Exchange Info
/public-api-get-exchange
Parameter Description
pair Slug

Returns exchange direction object.

Currencies Info
/public-api-get-currencies

Returns currency object.

Get Social Info
/public-api-get-social

Response Example:

{

    "success": true,
    "result": [
        "Exchanger CMS",
        "[email protected]",
        "",
        "https://t.me/exchangerCMS",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "https://twitter.com/exchangerCMS",
        "https://www.youtube.com/channel/UCyo7IJYghqjZPwHtTKIxlTw",
        ""
    ]
}
# Description
0 Project Name
1 Email
2 Phone Number
3 Telegram
4 Skype
5 Viber
6 Whatsapp
7 Messenger
8 Discord
9 Snapchat
10 Facebook
11 Twitter
12 YouTube
13 Instagram
Service Status
/public-api-get-status

Response Example:

{

    "success": true,
    "result": [
        "Europe/Kiev",
        false,
        false
    ]
}
# Description
0 Timezone
1 Operator Status (online: true, offline: false)
2 Exchange is Available (yes: true, no: false)
Referral Program Info
/public-api-get-referral-program

Response Example:

{

    "success": true,
    "result": [
        [
            100,
            0.1
        ],
        [
            1000,
            0.2
        ]
    ]
}
# Description
0 Volume
1 Reward
Referral Banners
/public-api-get-banners

Response Example:

{

    "success": true,
    "result": [
        [
            "/site-default/banner-ru-728x90.png",
            728,
            90
        ]
    ]
}
# Description
0 Image
1 Width
2 Height
Bonus System Info
/public-api-get-bonus-system

Response Example:

{

    "success": true,
    "result": [
        [
            100,
            0.01
        ],
        [
            1000,
            0.02
        ]
    ]
}
# Description
0 Volume
1 Bonus
Investment Program Info
/public-api-get-investment-program

Response Example:

{

    "success": true,
    "result": [
        [
            30,
            2,
            100,
            10000
        ],
        [
            90,
            9,
            100,
            10000
        ]
    ]
}
# Description
0 Investment Period
1 Total Income
2 Minimum Investment Amount
3 Maximum Investment Amount
Balance Info
/public-api-get-balance

Response Example:

{

    "success": true,
    "result": [
        "USD",
        "USD",
        "2",
        [
            {
                "advcusd-balanceusd": [
                    "Advanced Cash USD",
                    "Balance USD",
                    "1 USD",
                    "1 USD",
                    "1.00 USD",
                    "82997.60 USD",
                    "0.50 %",
                    null,
                    77,
                    76,
                    "/site-default/icon-advcusd.png",
                    "/site-default/icon-balance.png"
                ]
            },
            {
                "balanceusd-advcusd": [
                    "Balance USD",
                    "Advanced Cash USD",
                    "1 USD",
                    "1 USD",
                    "1.00 USD",
                    "31896.00 USD",
                    null,
                    null,
                    76,
                    77,
                    "/site-default/icon-balance.png",
                    "/site-default/icon-advcusd.png"
                ]
            }
        ]
    ]
}
# Description
0 Balance Currency Code
1 Balance Currency Symbol
2 Decimal
3 Array of Exchange Directions
3[0] Sending Currency Title
3[1] Received Currency Title
3[2] Sending Currency Exchange Rate
3[3] Received Currency Exchange Rate
3[4] Minimum Exchange Amount
3[5] Maximum Exchange Amount
3[6] Additional Fee Amount
3[7] Additional Fee Description
3[8] Sending Currency ID
3[9] Received Currency ID
3[10] Sending Currency Icon
3[11] Received Currency Icon
Verification Info
/public-api-get-verification

Response Example:

{

    "success": true,
    "result": [
        1
    ]
}
# Description
0 Type (1: bank card, 0: identity)
Technical Info
/public-api-get-software

Response Example:

{

    "success": true,
    "result": [
        "exchanger-cms.com",
        "1.5.0",
        "2b751976d4bec70186bd28246843831d"
    ]
}
# Description
0 Developer Website
1 Script Version
2 Fingerprint
We work without days off 10:00 - 20:00 (GMT+3)
© 2018 - 2023 Made with Exchanger CMS