> ## Documentation Index
> Fetch the complete documentation index at: https://hypernode-docs.polynode.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Recent Trades

Recent fills for a single asset.

`side` is `B` for buy aggressor, `A` for sell aggressor. `users` contains both maker and taker addresses.

## Example

```bash theme={null}
curl -H "x-api-key: YOUR_KEY" "https://hyper.polynode.dev/v2/trades?coin=BTC"
```

```json theme={null}
[
  {
    "coin": "BTC",
    "side": "A",
    "px": "71842.0",
    "sz": "0.00251",
    "time": 1776093919125,
    "hash": "0xd71f7d9c0cb6d195d89904390f97b50202920081a7b9f0677ae828eecbbaab80",
    "tid": 932980843183064,
    "users": [
      "0x57dd78cd36e76e2011e8f6dc25cabbaba994494b",
      "0x7f61c154ad14e817162a018122819ff8eddf28d6"
    ]
  }
]
```


## OpenAPI

````yaml GET /exchange/trades
openapi: 3.1.0
info:
  title: hypernode API
  description: >-
    Real-time HyperLiquid L1 streaming and REST API for market data, trading,
    and account management.
  contact:
    name: hypernode
    url: https://hyper.polynode.dev
  version: 1.0.0
servers:
  - url: https://hyper.polynode.dev
    description: Production
security: []
paths:
  /exchange/trades:
    get:
      tags:
        - Market Data
      summary: Recent trades
      operationId: get_trades
      parameters:
        - name: coin
          in: query
          required: true
          schema:
            type: string
        - name: network
          in: query
          required: false
          schema:
            type: string
            default: mainnet
      responses:
        '200':
          description: Array of recent fills
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Fill'
components:
  schemas:
    Fill:
      type: object
      properties:
        coin:
          type: string
        side:
          type: string
          description: B = buy aggressor, A = sell aggressor
        px:
          type: string
        sz:
          type: string
        time:
          type: integer
        hash:
          type: string
        tid:
          type: integer
        users:
          type: array
          items:
            type: string

````