market
The market view's current state — the same snapshot the WebSocket pushes.
A cached snapshot with a `rev`, read without touching the game. Over the WebSocket the same object arrives unasked on the `market` channel.
In Marketplace.
Request
POST /api/v1/sessions/{accountKey}/actions/market
Takes no arguments.
Response
The cached marketplace snapshot.
| Field | Type | Meaning |
|---|---|---|
rev | integer | Increases on every change; unchanged means nothing happened. |
Example response
{
"rev": 92,
"running": false,
"reconnecting": false,
"soldGold": 0,
"netProfit": 0,
"recentSold": [],
"log": []
}
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.