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

# Capability Schema

> What one venue serves for one data type. Includes generated fields, route metadata, response shapes, and implementation-safe 0xArchive contract details.

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

What one venue serves for one data type.

## 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": "Capability",
  "description": "What one venue serves for one data type.",
  "type": "object",
  "properties": {
    "available_from": {
      "description": "First served instant (RFC 3339, UTC). Null when the data type has no venue-wide floor; see `/v1/symbols` for per-symbol coverage.",
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "cadence": {
      "description": "How rows are produced: `event`, `snapshot`, `sample`, `interval`, or `reference`.",
      "type": "string",
      "example": "event"
    },
    "datatype": {
      "description": "Data type, for example `trades`, `l4_diffs`, or `candles`.",
      "type": "string",
      "example": "trades"
    },
    "intervals": {
      "description": "Values the `interval` parameter accepts. Empty when it does not apply.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "live": {
      "description": "True when the WebSocket channels stream live data.",
      "type": "boolean"
    },
    "notes": {
      "description": "Data-type caveats, such as a policy floor or a replay restriction.",
      "type": "string",
      "nullable": true
    },
    "page_limit": {
      "description": "Largest `limit` the REST routes accept. Null when the routes do not page.",
      "type": "integer",
      "nullable": true
    },
    "replay": {
      "description": "True when the WebSocket channels support historical replay.",
      "type": "boolean"
    },
    "rest_routes": {
      "description": "REST route templates that serve the data type.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "venue": {
      "description": "Venue, as `meta.venue` and `/v1/symbols` name it.",
      "type": "string",
      "enum": [
        "hyperliquid",
        "hip3",
        "hip4",
        "spot",
        "lighter",
        "rh-lighter"
      ]
    },
    "ws_channels": {
      "description": "WebSocket channels that carry the data type. Empty when it is REST-only.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
```

## Components using this schema

* [ApiResponseCapabilityArray](/schemas/components/api-response-capability-array)

## Referenced By

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

## Operations using this component transitively

* [`GET /v1/capabilities`](/schemas/operations/list-capabilities)


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