Custom Aggregate Data
Statement of account V2
Support input time range to get API calls and billing information
post/open-user/statement/v2
Request
- Base URLhttps://connect.patsnap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"apikey": "abc123456",
"client_secret": "abc123456",
"time_start": "20250101",
"time_end": "20250301"
}Response
Successful statement of account v2 response.
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.