---
title: "Get latest data for all challenges"
method: GET
path: "/get-challenges"
tags: ["GET"]
---

# Get latest data for all challenges

`GET /get-challenges`

# Notes

* Query parameter `<block_id>` must be the latest block. Use `/get-block` endpoint

## Query parameters

- `block_id` string, required

## Response `200`

Success

- GetChallengesResponse
  - `challenges` Challenge[]
    - `id` string
    - `details` ChallengeDetails
      - `name` string
      - `type` 'cpu' | 'gpu'
    - `state` ChallengeState
      - `round_active` integer
    - `block_data` ChallengeBlockData
      - `num_qualifiers` integer
      - `average_solution_ratio` number, double
      - `qualifier_difficulties` Difficulty[]
        - integer[]
      - `base_frontier` Difficulty[]
        - integer[]
      - `scaled_frontier` Difficulty[]
        - integer[]
      - `scaling_factor` number, double
      - `base_fee` string
      - `per_nonce_fee` string
      - `hash_threshold` string

## Changes

- **2025-06-09** `c589c03b93d9` — 1 info
  - added the optional property `challenges/items/details/type` to the response with the `200` status
- **2025-03-31** `a797f3e87216` — 1 info
  - added the optional property `challenges/items/block_data/hash_threshold` to the response with the `200` status
- **2025-03-24** `42d4882bc37f` — 1 info
  - added the optional property `challenges/items/block_data/average_solution_ratio` to the response with the `200` status
- **2024-11-27** `f857f902a23c` — 2 breaking, 4 warning, 2 info
  - the `challenges/items/block_data/base_fee` response's property type changed from `integer` to `string`, and format from `uint256` to no format for status `200`
  - the `challenges/items/block_data/per_nonce_fee` response's property type changed from `integer` to `string`, and format from `uint256` to no format for status `200`
  - removed the optional property `block_details` from the response with the `200` status
  - removed the optional property `block_id` from the response with the `200` status
  - …4 more
- **2024-10-04** `619cf3c6322a` — 3 info
  - added the optional property `challenges/items/block_data/base_fee` to the response with the `200` status
  - added the optional property `challenges/items/block_data/per_nonce_fee` to the response with the `200` status
  - added the optional property `challenges/items/state` to the response with the `200` status

[Full history](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/changes/get-challenges/get.md)

---

[API](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api.md) · [All operations](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/revisions/4e2cb20a0dbd?raw)
