> ## 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.

# CoinFreshness Schema

> Data freshness for all data types for a specific coin. Includes parameters, response shapes, examples, and implementation notes from the 0xArchive contract.

Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas.

Data freshness for all data types for a specific coin

## Required Fields

| Field         | Type             | Description                                          |
| ------------- | ---------------- | ---------------------------------------------------- |
| `coin`        | string           | Trading pair symbol (deprecated, use symbol instead) |
| `exchange`    | string           | Exchange name                                        |
| `measured_at` | string:date-time | When the freshness was measured                      |
| `symbol`      | string           | Trading pair symbol                                  |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CoinFreshness",
  "description": "Data freshness for all data types for a specific coin",
  "type": "object",
  "required": [
    "coin",
    "exchange",
    "measured_at",
    "symbol"
  ],
  "properties": {
    "coin": {
      "description": "Trading pair symbol (deprecated, use symbol instead)",
      "type": "string",
      "deprecated": true,
      "example": "BTC"
    },
    "exchange": {
      "description": "Exchange name",
      "type": "string",
      "example": "hyperliquid"
    },
    "funding": {
      "description": "Freshness information for a single data type",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Current lag in milliseconds between now and last update",
          "type": "integer",
          "nullable": true,
          "example": 1200
        },
        "last_updated": {
          "description": "When this data type was last updated for the coin",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-02-23T12:00:00.000Z"
        }
      }
    },
    "liquidations": {
      "description": "Freshness information for a single data type",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Current lag in milliseconds between now and last update",
          "type": "integer",
          "nullable": true,
          "example": 1200
        },
        "last_updated": {
          "description": "When this data type was last updated for the coin",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-02-23T12:00:00.000Z"
        }
      }
    },
    "measured_at": {
      "description": "When the freshness was measured",
      "type": "string",
      "format": "date-time",
      "example": "2026-02-23T12:00:00.000Z"
    },
    "open_interest": {
      "description": "Freshness information for a single data type",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Current lag in milliseconds between now and last update",
          "type": "integer",
          "nullable": true,
          "example": 1200
        },
        "last_updated": {
          "description": "When this data type was last updated for the coin",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-02-23T12:00:00.000Z"
        }
      }
    },
    "orderbook": {
      "description": "Freshness information for a single data type",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Current lag in milliseconds between now and last update",
          "type": "integer",
          "nullable": true,
          "example": 1200
        },
        "last_updated": {
          "description": "When this data type was last updated for the coin",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-02-23T12:00:00.000Z"
        }
      }
    },
    "symbol": {
      "description": "Trading pair symbol",
      "type": "string",
      "example": "BTC"
    },
    "trades": {
      "description": "Freshness information for a single data type",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Current lag in milliseconds between now and last update",
          "type": "integer",
          "nullable": true,
          "example": 1200
        },
        "last_updated": {
          "description": "When this data type was last updated for the coin",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-02-23T12:00:00.000Z"
        }
      }
    }
  }
}
```

## Referenced By

Use this shared schema with the generated component index and route-specific endpoint pages during implementation.
