Skip to main content

Get a currency list


posthttps://api.criptointercambio.com/v2/#getCurrencies

Retrieves a list of enabled currencies.

info

Cripto InterCambio can disable and enable currencies at any time.


Request

Header parameters

Requires authentication headers.

Body parameters

Consists of a JSON-RPC 2.0 protocol request object.

The params schema:

NameTypeRequiredDescription
paramsobjectfalseRequest parameters.

Sample request

{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"method": "getCurrencies",
"params": {}
}

Response

Successful response

Consists of a JSON-RPC 2.0 protocol response object.

The result schema:

NameTypeDescription
resultarray of stringsEnabled currency tickers.

Sample successful response

{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"result": [
"doge",
"amp",
"dash",
"waves",
"rlc",
"dcr",
"xlm"
]
}

Error response

Consists of a JSON-RPC 2.0 protocol error response object.

Sample error response

{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"error": {
"code": -32600,
"message": "Error: You reached requests limit 10 rps"
}
}

Error codes

CodeMessageDescription
-32600Error: You reached requests limit {limit} rpsRPS is out of the limit.
-32603
  • Internal Error
  • Error
Mostly, this is a technical issue on our side. Requires further investigation.