<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Estrecho IA</title>
    <description>The latest articles on DEV Community by Estrecho IA (@estrechoia).</description>
    <link>https://dev.to/estrechoia</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4102709%2F3e5897cd-3bba-40e3-b01c-089e8b456fac.png</url>
      <title>DEV Community: Estrecho IA</title>
      <link>https://dev.to/estrechoia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/estrechoia"/>
    <language>en</language>
    <item>
      <title>Parsing SEC ownership filings (Form 4 / 13F) is awful. Here is what we learned building a normalized API for it.</title>
      <dc:creator>Estrecho IA</dc:creator>
      <pubDate>Tue, 01 Sep 2026 10:52:51 +0000</pubDate>
      <link>https://dev.to/estrechoia/parsing-sec-ownership-filings-form-4-13f-is-awful-here-is-what-we-learned-building-a-3npp</link>
      <guid>https://dev.to/estrechoia/parsing-sec-ownership-filings-form-4-13f-is-awful-here-is-what-we-learned-building-a-3npp</guid>
      <description>&lt;p&gt;If you have ever needed insider-trade or institutional-holdings data, you have&lt;br&gt;
probably met EDGAR. It is the SEC's public filing system, it is free, and it&lt;br&gt;
contains everything — which is exactly the problem. The raw surface is built&lt;br&gt;
for compliance, not for software.&lt;/p&gt;

&lt;p&gt;This post is a short field guide to what we learned while building a small API&lt;br&gt;
that normalizes SEC ownership filings. Most of it is general knowledge you can&lt;br&gt;
use even if you never touch our tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Form 4 and 13F actually are
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Form 4&lt;/strong&gt; is filed by insiders (officers, directors, &amp;gt;10% owners) when they
buy or sell company stock. Each filing has the insider, the transaction
type, share counts, prices, and ownership after the trade.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;13F-HR&lt;/strong&gt; is filed quarterly by institutional investment managers with
&amp;gt;$100M in AUM. It lists their equity holdings. This is how people approximate
what funds like Berkshire hold.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both are "ownership filings", but they are structurally different documents.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pain points we hit (and that anyone will hit)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The official API is rate-limited, has no CORS, and no notifications.&lt;/strong&gt;
&lt;code&gt;data.sec.gov&lt;/code&gt; is deliberately conservative about automated access, and
there is no webhook when a new filing lands. Engineers have resorted to
reverse-engineering an undocumented full-text search endpoint just to find
filings. (Here is a write-up of that: &lt;a href="https://dev.to/orthogonalinfo/reverse-engineering-sec-edgars-full-text-search-api-one-undocumented-get-request-4ie6"&gt;dev.to&lt;/a&gt;.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;13F parsing is genuinely messy.&lt;/strong&gt; The raw text layouts vary; open-source
parsers track their own failure rate as an issue —
&lt;a href="https://github.com/dgunning/edgartools/issues/476" rel="noopener noreferrer"&gt;edgartools#476&lt;/a&gt; documents
improving 13F-HR parsing from ~80% to ~95%+. That last 5% is where the
real-world filings live.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Normalization is the whole job.&lt;/strong&gt; The same economic event can appear in
different forms, different units, different spellings of insider names.
Consumers want one stable JSON shape, not a tree of XBRL tags.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What we built (and its honest limits)
&lt;/h2&gt;

&lt;p&gt;We are building &lt;strong&gt;EdgarFeed&lt;/strong&gt;, a small API that serves normalized ownership&lt;br&gt;
filing data as clean JSON. It is a &lt;strong&gt;beta&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The live demo serves &lt;strong&gt;real SEC EDGAR filing metadata&lt;/strong&gt; — currently a sample
of 23 major US tickers, the last ~120 days, metadata-level records (filing,
form, date, accession, source URL). It is &lt;strong&gt;not&lt;/strong&gt; full market coverage and
&lt;strong&gt;not&lt;/strong&gt; yet parsed line items.&lt;/li&gt;
&lt;li&gt;Webhooks, full history, bulk export, and normalized transaction line items
are planned for launch, not shipped today.&lt;/li&gt;
&lt;li&gt;Pricing is proposed ($0 / $29 / $79) and unverified against the market.&lt;/li&gt;
&lt;li&gt;The official SEC API stays free; we are selling the developer experience and
reliability, not the data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try the live demo with real data: &lt;a href="https://edgarfeed.onrender.com" rel="noopener noreferrer"&gt;https://edgarfeed.onrender.com&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What we learned that applies to any EDGAR project
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Start from the &lt;strong&gt;bulk files / official APIs&lt;/strong&gt;, not scraped HTML — SEC fair
access rules matter, and a descriptive User-Agent with a real contact is
required.&lt;/li&gt;
&lt;li&gt;Plan for &lt;strong&gt;incremental ingestion with idempotency&lt;/strong&gt;: accession numbers are
the natural dedup key.&lt;/li&gt;
&lt;li&gt;Assume &lt;strong&gt;variation&lt;/strong&gt;: file formats drift over time; keep a coverage/parser
health metric and be public about it.&lt;/li&gt;
&lt;li&gt;If you only need metadata, the submissions API gets you a long way without
touching XBRL at all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We are happy to answer questions about the approach. Feedback on the API shape&lt;br&gt;
is welcome — that is exactly what the beta is for.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>api</category>
      <category>data</category>
    </item>
  </channel>
</rss>
