Custom RatePparser
How It Works

Custom rate parser allows you to automatically update exchange rates using your own data source.

Setup

To set up a custom course parser, go to "Application Settings" - "Custom Rate Parser (API)". You can enter a secret key that will be sent in the "X-Authorization" HTTP header.

Request Example
curl -X POST 'YOUR.HOST' \

    --header 'X-Authorization: SECRET_KEY'
Response Example

Successful Response:

{

    "success": true,
    "result": {
        "USDETH": [
            1,
            350.4355
        ],
        "MYCUR1MYCUR2": [
            765.4466,
            1
        ]
    }
}

The key is the value of the "Pair" field in the "Rate Parser" section on the page for editing the exchange direction, the value consists of the exchange rate.

Failed Response:

{

    "success": false,
    "result": false
}
We work without days off 10:00 - 20:00 (GMT+3)
© 2018 - 2023 Made with Exchanger CMS