Custom Aggregate Data

Statement of account V2

Support input time range to get API calls and billing information

post/open-user/statement/v2

Request

Request body

apikeystring required

API Key

client_secretstring required

API secret

time_startstring required

Start date

time_endstring required

End date

Example request

{
  "apikey": "abc123456",
  "client_secret": "abc123456",
  "time_start": "20250101",
  "time_end": "20250301"
}

Response

Successful statement of account v2 response.

statusboolean required

Status

error_msgstring

Error Message

error_codeinteger required

Error Code

Example response

{
  "data": {
    "usage": [
      {
        "fee_times": 1,
        "used_money": 0,
        "usage_times": 1,
        "request_path": "/basic-patent-data/fulltext-image",
        "serial_number": "P042",
        "request_path_name": "<cn>[P042]全文附图</cn><us>[P042]Fulltext Image</us>"
      }
    ],
    "combo_usage": [
      {
        "url": "/ai/quick-search-report/query",
        "url_name": "<cn>[AI34-3]预研报告查询(Beta)</cn><us>[AI34-3]Quick-search report Query(Beta)</us>",
        "used_num": 21
      },
      {
        "url": "/ai/formulation-agent-query",
        "url_name": "<cn>[M001-2]配方助手-报告查询</cn><us>[M001-2]Formulation agent query</us>",
        "used_num": 7
      }
    ],
    "usage_money": 100,
    "combo_use_num": 100,
    "combo_usage_num": 100
  },
  "error_msg": "The request parameter format is incorrect!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.