> For the complete documentation index, see [llms.txt](https://docs.nusa.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nusa.io/bahasa-indonesia/informasi/api-references/get-api-trade_volume_usd_7d.md).

# GET /api/trade\_volume\_usd\_7d

Returns trade volume information for the last 7 days.

## Response

Trade volume information will be returned in an array, and if there's any error message, it will be returned in the `error` field. Trade volume fields are defined as follows:

| Field              | Description                                                    |
| ------------------ | -------------------------------------------------------------- |
| `date`             | The date. Format is YYYY-MM-DD.                                |
| `address_count`    | Information of how many address have traded in the given date. |
| `trade_volume_usd` | Trade volume in USD.                                           |

## Example <a href="#example" id="example"></a>

Request: GET

```
https://api.nusa.finance/api/trade_volume_usd_7d
```

Response

```
[
    {
        "date": "2023-02-05",
        "address_count": "13",
        "trade_volume_usd": "57477.112957506"
    },
    {
        "date": "2023-02-04",
        "address_count": "10",
        "trade_volume_usd": "58958.02767537"
    },
    {
        "date": "2023-02-03",
        "address_count": "14",
        "trade_volume_usd": "49069.674905458"
    },
    {
        "date": "2023-02-02",
        "address_count": "9",
        "trade_volume_usd": "51903.258661604"
    },
    {
        "date": "2023-02-01",
        "address_count": "5",
        "trade_volume_usd": "48067.66540181"
    },
    {
        "date": "2023-01-31",
        "address_count": "10",
        "trade_volume_usd": "46887.811257993"
    },
    {
        "date": "2023-01-30",
        "address_count": "10",
        "trade_volume_usd": "52669.408923801"
    }
]
```
