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

# Retrieve Project Stats

This endpoint allows you to retrieve stats about the NFTs in a Project.

# 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"
      }
    },
    "schemas": {
      "GetProjectStatsResponse": {
        "type": "object",
        "properties": {
          "total": {
            "type": "number",
            "description": "Total number of assets in the Project"
          },
          "confirmed": {
            "type": "number",
            "description": "Number of confirmed assets"
          },
          "processing": {
            "type": "number",
            "description": "Number of assets being processed"
          },
          "pending": {
            "type": "number",
            "description": "Number of assets waiting to be processed"
          },
          "burned": {
            "type": "number",
            "description": "Number of burned assets"
          },
          "failed": {
            "type": "number",
            "description": "Number of assets failed"
          }
        },
        "required": [
          "total",
          "confirmed",
          "processing",
          "pending",
          "burned",
          "failed"
        ]
      }
    }
  },
  "paths": {
    "/v2/projects/n/{projectId}/stats": {
      "get": {
        "summary": "Retrieve Project Stats",
        "description": "This endpoint allows you to retrieve stats about the NFTs in a Project.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "Non-Transferable Projects"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "schema": {
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectStatsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "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
    }
  }
}
```