TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is the SEC XBRL JSON API accurate?

2 点作者 scrappyjoe超过 2 年前
Hi HN, asking here because the SEC is not getting back to me.<p>I recently discovered that the SEC has a RESTful endpoint for company filing data. You can, for free, query extremely fine grained financial data about any company that files with the SEC[1]. For instance, this link gives you the Berkshire Hathaway Basic Shares Outstanding:<p>https:&#x2F;&#x2F;data.sec.gov&#x2F;api&#x2F;xbrl&#x2F;companyconcept&#x2F;CIK0001067983&#x2F;us-gaap&#x2F;WeightedAverageNumberOfSharesOutstandingBasic.json<p>Unfortunately, as far as I can tell, the data is incomplete. The link above delivered json that only covers up to end 2015, nothing more recent. If you go to the SEC website you can access more recent Berkshire Hathaway data (including basic shares outstanding) - their latest filing was last week.<p>So, what gives? Is the API faulty? Does this explain why all the python and R libs still use html traversal for scraping SEC data?<p>[1] https:&#x2F;&#x2F;www.sec.gov&#x2F;edgar&#x2F;sec-api-documentation

1 comment

bigredhdl超过 2 年前
I am by no means an expert, but this reflects my dabbling with XBRL. It seems like a giant time suck that would require too much curating to make useful.
评论 #33614187 未加载