---
title: "InputFilterOptions"
url: "https://developer-beta.morningstar.com/apis/equities-screener-api/versions/6a741807-eba1-4fa3-bcc8-1d4904910e0a/schemas/InputFilterOptions"
---

> Full API specification: https://developer-beta.morningstar.com/apis/equities-screener-api/versions/6a741807-eba1-4fa3-bcc8-1d4904910e0a.md

# InputFilterOptions

Filter applied to a data point. The data type of the value must match the data type of the data point.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Equities Screener API
  version: "1.0"
servers:
  - url: https://www.us-api.morningstar.com
    description: Americas
  - url: https://www.apac-api.morningstar.com
    description: APAC
  - url: https://www.emea-api.morningstar.com
    description: EMEA
components:
  schemas:
    InputFieldValueFilter:
      title: InputFieldValueFilter
      description: Exact match (`eq`) to a single value, or match to any value in a
        list (`in`).
      anyOf:
        - $ref: "#/components/schemas/InputFilterValue"
        - type: array
          minItems: 1
          items:
            $ref: "#/components/schemas/InputFilterValue"
    InputFieldRangeFilter:
      title: InputFieldRangeFilter
      description: Filters for values within a range or based on a comparison.
        Supports number, integer, and date data types.
      type: object
      minProperties: 1
      additionalProperties: false
      properties:
        gt:
          description: Greater than.
          anyOf:
            - type: number
            - type: integer
            - type: string
              format: date
        gte:
          description: Greater than or equal to.
          anyOf:
            - type: number
            - type: integer
            - type: string
              format: date
        lt:
          description: Less than.
          anyOf:
            - type: number
            - type: integer
            - type: string
              format: date
        lte:
          description: Less than or equal to.
          anyOf:
            - type: number
            - type: integer
            - type: string
              format: date
    InputFieldContainsFilter:
      title: InputFieldContainsFilter
      description: Matches string values that contain the specified text.
      type: object
      required:
        - contains
      additionalProperties: false
      properties:
        contains:
          description: Text to search for.
          type: string
          example: apple
    InputFilterValue:
      title: InputFilterValue
      description: A single filter value. Supports string, number, integer, boolean,
        and date (`YYYY-MM-DD` string) data types. For code-mapped data points,
        filter on the code.
      anyOf:
        - type: string
        - type: number
        - type: integer
        - type: boolean
    InputFilterOptions:
      title: InputFilterOptions
      description: Filter applied to a data point. The data type of the value must
        match the data type of the data point.
      oneOf:
        - $ref: "#/components/schemas/InputFieldValueFilter"
        - $ref: "#/components/schemas/InputFieldRangeFilter"
        - $ref: "#/components/schemas/InputFieldContainsFilter"
```
