Skip to main content
GET
/
merchant
/
stats
Get account statistics
curl --request GET \
  --url https://api.skinshark.gg/merchant/stats \
  --header 'api-key: <api-key>'
{
  "requestId": "<string>",
  "success": true,
  "data": {
    "totals": {
      "tradeCount": 123,
      "gmv": 123,
      "gmvCents": 123,
      "feesEarnedCents": 123,
      "feesEarned": 123,
      "spotBalance": 123,
      "earningsBalance": 123,
      "currency": "<string>"
    },
    "bySubUser": [
      {
        "subUserId": "<string>",
        "email": "<string>",
        "externalId": "<string>",
        "tradeCount": 123,
        "gmvCents": 123,
        "gmv": 123,
        "balance": 123,
        "feesContributedCents": 123
      }
    ],
    "byStatus": {}
  },
  "error": {
    "code": 1500,
    "key": "INSUFFICIENT_BALANCE",
    "message": "Insufficient balance"
  }
}

Authorizations

api-key
string
header
required

Your raw API key. Generate, rotate, and revoke keys from the merchant dashboard. Keys can optionally be bound to one or more allowed source IPs — requests from any other IP are rejected with API_KEY_IP_DENIED.

Query Parameters

from
string<date-time>
to
string<date-time>

Response

OK.

requestId
string
required
success
boolean
required
data
object

Present when success: true. Shape varies per endpoint.

error
object