API Endpoints

Currex just got an upgrade! Please check https://currex.info for more information.

Get latest rates

GET https://api.cakes.com/v1/:format/latest/:base_currency?token=premiumtoken

Path Parameters

Query Parameters

{
    "timestamp_utc":"2018-07-16 13:52:05",
    "base_currency":"EUR",
    "rates":{
        "AED":{
            "currency":"AED",
            "rate":4.303
        },
        "AMD":{
            "currency":"AMD",
            "rate":5.59
        },
        "ANG":{
            "currency":"ANG",
            "rate":2.154
        },
        ...
}

Examples

1) Get latest rates for base Euro as JSON

https://api.currex.info/v1/json/latest/EUR

2) Get latest rates for base United Arab Emirates Dirham as XML

https://api.currex.info/v1/xml/latest/AED

★ Get in-depth information about the currencies

GET https://api.currex.info/v1/:format/info/:single_currency?token=premiumtoken

[Premium API Endpoint] Please get a premium token to be able to access this information.

Path Parameters

Query Parameters

Examples

1) Get info about all currencies supported by Currex as JSON

https://api.currex.info/v1/json/info?token=■■■■■■■■■■

Replace ■■■■■■■■ with your own token

2) Get info only about Euro as XML

https://api.currex.info/v1/xml/info/EUR?token=■■■■■■■■■■

Replace ■■■■■■■■ with your own token

Last updated