---
updatedAt: 2025-06-11T20:15:03.000Z
agentTools:
  projectIndex: https://developers.triathlon.org/llms.txt
---

# Team Statistics

The **Team Statistics** method retrieves quick pre-compiled individual statistics for a team.

By default all team results in the Triathlon.org database are used (including multisport data). To restrict the analysed event specifications you may provide a pipe delimited list of event category or event specifications.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "triathlon-api-v1",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.triathlon.org/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "apikey",
        "x-default": "2649776ef9ece4c391003b521cbfce7a"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/teams/{team_id}/stats": {
      "get": {
        "summary": "Team Statistics",
        "description": "",
        "operationId": "team-statistics",
        "parameters": [
          {
            "name": "team_id",
            "in": "path",
            "description": "The unique id of the team",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "category_id",
            "in": "query",
            "description": "A pipe delimited list of event categories",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "specification_id",
            "in": "query",
            "description": "A pipe delimited list of event specifications",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "event_id",
            "in": "query",
            "description": "A pipe delimited list of event ids",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n   \"code\":200,\n   \"status\":\"success\",\n   \"data\":{\n      \"race_starts\":43,\n      \"race_finishes\":42,\n      \"finish_percentage\":98,\n      \"race_wins\":13,\n      \"race_podiums\":28,\n      \"race_podium_percentage\":65\n   }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "race_starts": {
                          "type": "integer",
                          "example": 43,
                          "default": 0
                        },
                        "race_finishes": {
                          "type": "integer",
                          "example": 42,
                          "default": 0
                        },
                        "finish_percentage": {
                          "type": "integer",
                          "example": 98,
                          "default": 0
                        },
                        "race_wins": {
                          "type": "integer",
                          "example": 13,
                          "default": 0
                        },
                        "race_podiums": {
                          "type": "integer",
                          "example": 28,
                          "default": 0
                        },
                        "race_podium_percentage": {
                          "type": "integer",
                          "example": 65,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```