> ## 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 Metrics Screener Time Range

> [OpenAPI JSON Spec](/docs/output/v1_crypto_screener_metrics_timerange_get.json)
Retrieve tokens filtered by metrics over a time range. Returns tokens matching the specified metric type and value range, grouped by date.

**Overview:**
This endpoint filters tokens based on various metrics over a specified time range. Results are grouped by date (YYYY-MM-DD format).

**Valuation Metrics (2 metrics):**
- `MARKET_CAP`: Market Capitalization
- `FDV`: Fully Diluted Valuation

**Volume Metrics (1 metric):**
- `SHARES_VOLUME`: Trading volume (shares)

**Price Change Metrics (9 metrics):**
- `PRICE_CHANGE_1D`: Price change over 1 day (percentage)
- `PRICE_CHANGE_1W`: Price change over 1 week (percentage)
- `PRICE_CHANGE_1M`: Price change over 1 month (percentage)
- `PRICE_CHANGE_3M`: Price change over 3 months (percentage)
- `PRICE_CHANGE_6M`: Price change over 6 months (percentage)
- `PRICE_CHANGE_YTD`: Price change year-to-date (percentage)
- `PRICE_CHANGE_1Y`: Price change over 1 year (percentage)
- `PRICE_CHANGE_3Y`: Price change over 3 years (percentage)
- `PRICE_CHANGE_5Y`: Price change over 5 years (percentage)

**Moving Averages - Simple Moving Average (MA) (6 metrics):**
- `MA_5`: 5-day Simple Moving Average
- `MA_10`: 10-day Simple Moving Average
- `MA_20`: 20-day Simple Moving Average
- `MA_60`: 60-day Simple Moving Average
- `MA_120`: 120-day Simple Moving Average
- `MA_200`: 200-day Simple Moving Average

**Moving Averages - Exponential Moving Average (EMA) (6 metrics):**
- `EMA_5`: 5-day Exponential Moving Average
- `EMA_10`: 10-day Exponential Moving Average
- `EMA_20`: 20-day Exponential Moving Average
- `EMA_60`: 60-day Exponential Moving Average
- `EMA_120`: 120-day Exponential Moving Average
- `EMA_200`: 200-day Exponential Moving Average

**Momentum Indicators (1 metric):**
- `RSI_14`: Relative Strength Index (14-period) - Momentum oscillator that measures speed and magnitude of price changes (typically ranges from 0 to 100)

**MACD (Moving Average Convergence Divergence) Components (3 metrics):**
- `MACD_DIF`: MACD Line (DIF) - Difference between 12-day EMA and 26-day EMA
- `MACD_DEA`: Signal Line (DEA) - 9-day EMA of the MACD line
- `MACD_HIST`: MACD Histogram - Difference between MACD line and signal line

**Bollinger Bands Components (3 metrics):**
- `BOLLINGER_UPPER`: Upper Bollinger Band - Upper band of Bollinger Bands (20-day MA + 2 standard deviations)
- `BOLLINGER_MID`: Middle Bollinger Band - 20-day Simple Moving Average
- `BOLLINGER_LOWER`: Lower Bollinger Band - Lower band of Bollinger Bands (20-day MA - 2 standard deviations)

**Other Indicators (4 metrics):**
- `BETA`: Beta - Measure of token's volatility relative to the crypto market. Beta of 1 means token moves with market
- `VOLATILITY_20`: Volatility (20-period) - Standard deviation of returns over 20 periods (annualized)
- `VOLATILITY_60`: Volatility (60-period) - Standard deviation of returns over 60 periods (annualized)
- `VOLATILITY_90`: Volatility (90-period) - Standard deviation of returns over 90 periods (annualized)

**Filtering:**
- Use `range_min` to filter for tokens where the metric value is greater than or equal to the minimum
- Use `range_max` to filter for tokens where the metric value is less than or equal to the maximum
- Both filters can be used together to create a range
- If neither filter is provided, all tokens matching the metric type will be returned

**Limit Parameter:**
- Use `limit` to further limit the maximum number of results returned per day (optional, defaults to no limit)
- This is useful for pagination or when you only need the top N results per day

**Response Format:**
Returns an array of date-grouped data items. Each item contains a date (YYYY-MM-DD format) and an array of tokens with their symbol, snapshot time (ISO 8601 format), metric type, and metric value for that date.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/crypto/screener/metrics/timerange
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/screener/metrics/timerange:
    get:
      tags:
        - Crypto
      summary: Get Crypto Metrics Screener Time Range
      description: >-
        [OpenAPI JSON
        Spec](/docs/output/v1_crypto_screener_metrics_timerange_get.json)

        Retrieve tokens filtered by metrics over a time range. Returns tokens
        matching the specified metric type and value range, grouped by date.


        **Overview:**

        This endpoint filters tokens based on various metrics over a specified
        time range. Results are grouped by date (YYYY-MM-DD format).


        **Valuation Metrics (2 metrics):**

        - `MARKET_CAP`: Market Capitalization

        - `FDV`: Fully Diluted Valuation


        **Volume Metrics (1 metric):**

        - `SHARES_VOLUME`: Trading volume (shares)


        **Price Change Metrics (9 metrics):**

        - `PRICE_CHANGE_1D`: Price change over 1 day (percentage)

        - `PRICE_CHANGE_1W`: Price change over 1 week (percentage)

        - `PRICE_CHANGE_1M`: Price change over 1 month (percentage)

        - `PRICE_CHANGE_3M`: Price change over 3 months (percentage)

        - `PRICE_CHANGE_6M`: Price change over 6 months (percentage)

        - `PRICE_CHANGE_YTD`: Price change year-to-date (percentage)

        - `PRICE_CHANGE_1Y`: Price change over 1 year (percentage)

        - `PRICE_CHANGE_3Y`: Price change over 3 years (percentage)

        - `PRICE_CHANGE_5Y`: Price change over 5 years (percentage)


        **Moving Averages - Simple Moving Average (MA) (6 metrics):**

        - `MA_5`: 5-day Simple Moving Average

        - `MA_10`: 10-day Simple Moving Average

        - `MA_20`: 20-day Simple Moving Average

        - `MA_60`: 60-day Simple Moving Average

        - `MA_120`: 120-day Simple Moving Average

        - `MA_200`: 200-day Simple Moving Average


        **Moving Averages - Exponential Moving Average (EMA) (6 metrics):**

        - `EMA_5`: 5-day Exponential Moving Average

        - `EMA_10`: 10-day Exponential Moving Average

        - `EMA_20`: 20-day Exponential Moving Average

        - `EMA_60`: 60-day Exponential Moving Average

        - `EMA_120`: 120-day Exponential Moving Average

        - `EMA_200`: 200-day Exponential Moving Average


        **Momentum Indicators (1 metric):**

        - `RSI_14`: Relative Strength Index (14-period) - Momentum oscillator
        that measures speed and magnitude of price changes (typically ranges
        from 0 to 100)


        **MACD (Moving Average Convergence Divergence) Components (3 metrics):**

        - `MACD_DIF`: MACD Line (DIF) - Difference between 12-day EMA and 26-day
        EMA

        - `MACD_DEA`: Signal Line (DEA) - 9-day EMA of the MACD line

        - `MACD_HIST`: MACD Histogram - Difference between MACD line and signal
        line


        **Bollinger Bands Components (3 metrics):**

        - `BOLLINGER_UPPER`: Upper Bollinger Band - Upper band of Bollinger
        Bands (20-day MA + 2 standard deviations)

        - `BOLLINGER_MID`: Middle Bollinger Band - 20-day Simple Moving Average

        - `BOLLINGER_LOWER`: Lower Bollinger Band - Lower band of Bollinger
        Bands (20-day MA - 2 standard deviations)


        **Other Indicators (4 metrics):**

        - `BETA`: Beta - Measure of token's volatility relative to the crypto
        market. Beta of 1 means token moves with market

        - `VOLATILITY_20`: Volatility (20-period) - Standard deviation of
        returns over 20 periods (annualized)

        - `VOLATILITY_60`: Volatility (60-period) - Standard deviation of
        returns over 60 periods (annualized)

        - `VOLATILITY_90`: Volatility (90-period) - Standard deviation of
        returns over 90 periods (annualized)


        **Filtering:**

        - Use `range_min` to filter for tokens where the metric value is greater
        than or equal to the minimum

        - Use `range_max` to filter for tokens where the metric value is less
        than or equal to the maximum

        - Both filters can be used together to create a range

        - If neither filter is provided, all tokens matching the metric type
        will be returned


        **Limit Parameter:**

        - Use `limit` to further limit the maximum number of results returned
        per day (optional, defaults to no limit)

        - This is useful for pagination or when you only need the top N results
        per day


        **Response Format:**

        Returns an array of date-grouped data items. Each item contains a date
        (YYYY-MM-DD format) and an array of tokens with their symbol, snapshot
        time (ISO 8601 format), metric type, and metric value for that date.
      parameters:
        - description: Start time (Unix timestamp in seconds, UTC)
          in: query
          name: start_time
          required: true
          schema:
            type: integer
        - description: End time (Unix timestamp in seconds, UTC)
          in: query
          name: end_time
          required: true
          schema:
            type: integer
        - description: Metric type. See description for valid values.
          in: query
          name: metric_type
          required: true
          schema:
            type: string
        - description: >-
            Minimum value filter (optional). Returns only tokens where metric
            value >= range_min
          in: query
          name: range_min
          schema:
            type: number
            format: float64
        - description: >-
            Maximum value filter (optional). Returns only tokens where metric
            value <= range_max
          in: query
          name: range_max
          schema:
            type: number
            format: float64
        - description: >-
            Sort order (optional). Valid values: ASC (ascending), DESC
            (descending). Defaults to DESC
          in: query
          name: order_by
          schema:
            type: string
        - description: Maximum number of results per day (optional, defaults to no limit)
          in: query
          name: limit
          schema:
            type: integer
      responses:
        '200':
          description: Successfully retrieved crypto metrics screener time range data
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      data:
                        items:
                          $ref: >-
                            #/components/schemas/model.CryptoMetricScreenerTimeRangeDataItem
                        type: array
                    type: object
        '400':
          description: >-
            Invalid parameters (missing start_time/end_time, invalid
            metric_type, start_time >= end_time, etc.)
          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.CryptoMetricScreenerTimeRangeDataItem:
      properties:
        date:
          description: Date string (YYYY-MM-DD)
          example: '2024-01-01'
          type: string
        items:
          description: List of data items for this date
          items:
            $ref: '#/components/schemas/model.CryptoMetricScreenerTimeRangeData'
          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.CryptoMetricScreenerTimeRangeData:
      properties:
        metric:
          description: Metric type identifier
          example: MARKET_CAP
          type: string
        snapshot_time:
          description: Snapshot time in Unix timestamp seconds
          example: 1705276800
          type: integer
        symbol:
          description: Token symbol
          example: BTC
          type: string
        value:
          description: Metric value
          example: 100000000
          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

````