Skip to main content

GET /secure/trades

Returns trades the merchant initiated through /secure/sell or /secure/buy. End-user (client) trades are not included on this endpoint — clients can fetch their own trade history via /client/trades with a client token. Authentication: Merchant API Key (api-key header) Scope: CORE_ACCESS

Request

GET https://api.assetpay.gg/secure/trades?limit=20&type=deposit&game=730
api-key: ap_...

Query Parameters

ParameterTypeDefaultDescription
cursorstringCursor from previous page’s nextCursor
limitnumber20Page size (max 100)
typestringFilter by "deposit" or "withdraw"
gamestring"730"Filter by game ID

Response

{
  "requestId": "...",
  "success": true,
  "data": {
    "items": [
      {
        "id": "trade-uuid-1",
        "type": "deposit",
        "source": "self",
        "status": "completed",
        "game": "730",
        "items": [ /* ... */ ],
        "totalPrice": 10.75,
        "createdAt": "2026-05-14T11:30:00.000Z",
        "updatedAt": "2026-05-14T11:35:00.000Z"
      }
    ],
    "nextCursor": "eyJjcmVhdGVkQXQi..."
  }
}
Every item has source: "self". Use nextCursor to fetch the next page; null means the list is exhausted.

Rate Limits

Merchant StatusLimit
Verified3,000 requests / min
Unverified100 requests / min