Get Volume Analytics
GET
https://api.sfox.com/v1/analytics/volume
Retrieve historical exchange volume analytics by currency.
Data is not forward-filled and, therefore, may be incomplete. e.g. no data will be returned for an interval during which 0 trades were recorded.
Responses are limited to 500 results. If the requested start_time
, end_time
, and interval
will result in more than 500 results, your request will be rejected. To retrieve data over a larger time range, you will need to make multiple requests with new start_time
/ end_time
ranges. Results may precede your specified start_time
value.
Query Parameters
Name | Type | Description |
---|---|---|
| timestamp | Unix timestamp (ms) of the first datapoint to return |
| timestamp | Unix timestamp (ms) of the last datapoint to return |
| int | Duration of each datapoint in seconds (i.e. ( |
| string | The currency to retrieve data for (i.e. |
| boolean | Retrieve "net volume" (net buy/sell volume) or "gross volume" (total traded volume) ( default = |
| boolean | Retrieve total market volume or volume by exchange ( |
Response Body
Key | Description |
---|---|
| The Unix timestamp (ms) of the beginning of the interval |
| The exchange associated with the volume data (only returned if |
| The quantity of the specified currency traded during this interval |
| The USD value of the quantity of the specified currency traded during this interval |
Responses
Example Request
Last updated