> ## Documentation Index
> Fetch the complete documentation index at: https://docs.duelduck.com/llms.txt
> Use this file to discover all available pages before exploring further.

# POST /admin/duel

**URL:** [https://xapi.duelduck.com/admin/duel](https://xapi.duelduck.com/admin/duel)

Creates a new crypto prediction as an admin. The prediction is immediately set to active status, bypassing the approval step. The action is recorded in the audit log.

### **Parameters**

| Name          | Type   | Header                        | Required | Description                     |
| :------------ | :----- | :---------------------------- | :------- | :------------------------------ |
| Authorization | string | Bearer<br />\<refresh\_token> | yes      | Authorization<br />Bearer token |

### **Request**

Prediction creation request.

**Type:** object. **Request content type:** application / json . Body:

```text theme={"dark"}
{
  "answer": 0,
  "commission_rate": 0,
  "deadline": "string",
  "duel_info": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "duel_price": 0,
  "is_owner_resolving": true,
  "logo_url": "string",
  "max_price": 0,
  "min_price": 0,
  "price_type": "string",
  "question": "string",
  "source_of_truth": "string",
  "symbol": "string"
}
```

### **Responses**

**Response content type:** application / json .

#### Code 200

Created prediction.

```text theme={"dark"}
{
  "approved_by": "string",
  "cancellation_reason": "string",
  "commission": 0,
  "commission_rate": 0,
  "created_at": "string",
  "deadline": "string",
  "duel_info": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "duel_price": 0,
  "final_result": 0,
  "id": "string",
  "is_owner_resolving": true,
  "is_self_resolved": true,
  "logo_url": "string",
  "max_price": 0,
  "min_price": 0,
  "owner_id": "string",
  "players_count": 0,
  "price_type": "string",
  "project_id": "string",
  "question": "string",
  "refunded_players_count": 0,
  "resolved_at": "string",
  "resolved_by": "string",
  "room_number": 0,
  "room_token_pda": "string",
  "slug": "string",
  "source_of_truth": "string",
  "status": 0,
  "symbol": "string",
  "updated_at": "string",
  "usd_price": 0,
  "winners_count": 0
}
```

#### Code 400

Invalid request data.

```text theme={"dark"}
{
  "message": "string",
  "status": 0
}
```

#### Code 401

Unauthorized.

```text theme={"dark"}
{
  "message": "string",
  "status": 0
}
```

#### Code 403

Admin permission required.

```text theme={"dark"}
{
  "message": "string",
  "status": 0
}
```

#### Code 500

Internal server error.

```text theme={"dark"}
{
  "message": "string",
  "status": 0
}
```
