GET
/
v1
/
contests
curl --request GET \
  --url https://backend.swap.coffee/v1/contests
[
  {
    "id": 123,
    "info": {
      "title": "<string>",
      "description": "<string>",
      "references": [
        {
          "ref_name": "<string>",
          "ref_url": "<string>"
        }
      ],
      "conditions": [
        {
          "type": "unique",
          "args": [
            "<string>"
          ]
        }
      ],
      "rewards": [
        {
          "reward": "<string>",
          "place": 123,
          "place_from": 123,
          "place_to": 123
        }
      ],
      "start_time_unix": 123,
      "end_time_unix": 123,
      "image_url": "<string>",
      "total_reward": "<string>",
      "hidden": true
    }
  }
]

Authorizations

X-Api-Key
string
header
required

Query Parameters

active
boolean
default:
true

Response

200
application/json
List of contests
id
integer
required
info
object
required