# DEX Trades

```
https://api.vechainstats.com/v2/account/dex-trades
    ?address=0xa416bdda32b00e218f08ace220bab512c863ff2f
    &page=1
    &sort=desc
    &VCS_API_KEY=your_api_key
```

{% tabs %}
{% tab title="Request" %}

<table><thead><tr><th>Parameter</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>address</td><td>The address you want to query</td><td></td></tr><tr><td>page</td><td>the <code>integer</code> page number, the available pages are shown in the response meta fields</td><td></td></tr><tr><td>sort</td><td>The sorting preference, use <code>asc</code> to sort by ascending and <code>desc</code> to sort by descending</td><td></td></tr></tbody></table>
{% endtab %}

{% tab title="Response" %}

```json
{
    "status": {
        "success": true,
        "message": "OK"
    },
    "data": [
        {
            "txid": "0x6527831ae1d3ab5bb4c1aa449a7529fbf05f05ab413461ab6fec1d1010589e30",
            "origin": "0xa416bdda32b00e218f08ace220bab512c863ff2f",
            "block_height": 19000355,
            "block_timestamp": 1720531560,
            "platform": "verocket",
            "input_token": "hai",
            "input_amount": "188.000000000000000000",
            "output_token": "vet",
            "output_amount": "295.867971557107647635"
        },
        {
            "txid": "0x95017936396209ad0c2a07eed37c4e241a0db9c4e0b1169c4e10a5602a1117a2",
            "block_height": 19000336,
            "block_timestamp": 1720531370,
            "platform": "verocket",
            "input_token": "hai",
            "input_amount": "188.000000000000000000",
            "output_token": "vet",
            "output_amount": "296.135500352510107065",
            "origin": "0xa416bdda32b00e218f08ace220bab512c863ff2f"
        },
        {
            "txid": "0x2d840868b6eb1aa1148ab2de3634247acf365f862a0d5821d7754f42f2bbe417",
            "block_height": 19000284,
            "block_timestamp": 1720530850,
            "platform": "verocket",
            "input_token": "hai",
            "input_amount": "188.000000000000000000",
            "output_token": "vet",
            "output_amount": "297.144533489993423820",
            "origin": "0xa416bdda32b00e218f08ace220bab512c863ff2f"
        }
    ],
    "meta": {
        "address": "0xa416bdda32b00e218f08ace220bab512c863ff2f",
        "count": 297900,
        "page": 1,
        "pages": 1490,
        "per_page": 200,
        "sort": "desc",
        "timestamp": 1720532727
    }
}
```

{% endtab %}
{% endtabs %}
