Consultar un sujeto
curl --request GET \
--url https://api.qbank.cl/platform/v1/qscore/subjects/{docID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/qscore/subjects/{docID}"
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/subjects/{docID}', 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/subjects/{docID}",
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/subjects/{docID}"
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/subjects/{docID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/qscore/subjects/{docID}")
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{
"subject_id": "8f5fb0d2-1d45-4a0e-9d5c-2d39f2b7a112",
"country": "CL",
"doc_id": "12.345.678-5",
"subject_type": "person",
"display_name": "Example Name",
"last_score": 742,
"last_band": "B",
"last_score_at": "2026-08-08T15:04:24Z"
}{
"error": "invalid_doc_id",
"message": "doc_id is not valid for the given country"
}{
"error": "not_found",
"message": "subject not found"
}Consultar un sujeto
Devuelve el registro del sujeto para un documento de identidad (no
emite un informe nuevo ni cobra nada). Los sujetos se crean automáticamente
la primera vez que se pide un informe para ese documento. El parámetro de
ruta docId es el documento tal como fue emitido (p. ej. un RUT chileno como
12.345.678-5); se valida y normaliza por país. Si el sujeto ya tiene
scores, el último se resume en last_score / last_band / last_score_at
(last_score está ausente para la banda SC). Un sujeto inexistente devuelve
404 not_found.
GET
/
v1
/
qscore
/
subjects
/
{docID}
Consultar un sujeto
curl --request GET \
--url https://api.qbank.cl/platform/v1/qscore/subjects/{docID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/qscore/subjects/{docID}"
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/subjects/{docID}', 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/subjects/{docID}",
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/subjects/{docID}"
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/subjects/{docID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/qscore/subjects/{docID}")
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{
"subject_id": "8f5fb0d2-1d45-4a0e-9d5c-2d39f2b7a112",
"country": "CL",
"doc_id": "12.345.678-5",
"subject_type": "person",
"display_name": "Example Name",
"last_score": 742,
"last_band": "B",
"last_score_at": "2026-08-08T15:04:24Z"
}{
"error": "invalid_doc_id",
"message": "doc_id is not valid for the given country"
}{
"error": "not_found",
"message": "subject not found"
}Autorizaciones
Parámetros de ruta
Respuesta
Registro del sujeto con el resumen de su último score.