Skip to main content
The MKK API provides three dedicated CSV export endpoints that let you download large datasets in a single request. Each export endpoint mirrors the filtering parameters of its JSON counterpart, so you can apply the same fund_code, period, and other filters you use during exploration — then switch to the export URL when you are ready to pull data into a spreadsheet, pipeline, or analysis tool.

Export endpoints

Portfolio entries CSV

GET /exports/portfolio-entries.csv exports the same data you would retrieve from /portfolio-entries. Use it when you need a complete snapshot of a fund’s holdings across one or more reporting periods. Typical columns:
  • fund_code, fund_name
  • document_id, period
  • section
  • stock_key, label
  • value, unit
Supported filters: fund_id, fund_code, period, document_id, section, q, export_limit, offset

Line item values CSV

GET /exports/line-item-values.csv exports structured financial values extracted from documents. It includes the raw source label and a mapping_confidence score, which makes it useful for auditing extraction quality alongside the actual values. Typical columns:
  • fund_code, fund_name
  • document_id, period
  • section_id, section_title
  • line_item_slug, label
  • raw_label, raw_value
  • value, unit
  • mapping_confidence, mapping_method
Supported filters: fund_id, fund_code, period, document_id, section_id, line_item_slug, q, label, export_limit, offset

Data quality CSV

GET /exports/data-quality.csv exports the same quality report available at GET /data-quality. It is useful for running offline analysis, sharing quality metrics with data teams, or ingesting results into a monitoring dashboard.
Supported filters: fund_id, fund_code, low_line_item_threshold, export_limit See the data quality guide for a full description of the quality categories included in this export.

The export_limit parameter

All export endpoints accept export_limit in place of (or in addition to) the standard limit parameter.
If your dataset is larger than 100,000 rows, use offset in combination with export_limit to paginate across multiple export requests and concatenate the files.
The maximum export_limit is 100,000 rows per request. Requests that exceed this limit will be capped at 100,000. If the total field in the corresponding JSON endpoint shows more rows than this, you must use multiple export requests with incrementing offset values to retrieve the full dataset.

Downloading with curl

Use the -O flag to save the file with its default filename (derived from the URL path), or use -o filename.csv to specify your own name.

Examples

1

Export portfolio entries for a fund and period

Download all holdings for fund OJB across the full 2023 year:
2

Export line item values for a specific line item

Download every recorded net-asset-value across all funds and periods:
3

Export data quality for a fund

Download the quality report for OJB to review extraction issues offline:
4

Paginate a large export

If a dataset exceeds 100,000 rows, export in batches and combine: