/v2/reference/conversion_dates

GET

Get a list of future non-trading dates for specified currency pairs.

The API responses shown below are static. If you want to try out the API please login, or register for an API key

API parameters

Required
NameInTypeDescriptionFormat
X-Auth-Token header string Authentication token.
conversion_pair query string Concatenated string of the two currencies converted, eg. "USDEUR".
Optional
NameInTypeDescriptionFormat
start_date query string Start date of conversion. ISO 8601 format YYYY-MM-DD. date
curl -X GET  --header "X-Auth-Token: XXXX-XXXXX-XXXX"  https://devapi.currencycloud.com/v2/reference/conversion_dates

Response

{
    "invalid_conversion_dates": {
        "2018-08-11": "No trading on Saturday",
        "2018-08-12": "No trading on Sunday",
        "2018-08-18": "No trading on Saturday",
        "2018-08-19": "No trading on Sunday",
        "2018-08-25": "No trading on Saturday",
        "2018-08-26": "No trading on Sunday",
        "2018-08-27": "Public Holiday",
        "2018-09-01": "No trading on Saturday",
        "2018-09-02": "No trading on Sunday",
        "2018-09-03": "Public Holiday",
        "2018-09-08": "No trading on Saturday",
        "2018-09-09": "No trading on Sunday",
        "2018-09-15": "No trading on Saturday",
        "2018-09-16": "No trading on Sunday",
        "2018-09-22": "No trading on Saturday",
        "2018-09-23": "No trading on Sunday",
        "2018-09-29": "No trading on Saturday",
        "2018-09-30": "No trading on Sunday",
        "2018-10-06": "No trading on Saturday",
        "2018-10-07": "No trading on Sunday",
        "2018-10-08": "Public Holiday",
        "2018-10-13": "No trading on Saturday",
        "2018-10-14": "No trading on Sunday",
        "2018-10-20": "No trading on Saturday",
        "2018-10-21": "No trading on Sunday",
        "2018-10-27": "No trading on Saturday",
        "2018-10-28": "No trading on Sunday",
        "2018-11-03": "No trading on Saturday",
        "2018-11-04": "No trading on Sunday",
        "2018-11-10": "No trading on Saturday",
        "2018-11-11": "No trading on Sunday",
        "2018-11-12": "Public Holiday",
        "2018-11-17": "No trading on Saturday",
        "2018-11-18": "No trading on Sunday",
        "2018-11-22": "Public Holiday",
        "2018-11-24": "No trading on Saturday",
        "2018-11-25": "No trading on Sunday",
        "2018-12-01": "No trading on Saturday",
        "2018-12-02": "No trading on Sunday",
        "2018-12-08": "No trading on Saturday",
        "2018-12-09": "No trading on Sunday",
        "2018-12-15": "No trading on Saturday",
        "2018-12-16": "No trading on Sunday",
        "2018-12-22": "No trading on Saturday",
        "2018-12-23": "No trading on Sunday",
        "2018-12-25": "Public Holiday",
        "2018-12-26": "Public Holiday",
        "2018-12-29": "No trading on Saturday",
        "2018-12-30": "No trading on Sunday",
        "2019-01-05": "No trading on Saturday",
        "2019-01-06": "No trading on Sunday",
        "2019-01-12": "No trading on Saturday",
        "2019-01-13": "No trading on Sunday",
        "2019-01-19": "No trading on Saturday",
        "2019-01-20": "No trading on Sunday",
        "2019-01-26": "No trading on Saturday",
        "2019-01-27": "No trading on Sunday",
        "2019-02-02": "No trading on Saturday",
        "2019-02-03": "No trading on Sunday",
        "2019-02-09": "No trading on Saturday",
        "2019-02-10": "No trading on Sunday",
        "2019-02-16": "No trading on Saturday",
        "2019-02-17": "No trading on Sunday",
        "2019-02-23": "No trading on Saturday",
        "2019-02-24": "No trading on Sunday",
        "2019-03-02": "No trading on Saturday",
        "2019-03-03": "No trading on Sunday",
        "2019-03-09": "No trading on Saturday",
        "2019-03-10": "No trading on Sunday",
        "2019-03-16": "No trading on Saturday",
        "2019-03-17": "No trading on Sunday",
        "2019-03-23": "No trading on Saturday",
        "2019-03-24": "No trading on Sunday",
        "2019-03-30": "No trading on Saturday",
        "2019-03-31": "No trading on Sunday",
        "2019-04-06": "No trading on Saturday",
        "2019-04-07": "No trading on Sunday",
        "2019-04-13": "No trading on Saturday",
        "2019-04-14": "No trading on Sunday",
        "2019-04-20": "No trading on Saturday",
        "2019-04-21": "No trading on Sunday",
        "2019-04-27": "No trading on Saturday",
        "2019-04-28": "No trading on Sunday",
        "2019-05-04": "No trading on Saturday",
        "2019-05-05": "No trading on Sunday",
        "2019-05-11": "No trading on Saturday",
        "2019-05-12": "No trading on Sunday",
        "2019-05-18": "No trading on Saturday",
        "2019-05-19": "No trading on Sunday",
        "2019-05-25": "No trading on Saturday",
        "2019-05-26": "No trading on Sunday",
        "2019-06-01": "No trading on Saturday",
        "2019-06-02": "No trading on Sunday",
        "2019-06-08": "No trading on Saturday",
        "2019-06-09": "No trading on Sunday",
        "2019-06-15": "No trading on Saturday",
        "2019-06-16": "No trading on Sunday",
        "2019-06-22": "No trading on Saturday",
        "2019-06-23": "No trading on Sunday",
        "2019-06-29": "No trading on Saturday",
        "2019-06-30": "No trading on Sunday",
        "2019-07-06": "No trading on Saturday",
        "2019-07-07": "No trading on Sunday",
        "2019-07-13": "No trading on Saturday",
        "2019-07-14": "No trading on Sunday",
        "2019-07-20": "No trading on Saturday",
        "2019-07-21": "No trading on Sunday",
        "2019-07-27": "No trading on Saturday",
        "2019-07-28": "No trading on Sunday",
        "2019-08-03": "No trading on Saturday",
        "2019-08-04": "No trading on Sunday",
        "2019-08-10": "No trading on Saturday",
        "2019-08-11": "No trading on Sunday",
        "2019-08-17": "No trading on Saturday",
        "2019-08-18": "No trading on Sunday",
        "2019-08-24": "No trading on Saturday",
        "2019-08-25": "No trading on Sunday",
        "2019-08-31": "No trading on Saturday",
        "2019-09-01": "No trading on Sunday",
        "2019-09-07": "No trading on Saturday",
        "2019-09-08": "No trading on Sunday",
        "2019-09-14": "No trading on Saturday",
        "2019-09-15": "No trading on Sunday",
        "2019-09-21": "No trading on Saturday",
        "2019-09-22": "No trading on Sunday",
        "2019-09-28": "No trading on Saturday",
        "2019-09-29": "No trading on Sunday",
        "2019-10-05": "No trading on Saturday",
        "2019-10-06": "No trading on Sunday",
        "2019-10-12": "No trading on Saturday",
        "2019-10-13": "No trading on Sunday",
        "2019-10-19": "No trading on Saturday",
        "2019-10-20": "No trading on Sunday",
        "2019-10-26": "No trading on Saturday",
        "2019-10-27": "No trading on Sunday",
        "2019-11-02": "No trading on Saturday",
        "2019-11-03": "No trading on Sunday",
        "2019-11-09": "No trading on Saturday",
        "2019-11-10": "No trading on Sunday",
        "2019-11-16": "No trading on Saturday",
        "2019-11-17": "No trading on Sunday",
        "2019-11-23": "No trading on Saturday",
        "2019-11-24": "No trading on Sunday",
        "2019-11-30": "No trading on Saturday",
        "2019-12-01": "No trading on Sunday",
        "2019-12-07": "No trading on Saturday",
        "2019-12-08": "No trading on Sunday",
        "2019-12-14": "No trading on Saturday",
        "2019-12-15": "No trading on Sunday",
        "2019-12-21": "No trading on Saturday",
        "2019-12-22": "No trading on Sunday",
        "2019-12-28": "No trading on Saturday",
        "2019-12-29": "No trading on Sunday",
        "2020-01-04": "No trading on Saturday",
        "2020-01-05": "No trading on Sunday",
        "2020-01-11": "No trading on Saturday",
        "2020-01-12": "No trading on Sunday",
        "2020-01-18": "No trading on Saturday",
        "2020-01-19": "No trading on Sunday",
        "2020-01-25": "No trading on Saturday",
        "2020-01-26": "No trading on Sunday",
        "2020-02-01": "No trading on Saturday",
        "2020-02-02": "No trading on Sunday",
        "2020-02-08": "No trading on Saturday",
        "2020-02-09": "No trading on Sunday",
        "2020-02-15": "No trading on Saturday",
        "2020-02-16": "No trading on Sunday",
        "2020-02-22": "No trading on Saturday",
        "2020-02-23": "No trading on Sunday",
        "2020-02-29": "No trading on Saturday",
        "2020-03-01": "No trading on Sunday",
        "2020-03-07": "No trading on Saturday",
        "2020-03-08": "No trading on Sunday",
        "2020-03-14": "No trading on Saturday",
        "2020-03-15": "No trading on Sunday",
        "2020-03-21": "No trading on Saturday",
        "2020-03-22": "No trading on Sunday",
        "2020-03-28": "No trading on Saturday",
        "2020-03-29": "No trading on Sunday",
        "2020-04-04": "No trading on Saturday",
        "2020-04-05": "No trading on Sunday",
        "2020-04-11": "No trading on Saturday",
        "2020-04-12": "No trading on Sunday",
        "2020-04-18": "No trading on Saturday",
        "2020-04-19": "No trading on Sunday",
        "2020-04-25": "No trading on Saturday",
        "2020-04-26": "No trading on Sunday",
        "2020-05-02": "No trading on Saturday",
        "2020-05-03": "No trading on Sunday",
        "2020-05-09": "No trading on Saturday",
        "2020-05-10": "No trading on Sunday",
        "2020-05-16": "No trading on Saturday",
        "2020-05-17": "No trading on Sunday",
        "2020-05-23": "No trading on Saturday",
        "2020-05-24": "No trading on Sunday",
        "2020-05-30": "No trading on Saturday",
        "2020-05-31": "No trading on Sunday",
        "2020-06-06": "No trading on Saturday",
        "2020-06-07": "No trading on Sunday",
        "2020-06-13": "No trading on Saturday",
        "2020-06-14": "No trading on Sunday",
        "2020-06-20": "No trading on Saturday",
        "2020-06-21": "No trading on Sunday",
        "2020-06-27": "No trading on Saturday",
        "2020-06-28": "No trading on Sunday",
        "2020-07-04": "No trading on Saturday",
        "2020-07-05": "No trading on Sunday",
        "2020-07-11": "No trading on Saturday",
        "2020-07-12": "No trading on Sunday",
        "2020-07-18": "No trading on Saturday",
        "2020-07-19": "No trading on Sunday",
        "2020-07-25": "No trading on Saturday",
        "2020-07-26": "No trading on Sunday",
        "2020-08-01": "No trading on Saturday",
        "2020-08-02": "No trading on Sunday",
        "2020-08-08": "No trading on Saturday",
        "2020-08-09": "No trading on Sunday"
    },
    "first_conversion_date": "2018-08-13",
    "default_conversion_date": "2018-08-14"
}
Error Codes
HTTP Status Code Description Params
400 conversion_pair_is_required conversion_pair is required
invalid_conversion_pair The conversion pair specified was invalid
conversion_pair_is_too_short conversion_pair can not be shorter than 6 character(s) { "minlength" => 6 }
conversion_pair_is_too_long conversion_pair can not be longer than 6 character(s) { "maxlength" => 6 }
start_date_is_too_far_in_future Date is too far in the future (more than 1 year) { "maxdate" => "2015-04-04T00:00:00Z", "period" => "1 year" }
start_date_is_in_invalid_format start_date should be in ISO 8601 format { "type" => "date" }
401 invalid_supplied_credentials Authentication failed with the supplied credentials
429 too_many_requests Too many requests have been made to the api. Please refer to the Developer Center for more information
500 internal_server_error Internal server error
503 service_unavailable Service is temporary unavailable
Was this page helpful?
Yes
No