For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Supported Currencies

Before doing an instant sell transaction, you'll need to know the available fiat currencies and cryptocurrencies. Make a GET request to this endpoint

https://api.localramp.co/v1/transaction/sell/currencies

With the following header

x-auth-token: <PUBLIC_KEY>

If the API call is successful, LocalRamp returns the following response:

{
    "status": "success",
    "data": {
        "from_currency": [
            {
                "coin": "BTC",
                "max_decimal": 8
            },
            {
                "coin": "LTC",
                "max_decimal": 8
            }
        ],
        "to_currency": [
            {
                "fiat": "NGN",
                "max_decimal": 2
            }
        ]
    }
}

Last updated