W3Currency - What is it?

W3Currency is a currency convertor api for fiat currencies and crypto currencies.

Get API Key Free
How to use it?

Get CountriesStates

Get All the countries with currency.


Url: http://api.w3hills.com/w3currency/countries

HTTP Method: GET

Parameters:

Name Dummy Value
api_key 632A6072-3E8C-332A-180A-A2DE491D7818

Response: (JSON Format)

{

    "status": true,
    "countries": [
        {
            "id": 1,
            "code": "AF",
            "name": "Afghanistan",
            "currency": {
                "id": 17,
                "name": "AFN - Afghanistan Afghani",
                "code": "AFN",
                "symbol": "?",
                "thousand_separator": ",",
                "decimal_separator": ".",
                "type": "fiat"
            }
        }
    ....
    ....
}

Get Currencies

Get All the currencies with countries.


Url: http://api.w3hills.com/w3currency/currencies

HTTP Method: GET

Parameters:

Name Dummy Value
type fiat|crypto
api_key 632A6072-3E8C-332A-180A-A2DE491D7818

Response: (JSON Format)

{
    "status": true,
    "cities": [{
            "id": 17,
            "name": "AFN - Afghanistan Afghani",
            "code": "AFN",
            "symbol": "?",
            "thousand_separator": ",",
            "decimal_separator": ".",
            "type": "fiat",
            "countries": [
                {
                    "id": 1,
                    "code": "AF",
                    "name": "Afghanistan"
                }
            ]

        },
        ....
        ....
}

Convert

Convert Crypto Currency to Fiat Currency or vise versa.


Url: http://api.w3hills.com/w3currency/convert

HTTP Method: GET

Parameters:

Name Dummy Value
f_code BTC
t_code INR
amount 1000
api_key 632A6072-3E8C-332A-180A-A2DE491D7818

Response: (JSON Format)

{

    "status": true,
    "result": {
        "price": 1082467.17,
        "price_usd": 14509.94
    }

}
Copyright © 2014-2019 W3hills.com. All Rights Reserved.

Contact: contact@dsingh.me