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

# Ranking Categories

The **Ranking Categories** method returns a [Rankings Listing](https://triathlon-api.readme.io/docs/rankings-listing) object for each available ranking grouped by the the Ranking Category. This method is useful for displaying lists of rankings where the output is grouped by the ranking type.

# 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": {
    "/rankings/categories": {
      "get": {
        "summary": "Ranking Categories",
        "description": "",
        "operationId": "ranking-categories",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n   \"code\":200,\n   \"status\":\"success\",\n   \"data\":[\n      {\n         \"ranking_cat_id\":1,\n         \"ranking_category_name\":\"Paratriathlon\",\n         \"rankings\":[\n            {\n               \"ranking_id\":1,\n               \"ranking_name\":\"Men's PT1\",\n               \"published\":\"2015-11-06 19:35:36\",\n               \"region_id\":null,\n               \"week\":\"2015-W45\",\n               \"region_name\":null\n            }\n         ]\n      }\n   ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "ranking_cat_id": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "ranking_category_name": {
                            "type": "string",
                            "example": "Paratriathlon"
                          },
                          "rankings": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "ranking_id": {
                                  "type": "integer",
                                  "example": 1,
                                  "default": 0
                                },
                                "ranking_name": {
                                  "type": "string",
                                  "example": "Men's PT1"
                                },
                                "published": {
                                  "type": "string",
                                  "example": "2015-11-06 19:35:36"
                                },
                                "region_id": {},
                                "week": {
                                  "type": "string",
                                  "example": "2015-W45"
                                },
                                "region_name": {}
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```