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

# Ranking Detail

The **Ranking Detail** method returns the output of a specified ranking and contains all the summary information required for basic ranking information. A [Rankings Listing](https://triathlon-api.readme.io/docs/rankings-listing) object is returned containing the summary information about the ranking returned while the rankings themselves are contained within a corresponding rankings object.

> 🚧 Periods are statically defined
>
> The terms current period and previous period are statically defined; they will always refer to the first period and second period for scoring.

The rankings object is specific to the ranking in question and you should consult the [ranking criteria](http://www.triathlon.org/about/downloads/category/ranking_criteria) for the specifics about each ranking.

For futher information about each athlete's score you should consult the [Athlete Ranking Breakdown](https://triathlon-api.readme.io/docs/athlete-ranking-breakdown) method which provides an event-by-event analysis of each score obtained.

> 📘 Cache Buster Link
>
> For authenticated users only by providing a break\_cache parameter you can view the latest rankings that have been run but not published for preview viewing.

# 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/{ranking_id}": {
      "get": {
        "summary": "Ranking Detail",
        "description": "",
        "operationId": "ranking-detail",
        "parameters": [
          {
            "name": "ranking_id",
            "in": "path",
            "description": "The id of the ranking",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "break_cache",
            "in": "query",
            "description": "Code to display unpublished rankings",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Limit of rankings",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n   \"code\":200,\n   \"status\":\"success\",\n   \"data\":{\n      \"ranking_id\":1,\n      \"ranking_cat_id\":1,\n      \"ranking_name\":\"Men's PT1\",\n      \"published\":\"2016-01-04 11:00:01\",\n      \"region_id\":null,\n      \"week\":\"2016-W01\",\n      \"region_name\":null,\n      \"rankings\":[\n         {\n            \"athlete_id\":74558,\n            \"athlete_title\":\"Krige Schabort\",\n            \"athlete_slug\":\"krige_schabort\",\n            \"athlete_first\":\"Krige\",\n            \"athlete_last\":\"Schabort\",\n            \"athlete_country_id\":293,\n            \"athlete_gender\":\"male\",\n            \"athlete_yob\":\"1963\",\n            \"validated\":false,\n            \"athlete_profile_image\":null,\n            \"athlete_noc\":\"USA\",\n            \"athlete_country_name\":\"United States\",\n            \"athlete_country_isoa2\":\"US\",\n            \"athlete_listing\":\"http:\\/\\/www.triathlon.org\\/athletes\\/profile\\/74558\\/krige_schabort\",\n            \"athlete_flag\":\"https:\\/\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\/images\\/icons\\/us.png\",\n            \"athlete_api_listing\":\"https:\\/\\/api.triathlon.org\\/v1\\/v1\\/athletes\\/74558\",\n            \"athlete_categories\":[\n               39\n            ],\n            \"rank\":1,\n            \"last_rank\":1,\n            \"change\":0,\n            \"last_total\":1723.33,\n            \"total\":1723.33,\n            \"total_current_period\":1397.5,\n            \"total_previous_period\":325.83,\n            \"events_current_period\":3,\n            \"events_previous_period\":2,\n            \"current_period_1\":647.5,\n            \"current_period_2\":450,\n            \"current_period_3\":450,\n            \"previous_period_1\":233.33,\n            \"previous_period_2\":92.5,\n            \"previous_period_3\":0\n         },\n         {\n            \"athlete_id\":32627,\n            \"athlete_title\":\"Bill Chaffey\",\n            \"athlete_slug\":\"bill_chaffey\",\n            \"athlete_first\":\"Bill\",\n            \"athlete_last\":\"Chaffey\",\n            \"athlete_country_id\":111,\n            \"athlete_gender\":\"male\",\n            \"athlete_yob\":\"1975\",\n            \"validated\":false,\n            \"athlete_profile_image\":null,\n            \"athlete_noc\":\"AUS\",\n            \"athlete_country_name\":\"Australia\",\n            \"athlete_country_isoa2\":\"AU\",\n            \"athlete_listing\":\"http:\\/\\/www.triathlon.org\\/athletes\\/profile\\/32627\\/bill_chaffey\",\n            \"athlete_flag\":\"https:\\/\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\/images\\/icons\\/au.png\",\n            \"athlete_api_listing\":\"https:\\/\\/api.triathlon.org\\/v1\\/v1\\/athletes\\/32627\",\n            \"athlete_categories\":[\n               39\n            ],\n            \"rank\":2,\n            \"last_rank\":2,\n            \"change\":0,\n            \"last_total\":1700,\n            \"total\":1700,\n            \"total_current_period\":1450,\n            \"total_previous_period\":250,\n            \"events_current_period\":3,\n            \"events_previous_period\":2,\n            \"current_period_1\":700,\n            \"current_period_2\":450,\n            \"current_period_3\":450,\n            \"previous_period_1\":150,\n            \"previous_period_2\":100,\n            \"previous_period_3\":0\n         }\n      ]\n   }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "ranking_id": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "ranking_cat_id": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "ranking_name": {
                          "type": "string",
                          "example": "Men's PT1"
                        },
                        "published": {
                          "type": "string",
                          "example": "2016-01-04 11:00:01"
                        },
                        "region_id": {},
                        "week": {
                          "type": "string",
                          "example": "2016-W01"
                        },
                        "region_name": {},
                        "rankings": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "athlete_id": {
                                "type": "integer",
                                "example": 74558,
                                "default": 0
                              },
                              "athlete_title": {
                                "type": "string",
                                "example": "Krige Schabort"
                              },
                              "athlete_slug": {
                                "type": "string",
                                "example": "krige_schabort"
                              },
                              "athlete_first": {
                                "type": "string",
                                "example": "Krige"
                              },
                              "athlete_last": {
                                "type": "string",
                                "example": "Schabort"
                              },
                              "athlete_country_id": {
                                "type": "integer",
                                "example": 293,
                                "default": 0
                              },
                              "athlete_gender": {
                                "type": "string",
                                "example": "male"
                              },
                              "athlete_yob": {
                                "type": "string",
                                "example": "1963"
                              },
                              "validated": {
                                "type": "boolean",
                                "example": false,
                                "default": true
                              },
                              "athlete_profile_image": {},
                              "athlete_noc": {
                                "type": "string",
                                "example": "USA"
                              },
                              "athlete_country_name": {
                                "type": "string",
                                "example": "United States"
                              },
                              "athlete_country_isoa2": {
                                "type": "string",
                                "example": "US"
                              },
                              "athlete_listing": {
                                "type": "string",
                                "example": "http://www.triathlon.org/athletes/profile/74558/krige_schabort"
                              },
                              "athlete_flag": {
                                "type": "string",
                                "example": "https://f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com/images/icons/us.png"
                              },
                              "athlete_api_listing": {
                                "type": "string",
                                "example": "https://api.triathlon.org/v1/v1/athletes/74558"
                              },
                              "athlete_categories": {
                                "type": "array",
                                "items": {
                                  "type": "integer",
                                  "example": 39,
                                  "default": 0
                                }
                              },
                              "rank": {
                                "type": "integer",
                                "example": 1,
                                "default": 0
                              },
                              "last_rank": {
                                "type": "integer",
                                "example": 1,
                                "default": 0
                              },
                              "change": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "last_total": {
                                "type": "number",
                                "example": 1723.33,
                                "default": 0
                              },
                              "total": {
                                "type": "number",
                                "example": 1723.33,
                                "default": 0
                              },
                              "total_current_period": {
                                "type": "number",
                                "example": 1397.5,
                                "default": 0
                              },
                              "total_previous_period": {
                                "type": "number",
                                "example": 325.83,
                                "default": 0
                              },
                              "events_current_period": {
                                "type": "integer",
                                "example": 3,
                                "default": 0
                              },
                              "events_previous_period": {
                                "type": "integer",
                                "example": 2,
                                "default": 0
                              },
                              "current_period_1": {
                                "type": "number",
                                "example": 647.5,
                                "default": 0
                              },
                              "current_period_2": {
                                "type": "integer",
                                "example": 450,
                                "default": 0
                              },
                              "current_period_3": {
                                "type": "integer",
                                "example": 450,
                                "default": 0
                              },
                              "previous_period_1": {
                                "type": "number",
                                "example": 233.33,
                                "default": 0
                              },
                              "previous_period_2": {
                                "type": "number",
                                "example": 92.5,
                                "default": 0
                              },
                              "previous_period_3": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```