# Trades

## Get Trades

<mark style="color:blue;">`GET`</mark> `https://api.vaultoro.com/v1/public/trades`

This endpoint allows you to get the latest trades.

#### Query Parameters

| Name  | Type   | Description                                                                    |
| ----- | ------ | ------------------------------------------------------------------------------ |
| page  | number | Filter the results by page                                                     |
| pair  | string | Enter the pair to filter by. Currently available: DASHBTC, GOLDBTC or GOLDDASH |
| until | number | Unix timestamp to filter the results until                                     |
| since | string | Unix timestamp to filter results since                                         |
| limit | number | Limit the number of results                                                    |

{% tabs %}
{% tab title="200 Trades successfully retrieved." %}

```
{
    "data": [
        {
            "createdAt": 1595427428,
            "matchType": "LIMIT",
            "pair": "GOLDBTC",
            "price": "0.00615450",
            "quantity": "1.0000",
            "type": "BUY",
            "updatedAt": 1595427428
        }
    ],
    "pagination": {
        "count": 1
    }
}

```

{% endtab %}

{% tab title="404 Could not find any matching trades for this query." %}

```
{
    "data": [],
    "pagination": {
        "count": 0
    }
}

```

{% endtab %}
{% endtabs %}
