---
title: "Get Sec Xbrl Debug"
method: GET
path: "/api/admin/sec-xbrl-debug"
tags: ["Admin"]
---

# Get Sec Xbrl Debug

`GET /api/admin/sec-xbrl-debug`

## Request

- Base URL: `https://api.xfinlab.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xfinlab.com/api/admin/sec-xbrl-debug`
- Auth: none declared

2026-08-28 (Data Factory batch, AJ: "咁你一次過起"): debug/visibility
endpoint for services/sec_xbrl_service.py -- returns the full parsed
facts for one ticker (default AAPL) so a tag-alias miss or CIK lookup
failure is visible immediately, same upfront-diagnostic rationale as
/admin/eia-energy-debug.

## Query parameters

- `token` string, required
- `ticker` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xfinlab/apis/xfinlab-api.md) · [All operations](https://skmtc.dev/xfinlab/apis/xfinlab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfinlab/apis/xfinlab-api/revisions/205f85614bc6?raw)
