Onboarding

Open one lootbox

Opens one revealed box once box opening has unlocked. opened is false when an earlier request already opened it; box is the box either way, so retrying is safe.

Error shape. Minimal {"error": "...", "code": "..."} (OrderSimpleErrorResponse). Rate limited at 60 requests/minute per user (bucket predictfun-lootbox-item, shared by the one-match reveal and one-box open routes), fail-closed. Auth. API keys and delegations need trade:execute (a cold venue session is minted by signing a login challenge with the user's wallet) and the predictfun platform access flag.

post/exchanges/predictfun/activities/{code}/boxes/{box_id}/open

Request

  • Base URL
    https://execution.kairos.trade
  • Auth
    API key in header X-Client-Id and API key in header X-Api-Key and API key in header X-Api-Secret

Path parameters

codestring required

Predict.fun activity code, e.g. lol-worlds.

box_idstring required

Predict.fun box id. Must match ^[A-Za-z0-9_-]{1,128}$.

Response

Open one lootbox.

openedboolean required

False when an earlier request already opened the box.

Changes

No recorded changes to this operation across all 1 revision of this API.