{
  "openapi": "3.0.1",
  "info": {
    "title": "HYROX Race Results Scraper",
    "description": "Collect published HYROX race results from the official timing portal. Choose seasons, events, divisions, and summary or detailed splits. Get rankings, times, participant details, result status, and official result links when available in a dataset.",
    "version": "2.0",
    "x-build-id": "50vTZ3i5ioIqdM9pn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maximedupre~hyrox-race-results/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maximedupre-hyrox-race-results",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/maximedupre~hyrox-race-results/runs": {
      "post": {
        "operationId": "runs-sync-maximedupre-hyrox-race-results",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/maximedupre~hyrox-race-results/run-sync": {
      "post": {
        "operationId": "run-sync-maximedupre-hyrox-race-results",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "seasons",
          "events",
          "raceFormats",
          "detailLevel"
        ],
        "properties": {
          "seasons": {
            "title": "HYROX source seasons",
            "minItems": 1,
            "type": "array",
            "description": "Enter exact HYROX source season numbers. For example, `7` is labeled `24/25`, `8` is `25/26`, and `9` is `26/27`. Calendar years such as `2025` are not source season numbers. The `season` output uses the label HYROX publishes for the selected season.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "7",
                "8",
                "9"
              ]
            }
          },
          "events": {
            "title": "Events",
            "minItems": 1,
            "type": "array",
            "description": "Enter exact event names shown for the selected source seasons. A name such as `2025 Valencia` can appear in more than one season, so the season field keeps the events separate. Spelling errors do not select another event.",
            "items": {
              "type": "string"
            }
          },
          "raceFormats": {
            "title": "Race formats",
            "minItems": 1,
            "type": "array",
            "description": "Choose one or more exact HYROX format names without gender or race day. Common options include `HYROX`, `HYROX PRO`, `HYROX DOUBLES`, and `HYROX PRO DOUBLES`. Other exact format names are also accepted. Leave Gender and Race days empty to include every value available for the selected format and event.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "HYROX",
                "HYROX PRO",
                "HYROX DOUBLES",
                "HYROX PRO DOUBLES",
                "HYROX TEAM RELAY",
                "HYROX ADAPTIVE",
                "HYROX YOUNGSTARS"
              ]
            }
          },
          "genders": {
            "title": "Genders",
            "type": "array",
            "description": "Choose one or more exact gender values. Leave this empty to include every gender available for the selected format and event. To choose Standard races for specific genders, select `HYROX` under Race formats. Some relay events list each entrant under every gender; leave this field empty for those events.",
            "items": {
              "type": "string",
              "enum": [
                "Men",
                "Women",
                "Mixed"
              ],
              "enumTitles": [
                "Men",
                "Women",
                "Mixed"
              ]
            }
          },
          "raceDays": {
            "title": "Race days",
            "type": "array",
            "description": "Choose exact race day labels, such as `Friday` or `Saturday`. For labels with a date, enter the full day and date shown by HYROX. Leave this empty to include every race day available for the selected format and event. An unavailable day is reported as invalid; the Actor does not choose another day.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday",
                "Sunday"
              ]
            }
          },
          "ageGroups": {
            "title": "Youngstars age groups",
            "type": "array",
            "description": "For `HYROX YOUNGSTARS`, enter exact age labels such as `8-9 YRS`. Leave this empty to include every age group available for the selected event. This field applies only to Youngstars.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "8-9 YRS"
              ]
            }
          },
          "standings": {
            "title": "Standings",
            "type": "array",
            "description": "Choose published `Overall` or `Week` standings to include. Leave this empty to collect race-day results only. Availability depends on the selected event and format; unavailable standings are reported.",
            "items": {
              "type": "string",
              "enum": [
                "Overall",
                "Week"
              ],
              "enumTitles": [
                "Overall standings",
                "Week standings"
              ]
            }
          },
          "detailLevel": {
            "title": "Result detail",
            "enum": [
              "summary",
              "detailed"
            ],
            "type": "string",
            "description": "Choose summary results or detailed results with station and running-leg splits when HYROX publishes them."
          },
          "includeNonFinishers": {
            "title": "Include non-finishers",
            "type": "boolean",
            "description": "Include disqualified entrants and entrants with no recorded result when HYROX publishes them. Their status does not show if they withdrew or never started."
          },
          "maxItems": {
            "title": "Maximum result rows",
            "minimum": 0,
            "type": "integer",
            "description": "Leave this empty or enter `0` to collect all available rows until HYROX has no more. A positive number stops at that many rows or earlier if HYROX has no more results. The prefilled `20` is only a UI starter. The limit covers every selected season, event, format, gender, race day, age group, and standings value."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}