sec-api-python icon indicating copy to clipboard operation
sec-api-python copied to clipboard

SEC Enforcement Actions Incomplete

Open rossjillian opened this issue 8 months ago • 0 comments

Hi,

I'm trying to pull down the complete SEC enforcement actions dataset (over 10,000 according to the documentation). However, when I run this query:

search_params = {
    "query": "releasedAt:[1997-01-01 TO 2025-04-09]",
    "from": "0",
    "size": "1",
    "track_total_hits": True,
    "sort": [{"releasedAt": {"order": "desc"}}],
}

response = enforcementActionsApi.get_data(search_params)
print(response['total']['value'])

I see a total of only 2,752 enforcement actions. Is this the documentation incorrect, or is there some bug in how I'm querying it?

Thanks.

rossjillian avatar Apr 16 '25 20:04 rossjillian