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

# Fills

> Every fill of the wallet between start_time and end_time, oldest first.



## OpenAPI

````yaml /data-api/openapi.json get /v1/accounts/{address}/fills
openapi: 3.1.0
info:
  title: Hyperdash Data API
  version: v1
  description: >-
    Hyperliquid data from Hyperdash's own nodes and stored datasets; requests
    never call Hyperliquid's public API. Every response reports the credits it
    cost.
servers:
  - url: https://data.hyperdash.com
security: []
tags:
  - name: Accounts
  - name: Async jobs
  - name: Builders
  - name: Cohorts
  - name: HIP-3 dexes
  - name: Leaderboards
  - name: Lending
  - name: Liquidations
  - name: Markets
  - name: 'Markets: analytics'
  - name: 'Markets: funding'
  - name: 'Markets: liquidation and stop levels'
  - name: 'Markets: open interest and positioning'
  - name: 'Markets: order book'
  - name: 'Markets: prices and candles'
  - name: 'Markets: queue priority'
  - name: 'Markets: trades and flow'
  - name: 'Markets: TWAPs'
  - name: Network
  - name: Outcomes
  - name: Positions
  - name: Referrals
  - name: Snapshots
  - name: Spot
  - name: Staking
  - name: Traders
  - name: Vaults
paths:
  /v1/accounts/{address}/fills:
    get:
      tags:
        - Accounts
      summary: Fills
      description: >-
        Every fill of the wallet between `start_time` and `end_time`, oldest
        first.


        **How it works**

        - By default every raw fill is its own row: each match with each resting
        order. Rows are ordered by time, coin and `tid`.

        - With `aggregate=true`, an order's partial fills in one block are
        merged into one fill per order per block. Rows are ordered by time and
        order id, and counts are lower than raw.

        - A merged row sums size, fee, builder fee, deployer fee, priority gas
        and closed PnL. It has the size-weighted price and the first fill's
        `tid`, start position and direction.


        **Limits**

        - The range is at most 7 days. Fills start 2025-03-22, within your
        plan's history window.


        **Notes**

        - `aggregate=true` shows fills as hyperdash.com shows them, following
        Hyperliquid's `aggregateByTime`.


        **Credits:** 80 per request + 2 per row. Range multiplier: ×1 to 1 day,
        ×2 to 7 days.


        **Scope:** `accounts:read`
      operationId: getAccountFills
      parameters:
        - name: address
          in: path
          required: true
          description: 'Wallet address: `0x` followed by 40 hex characters.'
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Rows per page.
          schema:
            type: integer
            minimum: 1
            maximum: 1000
            default: 100
        - name: aggregate
          in: query
          required: false
          description: >-
            `true` merges each order's partial fills in one block into one fill,
            as hyperdash.com shows them. Defaults to raw fills.
          schema:
            type: string
            default: 'false'
            enum:
              - 'false'
              - 'true'
        - name: start_time
          in: query
          required: false
          description: >-
            Start time in epoch milliseconds, inclusive. Defaults to 24 hours
            before `end_time`.
          schema:
            type: integer
        - name: end_time
          in: query
          required: false
          description: End time in epoch milliseconds. Defaults to now.
          schema:
            type: integer
        - name: cursor
          in: query
          required: false
          description: Opaque cursor from `next_cursor`. It replaces the range.
          schema:
            type: string
      responses:
        '200':
          description: OK
          headers:
            X-Credits-Charged:
              schema:
                type: integer
            X-Credit-Price-Version:
              schema:
                type: integer
            X-Request-Id:
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - has_more
                  - next_cursor
                  - meta
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        time:
                          type: integer
                          description: Event time, in epoch milliseconds.
                        coin:
                          type: string
                          description: Market.
                        side:
                          type: string
                          description: '`B` for buy or `A` for sell.'
                        px:
                          type: string
                          description: Price. Decimal string.
                        sz:
                          type: string
                          description: Size. Decimal string.
                        dir:
                          type: string
                          description: Open Long, Close Short, ….
                        start_position:
                          type: string
                          description: Position before this fill. Decimal string.
                        closed_pnl:
                          type: string
                          description: Realized PnL. Decimal string.
                        fee:
                          type: string
                          description: Fee. Decimal string.
                        fee_token:
                          type: string
                          description: Fee asset.
                        crossed:
                          type: boolean
                          description: Taker.
                        hash:
                          type: string
                          description: Transaction hash.
                        oid:
                          type: string
                          description: Order id.
                        tid:
                          type: string
                          description: Trade id.
                        twap_id:
                          type:
                            - string
                            - 'null'
                          description: TWAP id.
                        builder:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Builder code, which is an address, that the order
                            was sent with. `null` when none. Recorded from
                            2025-07-28, so `null` on earlier fills.
                        builder_fee:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Builder fee, in `fee_token` and included in `fee`.
                            `null` without a builder or when the node did not
                            report it. Decimal string.
                        cloid:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Client order id the order was placed with. `null`
                            when none. For stored fills, and `aggregate=true`
                            older than 12 hours, from 2025-07-28 and `null`
                            before.
                        liquidated_user:
                          type:
                            - string
                            - 'null'
                          description: >-
                            When this fill is part of a liquidation, the
                            liquidated wallet. Both legs carry it, and when it
                            is equal to the wallet, the liquidation is the
                            wallet's own. `null` otherwise. For stored fills,
                            and `aggregate=true` older than 12 hours, from
                            2025-03-22.
                        liquidation_mark_px:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Mark price the liquidation was triggered at. Decimal
                            string.
                        liquidation_method:
                          type:
                            - string
                            - 'null'
                          description: '`market` or `backstop`.'
                        deployer_fee:
                          type:
                            - string
                            - 'null'
                          description: >-
                            HIP-3 deployer's share of the fee, in `fee_token`
                            and part of `fee`. Negative on a maker rebate.
                            `null` on core markets. For stored fills, and
                            `aggregate=true` older than 12 hours, from
                            2025-07-28, but the node fill carries it only from
                            2026-03-21 09:33 UTC, so it is `null` on earlier
                            HIP-3 fills. For `aggregate=true`, the sum over the
                            merged fills that carry one. Decimal string.
                        priority_gas:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Priority gas paid for the order, in HYPE. `null`
                            when none. For stored fills, and `aggregate=true`
                            older than 12 hours, from 2026-04-13. For
                            `aggregate=true`, the sum over the merged fills that
                            carry one. Decimal string.
                        sub_builders:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Sub-builders sharing this fill's builder fee, as a
                            JSON array `[{"address", "share"}]`, with `share` in
                            1/100,000 of the builder fee. `null` when none or
                            when the list failed the node's validation. For
                            stored fills, from 2026-10-26.
                        tx_index:
                          type:
                            - integer
                            - 'null'
                          description: >-
                            Index of the fill's transaction in its block, which
                            orders fills of one millisecond. `null` on stored
                            fills, where it is not recorded.
                        block_number:
                          type:
                            - integer
                            - 'null'
                          description: >-
                            Height of the node block that carried the fill. Raw
                            (stored) fills only, from 2025-07-28 and `null`
                            before. `null` on `aggregate=true` and the fills
                            stream.
                        block_time:
                          type:
                            - integer
                            - 'null'
                          description: >-
                            Time of that block, in epoch milliseconds. It equals
                            the fill's time on every fill checked. Same coverage
                            as `block_number`.
                    description: Result rows.
                  has_more:
                    type: boolean
                    description: '`true` when another page follows.'
                  next_cursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Cursor for the next page, passed as `cursor`. `null` on
                      the last page.
                  meta:
                    type: object
                    description: >-
                      Response metadata. Its keys depend on the endpoint and are
                      described above.
        '400':
          description: 'Invalid parameter (also: a request body that is not valid JSON)'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Invalid, expired or revoked key
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Scope, plan, history or credit limit
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Price version changed, or a cursor's snapshot expired
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: >-
            Rate limited (Retry-After; free): request rate, concurrent requests
            (a request counts one slot per 1,000 rows it can return), or this
            server busy with your workspace's requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '502':
          description: Upstream data source failed (free; retry later)
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: Backend at capacity or temporarily unavailable (Retry-After)
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '504':
          description: Upstream data source timed out (free; retry later)
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
        - bearer: []
      x-codeSamples:
        - lang: curl
          source: >-
            curl -H "Authorization: Bearer $HYPERDASH_API_KEY"
            'https://data.hyperdash.com/v1/accounts/0x…/fills?limit=100'
components:
  schemas:
    Problem:
      type: object
      required:
        - type
        - title
        - status
        - code
        - request_id
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        code:
          type: string
        detail:
          type: string
        hint:
          type: string
        request_id:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Your API key, sent as `Bearer hdk_sk_live_v1_…`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.