Download OpenAPI specification:Download
Returns a list of all Daily Exchange Rates that correspond with the Trading Pair specified in the request URL.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/pairs/{trading_pair_id}/daily_rates?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "trading_pair_id": "00000000000000000000000000000001trpr",
- "price": "7728.19",
- "starts_at": "2021-01-01T01:00:00Z",
- "ends_at": "2021-01-01T01:01:00Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Returns an array containing all Hourly Exchange Rates that correspond with the Trading Pair specified in the request URL.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/pairs/{trading_pair_id}/hourly_rates?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "trading_pair_id": "00000000000000000000000000000001trpr",
- "price": "7728.19",
- "starts_at": "2021-01-01T01:00:00Z",
- "ends_at": "2021-01-01T01:01:00Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Returns a list containing all Minute Exchange Rates that correspond with a given Trading Pair.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/pairs/{trading_pair_id}/minute_rates?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "trading_pair_id": "00000000000000000000000000000001trpr",
- "price": "7728.19",
- "starts_at": "2021-01-01T01:00:00Z",
- "ends_at": "2021-01-01T01:01:00Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Returns the current trading limits configuration for an Entity and the remaining amount they are allowed to trade.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/entities/{entity_id}/trading_limits'
{- "entity_id": "e0a26b1b54a6009d9ad9c6efd3aa5c77enty",
- "interval": 604800,
- "amount": "50000.00",
- "remaining_amount": "49686.69",
- "created_at": "2021-02-11T22:40:59Z",
- "updated_at": "2021-02-11T22:40:59Z"
}
Returns a list of all TradingPairs on the platform.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/pairs?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "00000000000000000000000000000001trpr",
- "from_asset_id": "00000000000000000000000000000001asst",
- "to_asset_id": "f0000000000000000000000000000001asst",
- "is_tradable": true,
- "code": "BTC/EUR",
- "price_precision": 2,
- "from_asset_min_amount": "0.0001",
- "from_asset_max_amount": "1.0",
- "created_at": "2019-03-01T21:47:06Z",
- "updated_at": "2019-03-01T21:47:06Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Returns the TradingPair specified in the request URL by its unique ID.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/pairs/{trading_pair_id}'
{- "id": "00000000000000000000000000000001trpr",
- "from_asset_id": "00000000000000000000000000000001asst",
- "to_asset_id": "f0000000000000000000000000000001asst",
- "is_tradable": true,
- "code": "BTC/EUR",
- "price_precision": 2,
- "from_asset_min_amount": "0.0001",
- "from_asset_max_amount": "1.0",
- "created_at": "2019-03-01T21:47:06Z",
- "updated_at": "2019-03-01T21:47:06Z"
}
Provides an indicative trade price for the given TradingPair. The amount
attribute is optional and defaults to the smallest unit of the from_asset
for the given TradingPair (e.g., 1 satoshi, 1 wei, 1 cent, etc.)
Note:
GET /trading/pairs/{trading_pair_id}/simulate_trade
.The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/pairs/{trading_pair_id}/price?amount=string'
{- "trading_pair_id": "00000000000000000000000000000001trpr",
- "from_amount": "1.12300000",
- "to_amount": "10107.01",
- "price": "9000.01",
- "created_at": "2020-07-16T11:26:41Z",
- "updated_at": "2020-07-16T11:26:41Z"
}
Retrieves an estimation for the given TradingPair and amount as if it were a real trade, including the applicable fees and the actual traded amount. Display the information from the response to the customer in your frontend when they go to make a Trade.
Note:
GET /trading/pairs/{trading_pair_id}/price
.The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/pairs/{trading_pair_id}/simulate_trade?amount=string'
{- "trading_pair_id": "00000000000000000000000000000001trpr",
- "from_amount": "1.12300000",
- "traded_from_amount": "1.12300000",
- "traded_to_amount": "10056.47",
- "to_amount": "9955.90",
- "price": "9000.01",
- "fee_amount": "100.57",
- "created_at": "2020-07-16T11:26:41Z",
- "updated_at": "2020-07-16T11:26:41Z"
}
Returns a list of all Trades created under your control.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/trades?filter%5Battribute_name%5D=string&sort=string&pagination%5Bsize%5D=100'
{- "items": [
- {
- "id": "82d19e27542a21c950eaae13059cf5f5trad",
- "from_amount": "209.10",
- "traded_from_amount": "209.10",
- "filled_from_amount": null,
- "traded_to_amount": null,
- "to_amount": null,
- "fee_amount": null,
- "price": null,
- "state": "PENDING",
- "reference": "9bcf5ffa4bb4d4ebbf92fb74f3a61f85",
- "entity_id": "b6ef80668690fa4dfbb51a3bc49a1fb7enty",
- "trading_pair_id": "00000000000000000000000000000002trpr",
- "from_account_id": "57e837a08685eff2cee29e82b6b09857cacc",
- "to_account_id": "d4f01daea26362d0de5fe89cb0f8d905acct",
- "failure_reason": null,
- "estimations": {
- "traded_from_amount": "207.00",
- "traded_to_amount": "0.02288435",
- "to_amount": "0.02288435",
- "fee_amount": "2.10",
- "price": "0.00011055"
}, - "created_at": "2021-11-26T14:35:45Z",
- "updated_at": "2021-11-26T14:35:45Z"
}
], - "pagination": {
- "next": 0,
- "prev": 0
}
}
Creates a new Trade on the platform.
The Trade was successfully created.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
{- "from_amount": "209.1",
- "entity_id": "b6ef80668690fa4dfbb51a3bc49a1fb7enty",
- "trading_pair_id": "00000000000000000000000000000002trpr",
- "from_account_id": "57e837a08685eff2cee29e82b6b09857cacc",
- "to_account_id": "d4f01daea26362d0de5fe89cb0f8d905acct",
- "reference": "9bcf5ffa4bb4d4ebbf92fb74f3a61f85"
}
{- "id": "82d19e27542a21c950eaae13059cf5f5trad",
- "from_amount": "209.10",
- "filled_from_amount": "209.00",
- "traded_from_amount": null,
- "traded_to_amount": null,
- "to_amount": null,
- "fee_amount": null,
- "price": null,
- "state": "PENDING",
- "reference": "9bcf5ffa4bb4d4ebbf92fb74f3a61f85",
- "entity_id": "b6ef80668690fa4dfbb51a3bc49a1fb7enty",
- "trading_pair_id": "00000000000000000000000000000002trpr",
- "from_account_id": "57e837a08685eff2cee29e82b6b09857cacc",
- "to_account_id": "d4f01daea26362d0de5fe89cb0f8d905acct",
- "failure_reason": null,
- "estimations": {
- "traded_from_amount": "207.00",
- "traded_to_amount": "0.02288435",
- "to_amount": "0.02288435",
- "fee_amount": "2.10",
- "price": "0.00011055"
}, - "created_at": "2021-11-26T14:35:45Z",
- "updated_at": "2021-11-26T14:35:45Z"
}
Returns the Trade specified in the request URL by its unique ID.
The operation was successful.
Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X GET \ 'https://api.solarisdigitalassets.com/trading/trades/{trade_id}'
{- "id": "82d19e27542a21c950eaae13059cf5f5trad",
- "from_amount": "209.10",
- "traded_from_amount": null,
- "filled_from_amount": null,
- "traded_to_amount": null,
- "to_amount": null,
- "fee_amount": null,
- "price": null,
- "state": "PENDING",
- "reference": "9bcf5ffa4bb4d4ebbf92fb74f3a61f85",
- "entity_id": "b6ef80668690fa4dfbb51a3bc49a1fb7enty",
- "trading_pair_id": "00000000000000000000000000000002trpr",
- "from_account_id": "57e837a08685eff2cee29e82b6b09857cacc",
- "to_account_id": "d4f01daea26362d0de5fe89cb0f8d905acct",
- "failure_reason": null,
- "estimations": {
- "traded_from_amount": "207.00",
- "traded_to_amount": "0.02288435",
- "to_amount": "0.02288435",
- "fee_amount": "2.10",
- "price": "0.00011055"
}, - "created_at": "2021-11-26T14:35:45Z",
- "updated_at": "2021-11-26T14:35:45Z"
}
Cancels the Trade specified in the request URL by its unique ID. You can only cancel Trades that have a status
value of PENDING
.
The Trade was successfully canceled.
The request contains invalid parameters.
This error response includes a params
object, which contains all
invalid attributes from the request and their associated error codes.
List of possible error codes:
blank
: This attribute requires a value, but none was provided in the request.invalid
: An invalid value was provided for this attribute in the
request. Some examples include an invalid data type, improper
formatting, or an incorrect blockchain address.not_found
: A resource referenced by this attribute was not found. This may happen
when sending a request that contains an attribute that references
another resource, e.g., when creating an Account and using asset_id
to reference the Asset.taken
: The value provided for this attribute is expected to be
unique, but it is already taken by another resource, e.g., when creating
a Transaction with a previously used reference
key.Authentication failed for the request, either because the authentication scheme is invalid (e.g., missing nonce), or the produced signature is invalid.
The requested resource was not found.
The request could not be processed because the referenced resource's current state prevents it.
For example, the API would return this error for an attempt to approve a
FAILED
ApprovalRequest, as this is not possible.
Internal server error. An underlying or external service failed in an unspecified manner.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
The request could not be processed because the underlying or external service is temporarily unavailable.
NOTE: This is a transient error. You may re-attempt the same request with the same attributes.
curl -i -X POST \ 'https://api.solarisdigitalassets.com/trading/trades/{trade_id}/cancel'
{- "id": "82d19e27542a21c950eaae13059cf5f5trad",
- "from_amount": "209.10",
- "traded_from_amount": null,
- "filled_from_amount": null,
- "traded_to_amount": null,
- "to_amount": null,
- "fee_amount": null,
- "price": null,
- "state": "CANCELLED",
- "reference": "9bcf5ffa4bb4d4ebbf92fb74f3a61f85",
- "entity_id": "b6ef80668690fa4dfbb51a3bc49a1fb7enty",
- "trading_pair_id": "00000000000000000000000000000002trpr",
- "from_account_id": "57e837a08685eff2cee29e82b6b09857cacc",
- "to_account_id": "d4f01daea26362d0de5fe89cb0f8d905acct",
- "failure_reason": null,
- "estimations": {
- "traded_from_amount": "207.00",
- "traded_to_amount": "0.02288435",
- "to_amount": "0.02288435",
- "fee_amount": "2.10",
- "price": "0.00011055"
}, - "created_at": "2021-11-26T14:35:45Z",
- "updated_at": "2021-11-26T14:35:45Z"
}