POST /stats/get
application/json

Body Required

  • preset string
  • fromDate string(date-time)
  • toDate string(date-time)

Responses

  • 200 application/json

    Standard API response

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
  • 401 application/json

    Unauthorized or invalid API key/cookie

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
POST /stats/get
curl \
 --request POST 'https://call.xap3y.space/v1/stats/get' \
 --header "X-API-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"preset":"string","fromDate":"2025-05-04T09:42:00Z","toDate":"2025-05-04T09:42:00Z"}'
Request examples
{
  "preset": "string",
  "fromDate": "2025-05-04T09:42:00Z",
  "toDate": "2025-05-04T09:42:00Z"
}
Response examples (200)
{
  "error": true,
  "timestamp": "2025-05-04T09:42:00Z",
  "uniqueId": "string"
}
Response examples (400)
{
  "error": true,
  "timestamp": "2025-05-04T09:42:00Z",
  "uniqueId": "string"
}
Response examples (401)
{
  "error": true,
  "timestamp": "2025-05-04T09:42:00Z",
  "uniqueId": "string"
}