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

# One TWAP order in detail

> Full detail for one TWAP: metadata, event history and fill summary.



## OpenAPI

````yaml /api-reference/openapi.json get /twaps/{twap_id}
openapi: 3.0.3
info:
  title: 'Hypedexer API: Indexed Data'
  version: 1.0.0
  description: >-
    API to query indexed Hyperliquid trading data.


    This API provides access to stored/indexed trading data:

    - **Fills**: Executed orders and fills (Spot-only or All = Spot + Perp)

    - **Analytics**: Aggregations and statistics based on indexed data

    - **Completed Trades**: Trade objects and their related fills

    - **Users**: User overviews, performance and activity

    - **Social Trading**: Per-trader equity curve, PnL calendar, account
    leverage and top trades

    - **Funding**: Funding rate history, user funding payments, predicted rates

    - **Liquidations**: Liquidation events with filters

    - **Overview**: Market dashboard metrics (volume, fees, traders, PnL)

    - **Spot**: Spot token metadata, pairs, and auctions

    - **TWAPs**: TWAP orders, execution stats and fills

    - **Vaults**: Vault details, summaries, equity, ledger


    > Note: No live streaming. Responses are computed from indexed data.
servers:
  - url: https://api.hypedexer.com
    description: Production, routed to the nearest region (EU or JP)
security:
  - ApiKeyAuth: []
tags:
  - name: Fills
    description: Fills endpoints.
  - name: Analytics
    description: Aggregations and stats.
  - name: Completed Trades
    description: Trades and fills.
  - name: Users
    description: User profiles.
  - name: Funding
    description: Funding rates and payments (HL-compatible).
  - name: Liquidations
    description: Liquidation events.
  - name: Overview
    description: Market dashboard metrics.
  - name: Spot
    description: Spot token metadata, pairs and auctions.
  - name: TWAPs
    description: TWAP orders, stats and fills.
  - name: Vaults
    description: Vault details, summaries, equity and ledger.
  - name: Social Trading
    description: >-
      Per-trader equity, PnL calendar, performance, account leverage and top
      trades.
paths:
  /twaps/{twap_id}:
    get:
      tags:
        - TWAPs
      summary: One TWAP order in detail
      description: 'Full detail for one TWAP: metadata, event history and fill summary.'
      parameters:
        - name: twap_id
          in: path
          required: true
          schema:
            type: integer
            description: TWAP ID
            title: Twap Id
          description: TWAP ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  data:
                    type: object
                  total_count:
                    type: integer
                    nullable: true
                  next_cursor:
                    type: string
                    nullable: true
                  has_more:
                    type: boolean
                    nullable: true
              example:
                success: true
                message: TWAP 2230869
                data:
                  meta:
                    twapId: 2230869
                    status: activated
                    coin: ENA
                    user: '0xb16209e95a9693e6462f8c4004da4a824597eb5f'
                    side: B
                    sz: 49727
                    executedSz: 0
                    executedNtl: 0
                    executionPct: 0
                    minutes: 5
                    reduceOnly: false
                    randomize: false
                    startTime: '2026-09-19T07:05:46'
                    updatedAt: '2026-09-19T07:05:46.945925'
                  events:
                    - eventTime: '2026-09-19T07:05:46.945925'
                      status: activated
                      executedSz: 0
                      executedNtl: 0
                  fills:
                    fillCount: 8
                    totalNotional: 3249.45812
                    totalSz: 18082
                    avgPx: 0.17983624999999998
                    minPx: 0.1792
                    maxPx: 0.18024
                    totalFees: 1.4037640000000002
                    totalBuilderFees: 0
                    firstFill: '2026-09-19T07:05:48.010999'
                    lastFill: '2026-09-19T07:07:18.036000'
                total_count: null
                execution_time_ms: 600.94
                next_cursor: null
                has_more: null
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Your Hypedexer API key. Create one in the console at
        https://app.hypedexer.com. `Authorization: Bearer <key>` and the
        `api_key` query parameter are accepted as well.

````