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

# ApiResponseTwapArray Schema

> ApiResponseTwapArray JSON Schema for 0xArchive OpenAPI responses and field contracts. Includes route metadata, schemas, examples, and implementation notes.

Source OpenAPI: 0xArchive API 1.8.0; 227 paths; 217 component schemas.

Use the JSON Schema block below for field-level types, required fields, nested objects, and enum values.

## Required Fields

No required fields are declared on this component schema.

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ApiResponseTwapArray",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "description": "One TWAP order status event.",
        "type": "object",
        "required": [
          "block_number",
          "block_time",
          "coin",
          "executed_notional",
          "executed_size",
          "minutes",
          "randomize",
          "reduce_only",
          "side",
          "size",
          "started_at",
          "status",
          "timestamp",
          "twap_id",
          "user_address"
        ],
        "properties": {
          "block_number": {
            "description": "Hyperliquid block number.",
            "type": "integer",
            "format": "int64"
          },
          "block_time": {
            "description": "Time of the block that carried the event (RFC 3339, UTC).",
            "type": "string",
            "format": "date-time"
          },
          "coin": {
            "description": "Market symbol.",
            "type": "string",
            "example": "HYPE"
          },
          "executed_notional": {
            "description": "Notional filled so far, in quote units.",
            "type": "number"
          },
          "executed_size": {
            "description": "Size filled so far, in base units.",
            "type": "number"
          },
          "minutes": {
            "description": "TWAP duration in minutes.",
            "type": "integer"
          },
          "randomize": {
            "description": "True when slice timing is randomized.",
            "type": "boolean"
          },
          "reduce_only": {
            "description": "True for a reduce-only TWAP.",
            "type": "boolean"
          },
          "side": {
            "description": "`B` (buy) or `A` (sell).",
            "type": "string",
            "enum": [
              "B",
              "A"
            ]
          },
          "size": {
            "description": "Total TWAP size, in base units.",
            "type": "number"
          },
          "started_at": {
            "description": "When the TWAP started (RFC 3339, UTC).",
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "description": "`activated`, `waitingForTrigger`, `finished`, `terminated`, `stopped`, or `error`.",
            "type": "string",
            "example": "activated"
          },
          "stop_px": {
            "description": "Price bound that ends the TWAP: the highest price for a buy, the lowest for a sell. Omitted when not set.",
            "type": "number"
          },
          "timestamp": {
            "description": "When the status event happened (RFC 3339, UTC).",
            "type": "string",
            "format": "date-time"
          },
          "trigger_above": {
            "description": "True when the TWAP activates at or above `trigger_px`. Omitted for a TWAP without a trigger.",
            "type": "boolean"
          },
          "trigger_px": {
            "description": "Activation trigger price. Omitted for a TWAP without a trigger.",
            "type": "number"
          },
          "twap_id": {
            "description": "TWAP order ID. Every event of one TWAP carries the same ID.",
            "type": "integer",
            "format": "int64"
          },
          "user_address": {
            "description": "Wallet that placed the TWAP, lowercase.",
            "type": "string"
          }
        }
      }
    },
    "meta": {
      "description": "Response metadata",
      "type": "object",
      "properties": {
        "count": {
          "description": "Number of records returned",
          "type": "integer"
        },
        "coverage_from": {
          "description": "Earliest coverage for the requested symbol and data type. Present only when the requested window ends before coverage begins.",
          "type": "string",
          "format": "date-time"
        },
        "has_more": {
          "description": "Present on cursor-paged routes: true when another page exists. `next_cursor` is present exactly when it is true.",
          "type": "boolean"
        },
        "next_cursor": {
          "description": "Cursor for pagination (timestamp). Use this value as the `cursor` parameter to fetch the next page of results.",
          "type": "string",
          "nullable": true
        },
        "notice": {
          "description": "Human-readable advisory about the response. Used when the requested window ends before coverage begins for the symbol, and on CVD responses that are one page of several; may carry other advisories in future.",
          "type": "string"
        },
        "request_id": {
          "description": "Unique request ID for support",
          "type": "string",
          "format": "uuid"
        },
        "symbol": {
          "description": "Present on per-symbol routes: the symbol the response covers.",
          "type": "string"
        },
        "venue": {
          "description": "Present on per-symbol routes: the venue the response covers, for example `hyperliquid` or `hip3`.",
          "type": "string"
        }
      }
    },
    "success": {
      "type": "boolean",
      "example": true
    }
  }
}
```

## Referenced components

* [ApiMeta](/schemas/components/api-meta)
* [TwapRecord](/schemas/components/twap-record)

## Referenced By

* [`GET /v1/hyperliquid/hip3/twap/{symbol}`](/schemas/operations/get-hip3-twap)
* [`GET /v1/hyperliquid/hip3/twap/user/{user}`](/schemas/operations/get-hip3-user-twap)
* [`GET /v1/hyperliquid/hip4/twap/{symbol}`](/schemas/operations/get-hip4-twap)
* [`GET /v1/hyperliquid/hip4/twap/user/{user}`](/schemas/operations/get-hip4-user-twap)
* [`GET /v1/hyperliquid/twap/{symbol}`](/schemas/operations/get-hyperliquid-twap)
* [`GET /v1/hyperliquid/twap/user/{user}`](/schemas/operations/get-hyperliquid-user-twap)


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