---
title: "Get the caller's redacted KYC lookup history"
method: GET
path: "/api/v1/persons/lookup/history"
tags: ["User"]
---

# Get the caller's redacted KYC lookup history

`GET /api/v1/persons/lookup/history`

## Request

- Base URL: `https://openmercantil.es`
- URL: `https://openmercantil.es/api/v1/persons/lookup/history`
- Auth: API key in cookie `ob_sess`
- TypeScript: <https://skmtc.dev/openmercantil/apis/openmercantil-public-api/docs/api/v1/persons/lookup/history/get.ts> (a function with typed inputs; its response is checked against the schema)

Account-only, audit-derived history. Identifiers are masked/hash-backed; it is never a public people endpoint.

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Redacted KYC lookup history

- KycPersonLookupHistoryResponse
  - `count` integer, required
  - `total` integer, required
  - `entries` KycLookupHistoryEntry[], required
    - `id` integer, required
    - `query_type` string, required
    - `query_redacted` string, required
    - `results_count` integer, required
    - `sources_matched` string[], required
    - `finalidad` string
    - `status` string, required
    - `request_id` string, required
    - `created_at` string, required
  - `disclaimer` string, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required (no active session)
- `402`: Plan does not include KYC lookup
- `422`: The query is lexically valid but outside a documented numeric or length bound, or uses an unsupported indexed combination.
- `503`: KYC helper unavailable

## Changes

- **2026-07-26** `996f96a11758`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/changes/api/v1/persons/lookup/history/get.md)

---

[API](https://skmtc.dev/openmercantil/apis/openmercantil-public-api.md) - [All operations](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/revisions/601ff6123c86?raw)
