# Trade Volume

### Secondary sales volume <a href="#secondary-sales-volume" id="secondary-sales-volume"></a>

This endpoint can be used to retrieve volumes for secondary sales accross all market places

> Request

```
GET /sales/volumes/sales?start_time={start_time}&end_time={end_time}
```

> Response

```json
{
  "success": true,
  "result": [
    { "day": 1667174400, "volume": 115.98516 },
    { "day": 1667088000, "volume": 658.9297 }
  ]
}
```

### Direct registration volume <a href="#direct-registration-volume" id="direct-registration-volume"></a>

This endpoint can be used to retrieve direct registrations volume

> Request

```
GET /sales/volumes/registrations?start_time={start_time}&end_time={end_time}
```

> Response

```json
{
  "success": true,
  "result": [
    { "day": 1667174400, "volume": 115.98516 },
    { "day": 1667088000, "volume": 658.9297 }
  ]
}
```

### Aggregated volume <a href="#aggregated-volume" id="aggregated-volume"></a>

This endpoint can be used to retrieve aggregated volume (secondary sales + direct registrations)

> Request

```
GET /sales/volumes/all?start_time={start_time}&end_time={end_time}
```

> Response

```json
{
  "success": true,
  "result": [
    { "day": 1667174400, "volume": 115.98516 },
    { "day": 1667088000, "volume": 658.9297 }
  ]
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sns.id/dev/sns-api/trade-volume.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
