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

# Retrieve NFT Collection

# OpenAPI definition

```json
{
  "info": {
    "version": "2.0.0",
    "title": "Underdog Protocol API"
  },
  "servers": [
    {
      "url": "https://devnet.underdogprotocol.com",
      "description": "Solana Devnet"
    },
    {
      "url": "https://mainnet.underdogprotocol.com",
      "description": "Solana Mainnet"
    }
  ],
  "openapi": "3.0.0",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "paths": {
    "/v2/collections/{mintAddress}": {
      "get": {
        "summary": "Retrieve NFT Collection",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "Collections"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "mintAddress",
            "schema": {
              "type": "string",
              "description": "Base-58 encoded string representing an on-chain address",
              "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "page",
            "schema": {
              "type": "number",
              "nullable": true,
              "default": 1,
              "description": "Page number"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "number",
              "nullable": true,
              "maximum": 100,
              "default": 10,
              "description": "Items per page"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "ownerAddress",
            "schema": {
              "type": "string",
              "description": "Base-58 encoded string representing an on-chain address",
              "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "identifier",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "namespace",
            "schema": {
              "type": "string"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Returns an NFT Collection with a paginated list of NFTs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mintAddress": {
                      "type": "string",
                      "description": "Base-58 encoded string representing an on-chain address",
                      "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
                    },
                    "status": {
                      "type": "string"
                    },
                    "transferable": {
                      "type": "boolean",
                      "description": "Whether or not the NFTs in this project can be transferred"
                    },
                    "compressed": {
                      "type": "boolean",
                      "description": "Whether or not the NFTs in this project are compressed"
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 32,
                      "description": "Name stored as on-chain metadata",
                      "example": "Underdog NFT"
                    },
                    "symbol": {
                      "type": "string",
                      "maxLength": 10,
                      "description": "Symbol stored as on-chain metadata",
                      "example": "UPDG"
                    },
                    "description": {
                      "type": "string",
                      "description": "Description stored in the metadata",
                      "example": "I minted this NFT with the Underdog API"
                    },
                    "image": {
                      "type": "string",
                      "description": "Image for your NFT. When creating an NFT, this can be a base64 encoded string or a URL pointing to an image.",
                      "example": "https://hatrabbits.com/wp-content/uploads/2017/01/random.jpg"
                    },
                    "externalUrl": {
                      "type": "string",
                      "description": "URL pointing to an external URL defining the asset",
                      "example": "https://app.underdogprotocol.com"
                    },
                    "animationUrl": {
                      "type": "string",
                      "description": "URL pointing to the asset's animation.",
                      "example": "https://i.imgur.com/mGfz7Ig.mp4"
                    },
                    "attributes": {
                      "type": "object",
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          }
                        ]
                      },
                      "description": "Key-value pairs of your NFT attributes",
                      "example": {
                        "points": 10,
                        "name": "LeBron"
                      }
                    },
                    "nfts": {
                      "type": "object",
                      "properties": {
                        "results": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "maxLength": 32,
                                "description": "Name stored as on-chain metadata",
                                "example": "Underdog NFT"
                              },
                              "symbol": {
                                "type": "string",
                                "maxLength": 10,
                                "description": "Symbol stored as on-chain metadata",
                                "example": "UPDG"
                              },
                              "description": {
                                "type": "string",
                                "description": "Description stored in the metadata",
                                "example": "I minted this NFT with the Underdog API"
                              },
                              "image": {
                                "type": "string",
                                "description": "Image for your NFT. When creating an NFT, this can be a base64 encoded string or a URL pointing to an image.",
                                "example": "https://hatrabbits.com/wp-content/uploads/2017/01/random.jpg"
                              },
                              "animationUrl": {
                                "type": "string",
                                "description": "URL pointing to the asset's animation.",
                                "example": "https://i.imgur.com/mGfz7Ig.mp4"
                              },
                              "externalUrl": {
                                "type": "string",
                                "description": "URL pointing to an external URL defining the asset",
                                "example": "https://app.underdogprotocol.com"
                              },
                              "attributes": {
                                "type": "object",
                                "additionalProperties": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ]
                                },
                                "description": "Key-value pairs of your NFT attributes",
                                "example": {
                                  "points": 10,
                                  "name": "LeBron"
                                }
                              },
                              "transferable": {
                                "type": "boolean",
                                "description": "Whether or not the NFT can be transferred based on the Project its a part of"
                              },
                              "compressed": {
                                "type": "boolean",
                                "description": "Whether or not the NFTs in the Project are compressed"
                              },
                              "mintAddress": {
                                "type": "string",
                                "description": "Base-58 encoded string representing an on-chain address",
                                "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
                              },
                              "ownerAddress": {
                                "type": "string",
                                "description": "Wallet address for the NFT's owner",
                                "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
                              },
                              "claimerAddress": {
                                "type": "string",
                                "description": "Wallet address allowed to claim the NFT",
                                "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
                              },
                              "status": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "image",
                              "mintAddress",
                              "status"
                            ]
                          }
                        },
                        "page": {
                          "type": "number",
                          "description": "Page number",
                          "example": 1
                        },
                        "limit": {
                          "type": "number",
                          "description": "Number per page",
                          "example": 10
                        },
                        "totalPages": {
                          "type": "number",
                          "description": "Total number of pages",
                          "example": 1
                        },
                        "totalResults": {
                          "type": "number",
                          "description": "Total number of results",
                          "example": 1
                        }
                      },
                      "required": [
                        "results",
                        "page",
                        "limit",
                        "totalPages",
                        "totalResults"
                      ]
                    }
                  },
                  "required": [
                    "mintAddress",
                    "status",
                    "name",
                    "image",
                    "nfts"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 120,
      "2": 18,
      "3": 31,
      "4": 87,
      "5": 216,
      "6": 33,
      "7": 0,
      "8": 11,
      "9": 154,
      "10": 241,
      "11": 226
    }
  }
}
```