列出信用报告
curl --request GET \
--url https://api.qbank.cl/platform/v1/qscore/reports \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/qscore/reports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/qscore/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qbank.cl/platform/v1/qscore/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/qscore/reports"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/v1/qscore/reports")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/qscore/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"report_id": "3f5c9f2d-7d21-4b8c-9a2d-2d5f6a1b8c01",
"account_id": "5f9d2c10-3e8b-4a1d-9c7a-1d2f3a4b5c6d",
"subject_id": "8f5fb0d2-1d45-4a0e-9d5c-2d39f2b7a112",
"purpose": "credit_evaluation",
"status": "ready",
"lang": "es",
"score": 742,
"band": "B",
"score_model_version": "v1",
"reason_codes": [
{
"code": "CREDIT_HISTORY_DEPTH",
"direction": "positive",
"weight": "medium"
},
{
"code": "ACTIVE_TRADELINES",
"direction": "positive",
"weight": "low"
}
],
"verify_code": "Q3f5c9f2d7d214b8c9a2d2d5f6a1b8c01a1b2c3d4e5f60718293a",
"created_at": "2026-08-08T15:04:22Z",
"completed_at": "2026-08-08T15:04:24Z"
}
],
"meta": {
"page": 1,
"page_size": 50,
"total": 1
}
}{
"error": "invalid_range",
"message": "from/to must be valid YYYY-MM-DD dates"
}列出信用报告
返回您账户的信用报告,按最新优先排序。from 和 to 日期过滤条件(组织时区, 两端均含)为必填。其他账户拥有的报告永不可见(所有权隔离:属于其他账户的报告 id 返回 404 not_found)。
GET
/
v1
/
qscore
/
reports
列出信用报告
curl --request GET \
--url https://api.qbank.cl/platform/v1/qscore/reports \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/qscore/reports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/qscore/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qbank.cl/platform/v1/qscore/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/qscore/reports"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/v1/qscore/reports")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/qscore/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"report_id": "3f5c9f2d-7d21-4b8c-9a2d-2d5f6a1b8c01",
"account_id": "5f9d2c10-3e8b-4a1d-9c7a-1d2f3a4b5c6d",
"subject_id": "8f5fb0d2-1d45-4a0e-9d5c-2d39f2b7a112",
"purpose": "credit_evaluation",
"status": "ready",
"lang": "es",
"score": 742,
"band": "B",
"score_model_version": "v1",
"reason_codes": [
{
"code": "CREDIT_HISTORY_DEPTH",
"direction": "positive",
"weight": "medium"
},
{
"code": "ACTIVE_TRADELINES",
"direction": "positive",
"weight": "low"
}
],
"verify_code": "Q3f5c9f2d7d214b8c9a2d2d5f6a1b8c01a1b2c3d4e5f60718293a",
"created_at": "2026-08-08T15:04:22Z",
"completed_at": "2026-08-08T15:04:24Z"
}
],
"meta": {
"page": 1,
"page_size": 50,
"total": 1
}
}{
"error": "invalid_range",
"message": "from/to must be valid YYYY-MM-DD dates"
}授权
会话 JWT(来自注册/登录)或 API key(pk_...)。
也接受 X-API-Key: <token> 作为替代请求头。
查询参数
开始日期 YYYY-MM-DD(组织时区,含当日)。日期无效返回 400 invalid_range。
结束日期 YYYY-MM-DD(组织时区,含当日)。
按主体 id 过滤(来自 GET /v1/qscore/subjects/{docId})。
按报告状态过滤。
可用选项:
pending, ready, failed 页码(>= 1)。
每页结果数(最多 200)。
必填范围:
x <= 200响应
报告分页。每个条目是已存储的报告对象;此列表中评分模型版本字段为 score_model_version(单报告端点以 model_version 返回相同的值)。
最后修改于 2026年8月22日
⌘I