Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mannco.store/llms.txt

Use this file to discover all available pages before exploring further.

All endpoints in this section require Connected + API (JWT from POST /user/login, header Authorization: Bearer). Base URL prefix for examples: https://api.mannco.store.

Get active trades

GET /trades/active
Permission: Connected + API Returns pending trades for the authenticated user (deposits not completed, withdrawals not finished). Shape matches your backend (trades array); typical fields include id, status, items_received, items_send, user, bot, offerid, timestamp (ms), code, lasterror.

Response

{
  "err": false,
  "success": true,
  "content": {
    "trades": [
      {
        "id": 123456,
        "items_received": "123456789,987654321",
        "status": 0,
        "items_send": "",
        "user": "76561198000000000",
        "bot": "76561198111111111",
        "code": "ABCDEFGH",
        "lasterror": "",
        "offerid": "5678901234",
        "timestamp": "1706745600000"
      }
    ]
  }
}

Trade fields (common)

FieldTypeDescription
idintegerInternal trade id
userstringUser Steam ID
items_receivedstringComma-separated asset IDs received
items_sendstringComma-separated asset IDs sent
statusintegerSee Introduction trade status table
botstringBot Steam ID
offeridstringSteam trade offer id
timestampstringUnix time in milliseconds
codestringVerification / state code
lasterrorstringLast error if any

Get all trades

GET /trades/all
Permission: Connected + API Returns up to the last 500 trades for the authenticated user (completed, failed, etc.; hidden trades may be excluded per server rules). Ordered by time descending. No query parameters.

Response

Same wrapper as active trades: content.trades is an array of trade objects (may include game and other columns from the trades table).

Resend trade

GET /trade/resend?id={tradeId}
Permission: Connected + API Retries sending a trade that meets server conditions (e.g. withdrawal with non-empty items_send, statuses such as failed/pending families as implemented). Query parameter name is id, not resend.
id
integer
required
Internal trade id from GET /trades/active or GET /trades/all

Response

{
  "err": false,
  "success": true,
  "content": {
    "message": "Trade resent successfully",
    "trade_id": 123456,
    "code": "ABCDEFGH"
  }
}

Error responses

Typecontent
errorMissing id parameter
errorObject with message: Failed to resend trade. Trade not found or conditions not met.
Example: GET https://api.mannco.store/trade/resend?id=123456 with Authorization: Bearer <jwt>.