# API: Get currencies

# getCurrencies

Get list of currencies in HostBill

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getCurrencies

# PHP Samples

# Response

{
    "success": true,
    "main": {
        "code": "EUR",
        "iso": "EUR",
        "sign": "\u20ac",
        "id": 0,
        "decimal": "2",
        "format": "1,234.56",
        "rate": 1
    },
    "currencies": [
        {
            "id": "1",
            "code": "USD",
            "sign": "$",
            "iso": "USD",
            "rate": "1.3340",
            "last_changes": "2011-10-03 12:00:06",
            "update": "1",
            "enable": "1",
            "format": "1,234.56"
        },
        {
            "id": "2",
            "code": "GBP",
            "sign": "\u0141",
            "iso": "GBP",
            "rate": "0.8591",
            "last_changes": "2011-10-03 12:00:06",
            "update": "1",
            "enable": "1",
            "format": "1,234.56"
        }
    ],
    "call": "getCurrencies",
    "server_time": 1323794145
}
Last Updated: 5/12/2023, 3:22:14 PM