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 trend data for the last N days

POST
{{env}}/uniform/openapi/getTrendEx
Get trend data for the last N days
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_getTrendEx.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
startDate
string 
required
Start Time YYMMDD
endDate
string 
required
End Time YYMMDD
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
Data Type :trendData
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": "4bd2da9ae1",
  "platformId": 1,
  "startDate": "20230605",
  "endDate": "20230704",
  "type": "crash",
  "fsn": "",
  "dataType": "trendData",
  "vm": 0,
  "versionList": "[\"8.4.1.1.804010199\",\"3.82.1.4\"]",
  "needCountryDimension": false,
  "countryList": "[]",
  "mergeMultipleVersionsWithInaccurateResult": true
}

Responses

🟢200成功
application/json
Body
appId
string 
required
Project ID
platformId
integer 
required
Platform ID
version
string 
required
Project Version
date
string 
required
Time
country
string 
required
Country
crashNum
integer 
required
Crash count
crashUser
integer 
required
Crashed Devices
reportNumAllData
integer 
required
reportDeviceAllData
integer 
required
accessNum
integer 
required
Number of connections
accessUser
integer 
required
Active Devices
Example
{
  "appId": "4bd2da9ae1",
  "platformId": 1,
  "version": "MERGED",
  "date": "20230605",
  "country": "-1",
  "crashNum": 0,
  "crashUser": 0,
  "reportNumAllData": 0,
  "reportDeviceAllData": 0,
  "accessNum": 0,
  "accessUser": 0
}
Previous
Get hourly top issue list
Next
Get overview of data analysis for a single day, including crash, ANR and error
Built with