Get All Transactions
GET
https://api.sfox.com/v1/account/transactions
Retrieve your transaction history, including trades and transfers. It returns an array of objects, each of which has details for each individual transaction.
Rate Limit: 1 request per 10 seconds
Receive real-time trade, order, and balance updates using the sFOX WebSocket API. Click here for details.
Query Parameters
Name | Type | Description |
---|---|---|
| timestamp | Start date for your query. Results will include transactions that occurred after this date. Unix timestamp in ms. Default: utcnow - 24hrs |
| timestamp | End date for your query. Results will include transactions that occurred before this date. Unix timestamp in ms. Default: utcnow |
| int | Maximum number of results to be returned by the request. Default: 250. Maximum: 1000 |
| int | Pagination parameter. Return results that occurred after (newer) than the specified ID ( |
| int | Pagination parameter. Return results that occurred before (older) than the results from a previous request.
Specify the number of entries you've already had returned to you to get the next batch. e.g. If you retrieved |
| string | Filter by transaction type. To filter by more than one type, separate each type with a comma. Possible values: |
| boolean | Specify whether the results should include transactions that are NOT completed ( |
Response Body
Key | Description |
---|---|
| sFOX-generated transaction ID. Use for |
| Account transaction ID. An sFOX-generated ID specifically for deposit, withdrawal, credit, or charge transactions. |
| sFOX-generated ID of the order that this transaction is associated with, if applicable. |
| |
| sFOX-generated ID of the trade, if applicable. |
| The timestamp of the transaction, in ISO8601 format |
| The action name of this transaction (“Deposit”, “Withdraw”, “Buy”, “Sell”, "Credit", "Charge") |
| The base currency of the transaction |
| The optional memo you specified for a withdrawal transaction |
| The transacted amount of the |
| Net amount after fees |
| Price per unit of the |
| Fee paid in terms of the |
| The current transaction status |
| The expiration date of a hold on this transaction, if applicable |
| The transaction hash, if applicable (applicable to crypto deposits and withdrawals) |
| The algorithm used to execute the transaction, if the transaction is an order |
| The ID associated with the algorithm |
| Your balance of the |
| Fee paid in terms of the |
| A description of the transaction. For crypto deposits, this is the sender address. For crypto withdrawals this is the destination address |
| The username/email address of the user who initiated this transaction |
| The currency pair of the transaction for trades ( |
| The UNIX timestamp of the transaction in milliseconds |
Transaction Statuses
The following table describes the possible Status Codes returned from this request.
These Status Codes are only applicable to deposit and withdrawal transactions. Other transaction types will always be returned with status = Done
Status Code | Description |
---|---|
| Transaction initiated |
|
|
|
|
|
|
|
|
| Transaction has been canceled |
| Transaction was flagged for review. Contact support@sfox.com for more information |
Responses
Example Request
Last updated