---
title: "Get Data Sources"
method: GET
path: "/api/admin/data-sources"
tags: ["Admin"]
---

# Get Data Sources

`GET /api/admin/data-sources`

## 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/data-sources`
- Auth: none declared

2026-08-26 (AJ's "Data Factory" batch, "起啦"): foundation layer for
an auto-extensible set of external data collectors (FRED, SEC EDGAR
ownership, CFTC COT, crypto exchanges, etc.). Unlike /admin/feature-
flags (which needs every key hardcoded into _DEFAULT_FLAGS before it
can be toggled), each collector self-registers via
services.data_source_registry.register_source() the moment its module
is imported -- this endpoint just reads whatever has registered so
far, so a brand-new collector shows up here automatically with no
admin.py edit required.

## Query parameters

- `token` string, required

## 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)
