Crashsight OpenAPI
  1. Overview Statistics
Crashsight OpenAPI
  • API Reference
    • Introduction
    • Overview Statistics
      • Get hourly top issue list
        POST
      • Get trend data for the last N days
        POST
      • Get overview of data analysis for a single day, including crash, ANR and error
        GET
      • Get cumulative trend data
        POST
      • Get top issue list
        POST
      • Get hourly trend data
        POST
    • Crash/Exception Analysis
      • To set issue-level tags.
      • Get device list based on stack keyword
      • Get crash user list within a specific time period
      • Get crash statistics based on stack keyword
      • Get crash Stat based on device ID
      • Get crashHash list based on issue ID
      • Get OpenId base on device ID
      • Get notes based on issue ID
      • Get issue details
      • Get the most recent crash hash based on issue ID
      • Get the list of crash hashes based on an issue ID
      • Get the trace data, trace logs, additional information, and custom key-value pairs
      • Get crash details
      • Get Issue list
    • Others
      • Get the list of versions, bundle, and handlers
      • Get the crash details based on OpenID
  1. Overview Statistics

Get cumulative trend data

POST
{{env}}/uniform/openapi/getAppRealTimeTrendAppendEx{{signature}}
Get cumulative trend data
China Website: https://crashsight.qq.com
Overseas website: https://crashsight.wetest.net
download python code example:https://crashsight-docs-1258344700.cos.ap-shanghai.myqcloud.com/global/crashsight_openapi_v1_getAppRealTimeTrendAppendEx.py

Request

Header Params
Content-Type
string 
required
Example:
application/json
Accept-Encoding
string 
required
Example:
*
Body Params application/json
appId
string 
required
Project ID
platformId
integer 
required
Platform ID Android:1,IOS:2,PC:10
startHour
string 
required
Start Time YYMMDDHH
endHour
string 
required
End Time YYMMDDHH. No more than 360 hours.
type
string 
required
All types of errors.Three types - crash, ANR, and error.
fsn
string 
required
RequestID. The fsn value can be fixed
dataType
string 
required
realTimeTrendData
vm
integer 
required
Emulator identifier. 0 : Full device 1: Real device 2: Emulator
versionList
string 
required
Version list. Version support wildcard *
needCountryDimension
boolean 
required
True: need country-level statistics, false: do not need it
countryList
string 
required
If you set the statistics to be country-level, please provide a list of country names to be queried. When you set the needCountryDimension to true but countryList is an empty array, it indicates that you want to query all countries.
mergeMultipleVersionsWithInaccurateResult
boolean 
required
Whether multiple version results should be merged into a single result. The merging method is to directly add the device count and times of each individual version.
Example
{
  "appId": "f4f1ae20c0",
  "platformId": 1,
  "type": "crash",
  "vm": 0,
  "dataType": "realTimeTrendData",
  "mergeMultipleVersionsWithInaccurateResult": true,
  "versionList": [
    "495.4.19303",
    "272.6.9207",
    "221.2.5954"
  ],
  "startDate": "2023092700",
  "endDate": "2023092723",
  "needCountryDimension": false,
  "countryList": []
}

Responses

🟢200成功
application/json
Body
status
integer 
required
ret
object 
required
code
integer 
required
message
string 
required
errorCode
string 
required
data
array [object {11}] 
required
Example
{
  "status": 200,
  "ret": {
    "code": 200,
    "message": "OK",
    "errorCode": "",
    "data": [
      {
        "appId": "9f2dcbd9ab",
        "platformId": 1,
        "version": "NO_STATS_DATA",
        "date": "2023062800",
        "crashNum": 0,
        "crashUser": 0,
        "reportNumAllData": 0,
        "reportDeviceAllData": 0,
        "accessNum": 0,
        "accessUser": 0,
        "country": "NO_STATS_DATA"
      }
    ]
  }
}
Previous
Get overview of data analysis for a single day, including crash, ANR and error
Next
Get top issue list
Built with