---
title: "Get account positions freshness"
method: GET
path: "/v1/data-quality/positions"
tags: ["Data Quality"]
---

# Get account positions freshness

`GET /v1/data-quality/positions`

## Request

- Base URL: `https://api.0xarchive.io`
- URL: `https://api.0xarchive.io/v1/data-quality/positions`
- Auth: API key in header `X-API-Key`

Freshness of each account positions product: latest live and hourly snapshots, live age, and how far the change log is built and final. Lighter on Robinhood Chain is listed once its positions routes are public.

## Response `200`

Positions freshness per product

- ApiResponsePositionsFreshnessArray: Freshness of every positions product.
  - `success` boolean
  - `data` PositionsFreshness[]
    - `venue` string, required: `hyperliquid`, `lighter`, or `rh_lighter`.
    - `product` string, required: `core`, `hip3`, `lighter`, or `rh_lighter`.
    - `live_snapshot_ts` string, date-time, nullable, required: Latest live snapshot.
    - `live_age_seconds` integer, nullable, required: Age of the latest live snapshot in seconds.
    - `stale` boolean, required: True when the latest live snapshot is older than 12 minutes, or there is none.
    - `live_quality` string, nullable, required: Quality of the latest live snapshot.
    - `hourly_snapshot_ts` string, date-time, nullable, required: Latest committed hourly snapshot.
    - `built_through` string, date-time, nullable, required: Every event before this instant is built into the change log and as-of state.
    - `finalized_through` string, date-time, nullable, required: Every event before this instant is final and will not be re-derived.
  - `meta` ResponseMeta: Response metadata. Every 2xx JSON response carries `meta.request_id`; list payloads add `count`; cursor-paged routes add `has_more` and, when another page follows, `next_cursor`; per-symbol routes add `symbol` and `venue`. Fields that do not apply to a route are omitted.
    - `count` integer: Number of records returned
    - `has_more` boolean: Cursor-paged routes: whether another page follows. `next_cursor` is present exactly when this is `true`. A final page can be empty when the previous page was exactly full; `has_more` is `false` on it.
    - `next_cursor` string: Opaque cursor for the next page, present exactly when `has_more` is `true`. Pass it back unchanged as `cursor` with the same filters. Do not parse or construct it.
    - `request_id` string, uuid, required: Unique request ID for support
    - `symbol` string: Per-symbol routes: the canonical public symbol the response describes (for example `BTC`, `xyz:TSLA`, `HYPE-USDC`, `#0`).
    - `venue` 'hyperliquid' | 'hip3' | 'hip4' | 'spot' | 'lighter' | 'rh-lighter': Per-symbol routes: the venue the response describes.
    - `coverage_from` string, date-time: Earliest coverage for the requested symbol and data type. Present only when the requested window ends before coverage begins.
    - `notice` string: 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.
    - `finalized_through` string, date-time: Two-tier datasets (Lighter trades): data at or before this instant is final; later data is preliminary.
    - `requested_end` string, date-time, nullable: The `end` the request asked for, echoed when it was clamped to `finalized_through`.
    - `clamped_to` string, date-time, nullable: The boundary the request's `end` was clamped to, when clamping occurred.
    - `preliminary_row_count` integer, nullable: Number of preliminary rows in this response, on routes that intentionally serve preliminary data (Lighter `/recent`).

## Other responses

- `401`: Authentication required: the API key is missing or invalid.
- `429`: Rate limit, concurrency limit or monthly credits exceeded. See `error_code`.
- `503`: Positions, pagination, or an as-of reconstruction are temporarily unavailable (`error_code` `positions_unavailable`, `pagination_unavailable`, or `reconstruction_unavailable`). Retry shortly.
- `default`: Any other error. The body is an `ErrorResponse`; branch on `error_code`. A 503 (`upstream_unavailable`) carries `Retry-After`.

---

[API](https://skmtc.dev/0xarchive/apis/0xarchive-api-2.md) · [All operations](https://skmtc.dev/0xarchive/apis/0xarchive-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/0xarchive/apis/0xarchive-api-2/revisions/27076f55595f?raw)
