---
title: "Paginated raw XBRL facts for a filing"
method: GET
path: "/api/v1/filings/{filing_id}/facts"
tags: ["Filings"]
---

# Paginated raw XBRL facts for a filing

`GET /api/v1/filings/{filing_id}/facts`

## Request

- Base URL: `https://api.hub-equity.com`
- URL: `https://api.hub-equity.com/api/v1/filings/{filing_id}/facts`
- Auth: HTTP bearer

Paginated list of the facts declared in one filing, as filed (before normalization). The lowest-level primitive of the API.

Filters :
- `section` — restrict to one presentation link role (exact match). Use the `link_role` URIs returned by `GET /entities/{id}/disclosures` or `GET /filings/{id}/calculation-tree`.
- `concept`: case-insensitive substring match on `concept_qname` (e.g. `Revenue`, `us-gaap:Stockholders`).
- `is_extension` — true/false filter on filer-defined extensions.
- `limit` 1-1000 (default 200), `offset` for pagination.

Each fact carries its qname, unit, decimals, period, dimensions and presentation place on every plan. The filed values (`value_numeric`, `value_text`, `value_boolean`) need the `facts.premium` scope: below it they are null and a note says so, as the site's Raw Data screen blurs them. The filing itself stays readable on every plan (`/filings/{id}/document`): what a paid plan adds here is the paged, filtered table of values.

## Path parameters

- `filing_id` string, required

## Query parameters

- `section` string, nullable: XBRL presentation link role URI (exact match). Omit to scan all sections.
- `concept` string, nullable: Case-insensitive substring match on `concept_qname` (e.g. `Revenue`, `us-gaap:Stock`).
- `is_extension` boolean, nullable: Filter to filer-defined extensions only when true.
- `page` integer, nullable: Page number (1-based). Public idiom; overrides offset.
- `per_page` integer, nullable: Rows per page (1-200). Overrides limit. Quants needing bigger pages can still use the legacy `limit` (up to 1000).
- `limit` integer
- `offset` integer

## Response `200`

Paginated raw facts.

- ApiResponseRawFactsResponse
  - `success` boolean, required
  - `data` RawFactsResponse: Container response for ``GET /filings/{id}/facts``.
    - `filing_id` string, required
    - `total` integer, required
    - `limit` integer, required
    - `offset` integer, required
    - `facts` RawFact[]
      - `fact_id` string, required
      - `concept_qname` string, required
      - `concept_local_name` string, nullable
      - `is_extension` boolean
      - `value_numeric` number, nullable
      - `value_text` string, nullable
      - `value_boolean` boolean, nullable
      - `unit` string, nullable
      - `decimals` integer, nullable
      - `period_type` string, required
      - `period_start` string, nullable
      - `period_end` string, required
      - `dimensions` object
      - `presentation_link_role` string, nullable
      - `presentation_order` number, nullable
      - `presentation_level` integer, nullable
    - `applied_filters` object
    - `notes` string[]
  - `error` ApiError: API error details.
    - `code` string, required
    - `message` string, required
    - `details` object, nullable
  - `meta` ApiMeta: API response metadata. Pagination fields (``page`` / ``per_page`` / ``total``) are populated on collection endpoints only. They are omitted from the payload on single-resource endpoints.
    - `timestamp` string, date-time
    - `request_id` string, nullable
    - `page` integer, nullable
    - `per_page` integer, nullable
    - `total` integer, nullable
  - `links` ApiLinks: HATEOAS-style pagination cursors. Host-relative path + query links for a collection page. Present on collection endpoints, ``null`` fields where a page doesn't exist (``next`` on the last page, ``prev`` on the first). The whole ``links`` object is omitted from single-resource responses (see ``ApiResponse`` serializer).
    - `self` string, nullable
    - `first` string, nullable
    - `prev` string, nullable
    - `next` string, nullable
    - `last` string, nullable

## Other responses

- `404`: Filing not found.
- `422`: Validation Error

---

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