Get HIP-4 order flow
Get order flow aggregation for a HIP-4 outcome side, in buckets of granularity (1m by default). Shows order placement and cancellation rates over time.
Buckets: each bucket is labelled by its open time in UTC, and buckets open on multiples of the bucket width since the Unix epoch. A bucket with no order events is omitted. A bucket counts only the events inside [start, end), so when start or end falls inside a bucket, that first or last bucket is partial; start and end on bucket opens give whole buckets.
Request
- Base URL: https://api.0xarchive.io
- URL: https://api.0xarchive.io/v1/hyperliquid/hip4/orders/{symbol}/flow
- Auth: API key in header X-API-Key
Path parameters
HIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). The #-prefixed form (#0, #1) is also accepted.
Query parameters
Start timestamp in Unix milliseconds, inclusive (default: 24 hours before now)
End timestamp in Unix milliseconds, exclusive (default: now)
Cursor for pagination (use the value from previous response's next_cursor)
Maximum number of buckets, oldest first (default: 1000, max: 10000)
Bucket width (default: 1m). interval is accepted as an alias and takes precedence when both are sent. Any other value returns 400.
Response
Order flow aggregation data
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.