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

# Returns a list of token and model cards

Returns a list of token and model cards

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Gods Unchained API",
    "version": "1.0",
    "description": "Gods Unchained API",
    "contact": {
      "name": "Immutable",
      "url": "https://godsunchained.com"
    },
    "termsOfService": "https://github.com/immutable/gods-unchained-api"
  },
  "servers": [
    {
      "url": "https://api.godsunchained.com"
    }
  ],
  "paths": {
    "/v0/card": {
      "get": {
        "summary": "Returns a list of token and model cards",
        "tags": [
          "card"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenModelCardList"
                }
              }
            }
          }
        },
        "operationId": "listCards",
        "description": "Returns a list of token and model cards",
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "user",
            "description": "get cards owned by a specific address"
          },
          {
            "$ref": "#/components/parameters/rarity"
          },
          {
            "$ref": "#/components/parameters/quality"
          },
          {
            "$ref": "#/components/parameters/god"
          },
          {
            "$ref": "#/components/parameters/type"
          },
          {
            "$ref": "#/components/parameters/tribe"
          },
          {
            "$ref": "#/components/parameters/purity"
          },
          {
            "$ref": "#/components/parameters/mana"
          },
          {
            "$ref": "#/components/parameters/health"
          },
          {
            "$ref": "#/components/parameters/attack"
          },
          {
            "$ref": "#/components/parameters/proto"
          },
          {
            "$ref": "#/components/parameters/page"
          },
          {
            "$ref": "#/components/parameters/perPage"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/order"
          }
        ]
      },
      "parameters": []
    }
  },
  "components": {
    "schemas": {
      "TokenModelCard": {
        "description": "",
        "type": "object",
        "properties": {
          "user": {
            "type": "string",
            "minLength": 1
          },
          "id": {
            "type": "object",
            "properties": {
              "Int64": {
                "type": "number"
              },
              "Valid": {
                "type": "boolean"
              }
            },
            "required": [
              "Int64",
              "Valid"
            ]
          },
          "proto": {
            "type": "number"
          },
          "purity": {
            "type": "number"
          }
        },
        "required": [
          "user",
          "id",
          "proto",
          "purity"
        ],
        "x-examples": {
          "example-1": {
            "user": "0xf096e0d009dd024e5cff8075a7418b5712f0cc7d",
            "id": {
              "Int64": 0,
              "Valid": false
            },
            "proto": 216,
            "purity": 701
          }
        }
      },
      "TokenModelCardList": {
        "description": "",
        "type": "object",
        "x-examples": {
          "example-1": {
            "total": 6875315,
            "page": 1,
            "perPage": 20,
            "records": [
              {
                "user": "0xf096e0d009dd024e5cff8075a7418b5712f0cc7d",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 216,
                "purity": 701
              },
              {
                "user": "0xf096e0d009dd024e5cff8075a7418b5712f0cc7d",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 377,
                "purity": 602
              },
              {
                "user": "0xf096e0d009dd024e5cff8075a7418b5712f0cc7d",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 347,
                "purity": 2482
              },
              {
                "user": "0xf096e0d009dd024e5cff8075a7418b5712f0cc7d",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 37,
                "purity": 704
              },
              {
                "user": "0xf096e0d009dd024e5cff8075a7418b5712f0cc7d",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 238,
                "purity": 580
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 375,
                "purity": 982
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 229,
                "purity": 372
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 122,
                "purity": 730
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 277,
                "purity": 314
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 377,
                "purity": 369
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 32,
                "purity": 263
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 182,
                "purity": 649
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 254,
                "purity": 989
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 301,
                "purity": 554
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 199,
                "purity": 364
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 42,
                "purity": 2269
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 222,
                "purity": 295
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 327,
                "purity": 714
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 58,
                "purity": 479
              },
              {
                "user": "0xe0fb7622091e3d9ef9b438471b10b9ea88c7cf6b",
                "id": {
                  "Int64": 0,
                  "Valid": false
                },
                "proto": 14,
                "purity": 57
              }
            ]
          }
        },
        "properties": {
          "total": {
            "type": "number"
          },
          "page": {
            "type": "number"
          },
          "perPage": {
            "type": "number"
          },
          "records": {
            "type": "array",
            "uniqueItems": true,
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/TokenModelCard"
            }
          }
        },
        "required": [
          "total",
          "page",
          "perPage",
          "records"
        ]
      }
    },
    "parameters": {
      "page": {
        "name": "page",
        "in": "query",
        "required": false,
        "schema": {
          "type": "number"
        },
        "description": "page number"
      },
      "perPage": {
        "name": "perPage",
        "in": "query",
        "required": false,
        "schema": {
          "type": "number"
        },
        "description": "number of items per page to return"
      },
      "sort": {
        "name": "sort",
        "in": "query",
        "schema": {
          "type": "string"
        }
      },
      "order": {
        "name": "order",
        "in": "query",
        "schema": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ]
        }
      },
      "god": {
        "name": "god",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "light",
            "death",
            "nature",
            "war",
            "magic",
            "deception"
          ]
        },
        "description": "card god type"
      },
      "rarity": {
        "name": "rarity",
        "in": "query",
        "schema": {
          "type": "string",
          "enum": [
            "common",
            "rare",
            "epic",
            "legendary",
            "mythic"
          ]
        },
        "description": "card rarity"
      },
      "type": {
        "name": "type",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "creature",
            "spell",
            "weapon"
          ]
        },
        "description": "card type"
      },
      "tribe": {
        "name": "tribe",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "nether",
            "aether",
            "atlantean",
            "viking",
            "olympian",
            "anubian",
            "amazon"
          ]
        },
        "description": "card tribe type"
      },
      "quality": {
        "name": "quality",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "plain",
            "shadow",
            "gold",
            "diamond"
          ]
        },
        "description": "card quality"
      },
      "mana": {
        "name": "mana",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "card mana range"
      },
      "health": {
        "name": "health",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "card health range"
      },
      "attack": {
        "name": "attack",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "card attack range"
      },
      "purity": {
        "name": "purity",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "card purity range"
      },
      "proto": {
        "name": "proto",
        "in": "query",
        "required": false,
        "schema": {
          "type": "number"
        },
        "description": "card prototype id"
      }
    }
  },
  "tags": [
    {
      "name": "card"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 97,
      "1": 222,
      "2": 72,
      "3": 136,
      "4": 234,
      "5": 204,
      "6": 69,
      "7": 0,
      "8": 66,
      "9": 174,
      "10": 18,
      "11": 91
    }
  }
}
```