myMarketList
Your own listings and sale slots.
The game paginates your *sale slots*, not your listings, and listings are sparse within them — so this sweeps every slot page and returns one aggregated view. `currentPage` and `maxPage` are always 1 for that reason: there is nothing left to page through.
In Marketplace.
Request
POST /api/v1/sessions/{accountKey}/actions/myMarketList
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
perPage (per_page) | integer | no | Slots per underlying page. Defaults to 10; only affects how the sweep is chunked. |
Example request
{ "perPage": 10 }
Response
`{ listings, slots, available, listingCount, usedSlots, freeSlots, totalItemCount, totalSlots }`.
| Field | Type | Meaning |
|---|---|---|
listings[].stateName | string | `listing`, `sold`, `listing_expired` or `transfer_expired`. Only the first two are worth acting on. |
listings[].priceInfos | object[] | For a sold listing, what the buyer paid — the payout `marketTransfer` claims. |
freeSlots | integer | How many more items you may list right now. |
totalItemCount | integer | How many sale slots you own in total. |
Example response
{
"listings": [
{ "listingId": "9007199254740993", "uid": "630211546215118861",
"shortName": "AdventurerBoots", "label": "Adventurer Boots", "rarity": "Legendary",
"gearScore": 142, "price": 24000, "unitPrice": 24000, "count": 1,
"orderIndex": 0, "state": 1, "stateName": "listing",
"remainMs": 512400000, "expiresInSec": 512400, "priceInfos": [],
"iconUrl": "/icons/AdventurerBoots.png", "primary": [], "secondary": [] },
{ "listingId": "9007199254740994", "uid": "630211546215118862",
"shortName": "Longsword", "label": "Longsword", "rarity": "Epic",
"gearScore": 88, "price": 8000, "unitPrice": 8000, "count": 1,
"orderIndex": 1, "state": 3, "stateName": "sold",
"remainMs": 172800000, "expiresInSec": 172800,
"priceInfos": [ { "itemId": "GoldCoins", "price": 8000 } ],
"iconUrl": "/icons/Longsword.png", "primary": [], "secondary": [] }
],
"slots": [
{ "orderIndex": 0, "slotType": 1, "slotStatus": 1, "expireTimeSec": 512400 },
{ "orderIndex": 1, "slotType": 1, "slotStatus": 2, "expireTimeSec": 172800 }
],
"available": [2, 3, 4],
"listingCount": 2,
"usedSlots": 2,
"freeSlots": 3,
"totalItemCount": 5,
"totalSlots": 5,
"currentPage": 1,
"perPage": 10,
"maxPage": 1
}
Errors
| Code | When |
|---|---|
action_failed | No character is in the lobby, or the sweep timed out. |
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.