---
title: "Data Quality REST API | 0xArchive Docs"
description: "Monitor freshness, incidents, coverage, latency, health, and SLA signals with 0xArchive REST data-quality routes for operations."
canonical_url: "https://www.0xarchive.io/docs/rest-api/data-quality/"
markdown_url: "https://www.0xarchive.io/docs/rest-api/data-quality.md"
route: "/docs/rest-api/data-quality"
robots: "index, follow"
generated_from: "prerendered_html"
---

# Data Quality REST API

REST monitoring routes for freshness, incidents, coverage, latency, health, and SLA checks. 8 documented routes for QA and operations.

Routes 8 documented routes Focus Freshness and incidents Use Monitoring and QA

[OpenAPI Spec](https://www.0xarchive.io/openapi.json)

## Data Quality

Freshness, incidents, latency, coverage, and health checks.

### Data Quality

GET

`/v1/data-quality/status`

Copy

0 credit s

Get overall system health status and per-exchange status

Request

```
/v1/data-quality/status
```

Response

```
{
  "success": true,
  "data": {
    "status": "operational",
    "updated_at": "2026-01-01T12:00:00Z",
    "services": [
      {
        "name": "rest_api",
        "status": "operational"
      },
      {
        "name": "websocket",
        "status": "operational"
      },
      {
        "name": "export_pipeline",
        "status": "operational"
      }
    ]
  },
  "meta": {
    "request_id": "req_abc123",
    "count": 1
  }
}
```

GET

`/v1/data-quality/coverage`

Copy

1 credit

Get data coverage summary across all exchanges and data types.

Get data coverage summary across all exchanges and data types. Note: May take 30-60 seconds on first request (cached for 5 minutes).

Request

```
/v1/data-quality/coverage
```

Response

```
{
  "success": true,
  "data": [
    {
      "exchange": "hyperliquid",
      "symbols": 248,
      "earliest_available": "2023-04-01T00:00:00Z"
    },
    {
      "exchange": "lighter",
      "symbols": 86,
      "earliest_available": "2025-08-01T00:00:00Z"
    },
    {
      "exchange": "hyperliquid_hip3",
      "symbols": 125,
      "earliest_available": "2026-02-17T00:00:00Z"
    },
    {
      "exchange": "hyperliquid_spot",
      "symbols": 294,
      "earliest_available": "2025-03-22T00:00:00Z"
    }
  ],
  "meta": {
    "request_id": "req_abc123",
    "count": 4
  }
}
```

GET

`/v1/data-quality/coverage/:exchange`

Copy

1 credit

Get detailed coverage for a specific exchange.

Get detailed coverage for a specific exchange. Note: May take 30-60 seconds on first request (cached for 5 minutes).

Parameters

`exchange`

path required

Exchange name (hyperliquid, lighter, hip3)

Request

```
/v1/data-quality/coverage/hyperliquid
```

Response

```
{
  "success": true,
  "data": {
    "exchange": "hyperliquid",
    "symbols": 248,
    "data_types": [
      "orderbook",
      "trades",
      "candles",
      "funding",
      "open_interest",
      "liquidations"
    ],
    "earliest_available": "2023-04-01T00:00:00Z"
  },
  "meta": {
    "request_id": "req_abc123",
    "count": 1
  }
}
```

GET

`/v1/data-quality/coverage/:exchange/:symbol`

Copy

2 credit s

Get symbol-specific coverage with gap detection and empirical data cadence.

Get symbol-specific coverage with gap detection and empirical data cadence. Supports time-bounded gap detection via from/to params (default: last 30 days). Historical coverage uses hour-level granularity. Note: May take 30-60 seconds on first request (cached for 1 hour).

Parameters

`exchange`

path required

Exchange name (hyperliquid, lighter, hip3)

`symbol`

path required

Trading pair (e.g., BTC, ETH)

`from`

query

Start of gap detection window (Unix ms). Default: now - 30 days

`to`

query

End of gap detection window (Unix ms). Default: now

Request

```
/v1/data-quality/coverage/hyperliquid/BTC?from=1704067200000&to=1706745600000
```

Response

```
{
  "success": true,
  "data": {
    "exchange": "hyperliquid",
    "symbol": "BTC",
    "coverage": {
      "orderbook": {
        "from": "2023-04-01T00:00:00Z",
        "to": "2026-01-01T12:00:00Z",
        "status": "complete"
      },
      "trades": {
        "from": "2023-04-01T00:00:00Z",
        "to": "2026-01-01T12:00:00Z",
        "status": "complete"
      }
    }
  },
  "meta": {
    "request_id": "req_abc123",
    "count": 1
  }
}
```

GET

`/v1/data-quality/incidents`

Copy

1 credit

List data quality incidents with filtering and pagination

Parameters

`status`

query

Filter by status: open, resolved, all (default: all)

`severity`

query

Filter by severity: critical, major, minor

`exchange`

query

Filter by exchange

`limit`

query

Max results (default: 50)

`offset`

query

Pagination offset

Request

```
/v1/data-quality/incidents?status=open&limit=10
```

Response

```
{
  "success": true,
  "data": [
    {
      "id": "inc_abc123",
      "status": "resolved",
      "severity": "minor",
      "exchange": "hyperliquid",
      "started_at": "2026-01-01T10:15:00Z",
      "resolved_at": "2026-01-01T10:42:00Z"
    }
  ],
  "meta": {
    "request_id": "req_abc123",
    "count": 1
  }
}
```

GET

`/v1/data-quality/incidents/:id`

Copy

1 credit

Get details for a specific incident

Parameters

`id`

path required

Incident ID

Request

```
/v1/data-quality/incidents/inc_abc123
```

Response

```
{
  "success": true,
  "data": {
    "id": "inc_abc123",
    "status": "resolved",
    "severity": "minor",
    "summary": "Delayed order book checkpoints for BTC",
    "affected": [
      {
        "exchange": "hyperliquid",
        "symbol": "BTC",
        "data_type": "orderbook"
      }
    ],
    "started_at": "2026-01-01T10:15:00Z",
    "resolved_at": "2026-01-01T10:42:00Z"
  },
  "meta": {
    "request_id": "req_abc123",
    "count": 1
  }
}
```

GET

`/v1/data-quality/latency`

Copy

1 credit

Get current latency metrics for WebSocket, REST API, and data freshness

Request

```
/v1/data-quality/latency
```

Response

```
{
  "success": true,
  "data": {
    "rest_p50_ms": 42,
    "rest_p95_ms": 138,
    "websocket_p95_ms": 95,
    "freshness_lag_ms": 1200,
    "measured_at": "2026-01-01T12:00:00Z"
  },
  "meta": {
    "request_id": "req_abc123",
    "count": 1
  }
}
```

GET

`/v1/data-quality/sla`

Copy

5 credit s

Get SLA compliance metrics for a specific month

Parameters

`year`

query

Year (default: current year)

`month`

query

Month 1-12 (default: current month)

Request

```
/v1/data-quality/sla?year=2026&month=1
```

Response

```
{
  "success": true,
  "data": {
    "month": "2026-01",
    "uptime_percent": 99.98,
    "incidents": 1,
    "excluded_minutes": 0
  },
  "meta": {
    "request_id": "req_abc123",
    "count": 1
  }
}
```
