The line items endpoints expose two distinct but related concepts. A line item is a canonical definition in the MKK schema — a named metric or text field with a stable slug (e.g.,Documentation Index
Fetch the complete documentation index at: https://demircancelebi.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
total-net-assets) that appears across many documents. A line item value is a single extracted instance of that metric from a specific document: the actual number or text pulled from a fund’s disclosure for a given reporting period. Use the line items endpoints to explore the schema, and use the line item values endpoints to query the extracted data.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /line-items | List canonical line item definitions |
GET | /line-items/{lineItemIdOrSlug} | Retrieve a single line item with its values |
GET | /line-item-values | Query extracted line item values across all documents |
GET | /key-values | Alias for GET /line-item-values |
https://mkk-roan.vercel.app/api
GET /key-values is an exact alias for GET /line-item-values. Both endpoints accept the same parameters and return the same response shape. You can use either path interchangeably.GET /line-items
Returns a paginated list of canonical line item definitions with aggregate statistics.Query parameters
Filter by line item kind. Accepted values:
metric (numeric values) or text (string values).Filter by canonical section slug (e.g.,
net-asset-value).Filter to line items that appear in documents for the fund with this internal ID.
Filter to line items that appear in documents for the fund with this fund code (e.g.,
OJB).Free-text search against line item names.
Maximum number of results to return. Accepts values from
1 to 500.Number of results to skip. Use with
limit to paginate.Response schema
Total matching line items.
Effective limit applied.
Effective offset applied.
Array of canonical line item objects.
Example requests
Example response
200
GET /line-items/
Returns a single line item definition together with its extracted values, with optional filtering by fund and period.Path parameters
Either the internal ID or the canonical slug of the line item (e.g.,
total-net-assets).Query parameters
Filter returned values to those from documents belonging to the fund with this internal ID.
Filter returned values to those from documents belonging to the fund with this fund code (e.g.,
OJB).Filter returned values to those from documents for this reporting period (
YYYY-MM).Maximum number of values to return in the nested
values array.Error responses
| Status | Description |
|---|---|
404 | No line item with the given ID or slug exists. |
Example requests
GET /line-item-values
Queries extracted line item values directly, without needing to navigate through line item definitions first. This is the primary endpoint for time-series and cross-fund data extraction.Query parameters
Filter to values from documents belonging to the fund with this internal ID.
Filter to values from documents belonging to the fund with this fund code (e.g.,
OJB).Filter to values from documents for this reporting period (
YYYY-MM).Filter to values belonging to the canonical section with this slug.
Filter to values for the canonical line item with this slug (e.g.,
total-net-assets).Free-text search across value labels and line item names.
Filter by the raw label as it appeared in the source document. Useful for investigating mapping quality.
Maximum number of values to return. Accepts values from
1 to 500.Response schema
Array of extracted line item value objects.
Example requests
Example response
200