Perfsight2.0 英文版
    • Overall invocation description
    • Common Aggregate Data
      POST
    • Conditional Search
      POST
    • Get Custom Quality
      POST
    • Network Delay Data
      POST
    • Get Single Match KV Data
      POST
    • Single Match Details
      POST
    • Device Analysis (Legacy API - For Reference Only)
      POST
    • Scene Aggregate Data (Legacy API - For Reference Only)
      POST
    • User Detail Data Query (Legacy API - For Reference Only)
      POST

    Overall invocation description

    Perfsight OpenAPI#

    1 signature#

    1.1 signature parameters#

    nametyperequeireddescription
    access_tokenstringyestoken generated by PerfSight, Obtain it through APPKEY in the project configuration
    envstringyesChina enviroment: v2; Singapore environment: sgp;
    app_idstringyesProject ID
    usernamestringyesUsername to log in to the PerfSight platform

    1.2 signature method#

    Taking python as an example, assume that the actual parameters of api are
    1.
    Set the token expiration time (take 120 seconds as an example)
    2.
    Add exp to parameters
    3.
    Use jwt to generate token
    4.
    Construct request parameters
    5.
    Send request
    6.
    Format of response

    1.3 request url#

    China: https://api.perfsight.qq.com
    Oversea: https://api.perfsight.wetest.net

    2 api description and instructions#

    2.1 get scene analysis summary/time range data#

    path:/openapi/scene/dayAggregateData
    method:POST
    request body:
    nametyperequeireddescription
    platformintyesplatform ID, Android:0, iOS:1, PC:5
    project_versionstringyesversion
    scenestringyesscene name
    is_customizeboolyeswhether to use custom settings
    customize_arrarrayyescustom settings array
    regionstringyesthe Chinese name of thecountry/region like "马来西亚"
    startstringyesfrom time format:"2023-02-20 00:00:00"
    endstringyesend time format:"2023-02-20 00:00:00"
    time_levelintyes1:summary, 4:time range
    "is_customize": true
    "customize_arr": [
                {
                    "category": "device classification", // Custom setting dimensions 
                    "category_items": ["1st Gear"] //Custom setting items
                },
                {
                    "category": "target fps",
                    "category_items": ["high"]
                }
            ],
    response:
    nametypedescription
    merge_countintGame Number
    fps_meanfloatAvg(FPS)
    fps_jetter_hourfloatAvg(FPS Jitter)
    fps_jank_hourfloatAvg(FPS Jank)
    pss_average_peakfloatAvg(Max(PSS Memory))
    vss_average_peakfloatAvg(Max(VSS Memory))
    perfdog_small_jankfloatAvg(Perfdog Jank)
    frametime_gt_100ms_percentfloatPercent(FrameTime > 100ms / Frames)
    mono_reserved_peakfloatMax(MONO memory)

    2.2 get model analysis data#

    path:/openapi/device/deviceAnalysis
    method:POST
    request body:
    nametyperequeireddescription
    platformintyesplatform ID, Android:0, iOS:1, PC:5
    project_versionstringyesversion
    scenestringyesscene name
    is_customizeboolyeswhether to use custom image quality
    customize_arrarrayyescustom image quality array
    device_classarrayyesdevice classification,array of int; 0:comprehensive
    device_searcharrayyesmodel, array of string
    regionstringyescountry/region
    startstringyesfrom time format:"2023-02-20 00:00:00"
    endstringyesend time format:"2023-02-20 00:00:00"
    time_levelintyes1:summary, 4:time range
    "customize_arr": [
                {
                    "category": "device classification",
                    "category_items": ["1st Gear"]
                },
                {
                    "category": "target fps",
                    "category_items": ["high"]
                }
            ],
    response:
    nametypedescription
    calendar_timestringtime
    device_modelstringmodel
    ramintRam
    device_cpu_coreintcpu cores
    osstring
    device_cpu_freqintcpu frequency
    gpu_rendererstringgpu
    gpu_versionstringgpu version
    device_manustringmanu
    scene_labelstringscene name
    def_classintcustomized device classification
    merge_countintgame number
    qualitystringquality
    benchmark_main_topstringbenchmark device classification
    region_idintcountry/region ID
    region_namestringcountry/region name
    cpu_avgfloatAvg(CPU Utilization)
    avg_online_timefloatAvg(online time)
    count_ratefloatPercent(game number of sub scene)
    x64_supportstringwhether to support x64
    fps_meanfloatAvg(FPS)
    fps_jetter_hourfloatAvg(FPS Jitter)
    fps_low_hourfloatTimes of Low FPS
    fps_jank_hourfloatAvg(FPS Jank)
    perfdog_small_jankfloatAvg(Perfdog Jank)
    perfdog_big_jankfloatAvg(Perfdog BigJank)
    frametime_gt_100ms_percentfloatPercent(FrameTime > 100ms / Frames)
    cpu_decline_percentfloatPercentage of CPU Throttling Game Number
    stutterfloatStutter
    fps_attainmentfloatFrame Rate Compliance Rate
    fps_section1floatFPS Segment 1
    fps_section2floatFPS Segment 2
    fps_section3floatFPS Segment 3
    fps_section4floatFPS Segment 4
    fps_section5floatFPS Segment 5
    pss_average_peakfloatAvg(Max(PSS Memory))
    pss_average_peak_top1floatAvg(Max(Top 1% PSS Memory))
    pss_peak_peakfloatMax(Max(PSS Memory))
    vss_average_peakfloatAvg(Max(VSS Memory))
    vss_average_peak_top1floatAvg(Max(Top 1% VSS Memory))
    vss_peak_peakfloatMax(Max(VSS Memory))
    dist_datamapSegment data
    cpu_meanfloat64CPU Average
    current_meanfloat64Average Current
    power_meanfloat64Average Power Consumption
    power_consumptionfloat64Electricity Consumption
    cpu_temperateure_meanfloat64Average cpu temperature
    battery_temperature_meanfloat64average battery temperature
    loading_timefloatscene Loading Time
    loading_tiem_mean_r1000floatScene Loading Time
    mean_scene_timeintScene Duration
    Modified at 2025-12-30 07:56:32
    Next
    Common Aggregate Data
    Built with