marketClaimAll
Claim everything waiting — payouts and unsold items.
`marketTransfer` over every claimable listing, sold ones first so the gold lands even if a later item hits a full stash. Partial success is normal and reported per listing rather than as a failure.
In Marketplace.
Request
POST /api/v1/sessions/{accountKey}/actions/marketClaimAll
Takes no arguments.
Response
`{ ok: true, claimed, failed, goldClaimed, itemsClaimed, deposited, results }`.
| Field | Type | Meaning |
|---|---|---|
claimed | integer | How many listings were claimed. |
failed | integer | How many could not be — see `results` for which. |
goldClaimed | integer | Total gold banked. |
results[] | object[] | One row per listing attempted, with its own `ok` and `error`. |
Example response
{
"ok": true,
"claimed": 2,
"failed": 0,
"goldClaimed": 8000,
"itemsClaimed": 1,
"deposited": [ { "container": "GoldCoinChest", "added": 8000 } ],
"results": [
{ "listingId": "9007199254740994", "ok": true, "error": null },
{ "listingId": "9007199254740995", "ok": true, "error": null }
]
}
Errors
| Code | When |
|---|---|
action_failed | No character is in the lobby, or your listings could not be read. |
plan_limit | Not on the free plan. |
See also
DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.