STRUCTURED FILING APIv0.3 - 2026-01-10

Structured Filing API

Live API explorer for chunked SEC filing content. Test queries, inspect responses, and copy curl commands. Built for search infrastructure (Typesense/ES) and RAG pipelines.

View full API documentation · 40 section types

211 Companies2,160 Filings40 Section TypesSince 2020
Ticker:

512-1024 token text chunks with context prefix

Use case: RAG retrieval, semantic search

API Request
GET https://api.metricduck.com/api/v1/filings/text?ticker=AAPL&row_type=chunk&limit=3
curl
curl "https://api.metricduck.com/api/v1/filings/text?ticker=AAPL&row_type=chunk&limit=3"

API Response Preview

FieldTypePurpose
chunk_idstringUnique document ID for indexing
content_rawstringFull-text searchable (no prefix)
content_textstringText WITH context prefix for RAG
section_idstringFacet filter (footnote_revenue, mda_*)
token_countint32Filter by chunk length
filing_datedateSort by recency
tickerstringCompany filter (facetable)

Client Sync Workflow

Initial Bulk Load

GET /api/v1/filings/text?row_type=chunk&from_date=2020-01-01&limit=1000

Weekly Incremental Sync

GET /api/v1/filings/text?row_type=chunk&since=2024-12-01T00:00:00Z

Data extracted from SEC 10-Q/K filings via XBRL tags and heading patterns.

Structured Filing API v0.3