---
agentTools:
  projectIndex: https://imx.readme.io/llms.txt
---

# Get a list of collection filters

Get a list of collection filters

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Immutable X API",
    "version": "1.0",
    "description": "https://docs.x.immutable.com/reference",
    "contact": {
      "name": "Immutable",
      "url": "https://godsunchained.com"
    }
  },
  "servers": [
    {
      "url": "https://api.x.immutable.com",
      "description": "Production Environment"
    },
    {
      "url": "https://api.ropsten.x.immutable.com",
      "description": "Ropsten Environment"
    }
  ],
  "paths": {
    "/v1/collections/{address}/filters": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "address",
          "in": "path",
          "required": true,
          "description": "Collection contract address"
        }
      ],
      "get": {
        "summary": "Get a list of collection filters",
        "tags": [
          "collections"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollectionFilterResult"
                }
              }
            }
          }
        },
        "operationId": "getCollectionFilters",
        "description": "Get a list of collection filters",
        "parameters": [
          {
            "$ref": "#/components/parameters/page_size"
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "next_page_token",
            "description": "Next page token"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "CollectionFilterItem": {
        "description": "",
        "type": "object",
        "x-examples": {
          "example-1": {
            "key": "tribe",
            "value": [
              "",
              "aether",
              "amazon",
              "anubian",
              "atlantean",
              "dragon",
              "guild",
              "mystic",
              "nether",
              "olympian",
              "structure",
              "viking",
              "wild"
            ],
            "type": "enum"
          }
        },
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1,
            "description": "Key of this property"
          },
          "value": {
            "type": "array",
            "description": "List of possible values for this property",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "minLength": 1,
            "description": "Type of this filter"
          },
          "range": {
            "type": "object",
            "properties": {
              "max": {
                "type": "integer",
                "description": "Maximum value"
              },
              "min": {
                "type": "integer",
                "description": "Minimum value"
              }
            }
          }
        },
        "required": [
          "key",
          "value",
          "type"
        ]
      },
      "CollectionFilterResult": {
        "type": "array",
        "description": "",
        "minItems": 1,
        "uniqueItems": true,
        "x-examples": {
          "example-1": [
            {
              "key": "attack",
              "value": [
                "0",
                "1",
                "10",
                "12",
                "13",
                "16",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9"
              ],
              "type": "discrete"
            },
            {
              "key": "god",
              "value": [
                "death",
                "deception",
                "light",
                "magic",
                "nature",
                "neutral",
                "war"
              ],
              "type": "enum"
            },
            {
              "key": "health",
              "value": [
                "0",
                "1",
                "10",
                "12",
                "16",
                "17",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9"
              ],
              "type": "discrete"
            },
            {
              "key": "mana",
              "value": [
                "1",
                "10",
                "11",
                "16",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9"
              ],
              "type": "discrete"
            },
            {
              "key": "quality",
              "value": [
                "Diamond",
                "Gold",
                "Meteorite",
                "Shadow"
              ],
              "type": "enum"
            },
            {
              "key": "rarity",
              "value": [
                "common",
                "epic",
                "legendary",
                "rare",
                "mythic"
              ],
              "type": "enum"
            },
            {
              "key": "set",
              "value": [
                "core",
                "etherbots",
                "genesis",
                "promo",
                "trial",
                "mythic",
                "order"
              ],
              "type": "enum"
            },
            {
              "key": "tribe",
              "value": [
                "",
                "aether",
                "amazon",
                "anubian",
                "atlantean",
                "dragon",
                "guild",
                "mystic",
                "nether",
                "olympian",
                "structure",
                "viking",
                "wild"
              ],
              "type": "enum"
            },
            {
              "key": "type",
              "value": [
                "card"
              ],
              "type": "enum"
            }
          ]
        },
        "items": {
          "$ref": "#/components/schemas/CollectionFilterItem"
        }
      }
    },
    "parameters": {
      "page_size": {
        "name": "page_size",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "description": "Page size of the result"
      }
    }
  },
  "tags": [
    {
      "name": "collections"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 97,
      "1": 222,
      "2": 73,
      "3": 4,
      "4": 47,
      "5": 148,
      "6": 195,
      "7": 0,
      "8": 100,
      "9": 250,
      "10": 119,
      "11": 107
    }
  }
}
```