> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arrays.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Crypto Market Metrics Time Series Data

> [OpenAPI JSON Spec](/docs/output/v1_crypto_market-metrics_get.json)
Retrieve time series data for various crypto market indicators, including technical and fundamental metrics.

**Overview**
This endpoint provides market indicators for cryptocurrencies across different time intervals (1d, 1w, 1m).
Indicators include technical analysis tools (MA, EMA, RSI, etc.) and crypto fundamentals (Market Cap, FDV, etc.).

**Supported Indicators**
- **MARKET_CAP**: Market capitalization
- **FDV**: Fully Diluted Valuation
- **PRICE_CHANGE**: `PRICE_CHANGE_1d`, `PRICE_CHANGE_1w`, `PRICE_CHANGE_1M`, `PRICE_CHANGE_3M`, `PRICE_CHANGE_6M`, `PRICE_CHANGE_ytd`, `PRICE_CHANGE_1y`, `PRICE_CHANGE_3y`, `PRICE_CHANGE_5y`
- **MA**: `MA_5`, `MA_10`, `MA_20`, `MA_60`, `MA_120`, `MA_200`
- **EMA**: `EMA_5`, `EMA_10`, `EMA_20`, `EMA_60`, `EMA_120`, `EMA_200`
- **RSI**: `RSI_14`
- **MACD**: `MACD_12,26,9`
- **BOLLINGER**: `BOLLINGER_20,2`
- **BETA**: `BETA` (default period is `BTC_365`; interval must be `1d`)
- **VOLATILITY**: `VOLATILITY_20`, `VOLATILITY_60`, `VOLATILITY_90`

**Validation Rules**
- **Required Parameters**: interval, indicator, start_time, end_time.
- **Interval**: Must be one of `1d`, `1w`, `1m`.
- **Time Range**: `start_time` must be less than `end_time`.




## OpenAPI

````yaml /api-reference/openapi.json get /v1/crypto/market-metrics
openapi: 3.0.0
info:
  contact: {}
  description: >-
    Welcome to Arrays!


    Arrays is a unified financial data layer for both financial institutions and
    retail users, delivering comprehensive market data across crypto and equity
    markets. Our datasets cover fundamentals, ETFs, options, crypto, and more.


    Visit [arrays.org](https://arrays.org) to request an API key and start your
    free trial. You can explore our full API offerings in the documentation
    below.


    For any questions regarding APIs or pricing, please contact
    support@arrays.org.
  title: Arrays API
  version: '1.0'
servers:
  - url: https://data-tools.prd.arrays.org/api
security: []
paths:
  /v1/crypto/market-metrics:
    get:
      tags:
        - Crypto
      summary: Get Crypto Market Metrics Time Series Data
      description: >
        [OpenAPI JSON Spec](/docs/output/v1_crypto_market-metrics_get.json)

        Retrieve time series data for various crypto market indicators,
        including technical and fundamental metrics.


        **Overview**

        This endpoint provides market indicators for cryptocurrencies across
        different time intervals (1d, 1w, 1m).

        Indicators include technical analysis tools (MA, EMA, RSI, etc.) and
        crypto fundamentals (Market Cap, FDV, etc.).


        **Supported Indicators**

        - **MARKET_CAP**: Market capitalization

        - **FDV**: Fully Diluted Valuation

        - **PRICE_CHANGE**: `PRICE_CHANGE_1d`, `PRICE_CHANGE_1w`,
        `PRICE_CHANGE_1M`, `PRICE_CHANGE_3M`, `PRICE_CHANGE_6M`,
        `PRICE_CHANGE_ytd`, `PRICE_CHANGE_1y`, `PRICE_CHANGE_3y`,
        `PRICE_CHANGE_5y`

        - **MA**: `MA_5`, `MA_10`, `MA_20`, `MA_60`, `MA_120`, `MA_200`

        - **EMA**: `EMA_5`, `EMA_10`, `EMA_20`, `EMA_60`, `EMA_120`, `EMA_200`

        - **RSI**: `RSI_14`

        - **MACD**: `MACD_12,26,9`

        - **BOLLINGER**: `BOLLINGER_20,2`

        - **BETA**: `BETA` (default period is `BTC_365`; interval must be `1d`)

        - **VOLATILITY**: `VOLATILITY_20`, `VOLATILITY_60`, `VOLATILITY_90`


        **Validation Rules**

        - **Required Parameters**: interval, indicator, start_time, end_time.

        - **Interval**: Must be one of `1d`, `1w`, `1m`.

        - **Time Range**: `start_time` must be less than `end_time`.
      parameters:
        - description: Time interval
          in: query
          name: interval
          required: true
          schema:
            type: string
            enum:
              - 1d
              - 1w
              - 1m
        - description: Indicator type (e.g., MA_20, PRICE_CHANGE_1d, MARKET_CAP, FDV)
          in: query
          name: indicator
          required: true
          schema:
            type: string
        - description: Token symbol (optional, e.g., BTC, ETH, SOL)
          in: query
          name: symbol
          schema:
            type: string
        - description: Start time (Unix timestamp in seconds)
          in: query
          name: start_time
          required: true
          schema:
            type: integer
            format: int64
        - description: End time (Unix timestamp in seconds)
          in: query
          name: end_time
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Successfully retrieved crypto market metrics data
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      data:
                        items:
                          $ref: '#/components/schemas/model.MarketSymbolMetricData'
                        type: array
                    type: object
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      error:
                        $ref: '#/components/schemas/model.APIError'
                    type: object
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      error:
                        $ref: '#/components/schemas/model.APIError'
                    type: object
      security:
        - ApiKeyAuth: []
components:
  schemas:
    model.APIResponse:
      properties:
        data: {}
        error:
          $ref: '#/components/schemas/model.APIError'
        metadata: {}
        pagination: {}
        request_id:
          type: string
        success:
          type: boolean
      type: object
    model.MarketSymbolMetricData:
      properties:
        symbol:
          example: AAPL
          type: string
        type:
          example: MA_20
          type: string
        values:
          items:
            $ref: '#/components/schemas/model.MarketMetricValue'
          type: array
      type: object
    model.APIError:
      properties:
        code:
          example: RESOURCE_NOT_FOUND
          type: string
        details:
          items:
            $ref: '#/components/schemas/model.APIErrorDetail'
          type: array
        docs_url:
          type: string
        examples:
          items:
            type: string
          type: array
        hint:
          type: string
        message:
          example: The requested resource was not found.
          type: string
        suggestions:
          items:
            type: string
          type: array
      type: object
    model.MarketMetricValue:
      properties:
        date:
          description: Formatted date (YYYY-MM-DD HH:mm:ss, UTC+0)
          example: '2024-01-01 12:00:00'
          type: string
        metric_component:
          example: UPPER
          type: string
        observed_at:
          example: 1672531200
          type: integer
        value:
          description: Metric value (null if not available)
          example: 150.25
          type: number
      type: object
    model.APIErrorDetail:
      properties:
        field:
          type: string
        got:
          type: string
        reason:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: 'API Key authentication. Example: "your-api-key-here"'
      in: header
      name: X-API-Key
      type: apiKey

````