Currencies

List of currencies

post

Returns a list of either supported or unsupported currencies.

Header parameters
X-Processing-KeystringRequired

Private key

X-Processing-SignaturestringRequired

Private secret key

Body
visiblebooleanOptional

Whether the endpoint should return supported (true) or unsupported (false) currencies.

Responses
200
OK
application/json
post
POST /api/v2/currencies/list HTTP/1.1
Host: app.cryptoprocessing.com
X-Processing-Key: text
X-Processing-Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "visible": true
}
{
  "data": [
    {
      "id": 1,
      "type": "crypto",
      "currency": "BTC",
      "minimum_amount": "0.00010000",
      "deposit_fee_percent": "0.000000",
      "withdrawal_fee_percent": "0.025000",
      "precision": 8
    }
  ]
}

List of currency pairs

post

Get a list of available currency exchange pairs. Please note that this endpoint only provides exchange pairs as a reference. It should not be used for exchanges in live environments.

Header parameters
X-Processing-KeystringRequired

Private key

X-Processing-SignaturestringRequired

Private secret key

Body
currency_fromstringOptional
Currency to exchange from. For a list of all available currencies, see Supported currencies.
currency_tostringOptional
Currency to exchange to. For a list of all available currencies, see Supported currencies.
Responses
200
OK
application/json
post
POST /api/v2/currencies/pairs HTTP/1.1
Host: app.cryptoprocessing.com
X-Processing-Key: text
X-Processing-Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "currency_from": "BTC",
  "currency_to": "BTC"
}
{
  "data": [
    {
      "currency_from": {
        "currency": "BTC",
        "type": "crypto",
        "min_amount": "0.00010000",
        "min_amount_deposit_with_exchange": "0.00010000"
      },
      "currency_to": {
        "currency": "EUR",
        "type": "fiat"
      },
      "rate_from": "1",
      "rate_to": "20693.84879354"
    }
  ]
}

List of currency rates

post

Get a particular pair and its price. Please note that this endpoint only provides rate estimates as a reference. It should not be used for exchanges in live environments.

Header parameters
X-Processing-KeystringRequired

Private key

X-Processing-SignaturestringRequired

Private secret key

Body
currency_fromstringOptional
Currency to exchange from. For a list of all available currencies, see Supported currencies.
currency_tostringOptional
Currency to exchange to. For a list of all available currencies, see Supported currencies.
Responses
200
OK
application/json
post
POST /api/v2/currencies/rates HTTP/1.1
Host: app.cryptoprocessing.com
X-Processing-Key: text
X-Processing-Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "currency_from": "BTC",
  "currency_to": "BTC"
}
{
  "data": [
    {
      "currency_from": {
        "currency": "BTC",
        "type": "crypto",
        "min_amount": "0.00010000",
        "description": "Filter by currency ISO that exchanges from.",
        "min_amount_deposit_with_exchange": "0.00010000"
      },
      "currency_to": {
        "currency": "EUR",
        "type": "fiat",
        "description": "Filter by currency ISO that can be converted to."
      },
      "rate_from": "1",
      "rate_to": "20693.84879354"
    }
  ]
}

Was this helpful?