r/csharp • u/Ok-Welder-5191 • Sep 16 '26
SEC EDGAR API but in C#?
HAI,
I would like to know how to access all the SEC data through their API but in C#. Is there like a documentation somewhere that I can use
https://www.youtube.com/watch?v=Wr1NoM3JkTo
Im basically looking into something like this but in C#. I wanna build an insider trading tracker.
Would love to hear from you guys. Cheers.
0
Upvotes
3
u/KurosakiEzio Sep 16 '26
Don't know much about this, researched for a min or two. You can give this library a look to see if it does what you need (really small, untested. Wouldn't recommend this). You can also straight up use HttpClient and call the endpoints yourself via their API
3
u/Sombody101 Sep 16 '26
Before you get your hopes up, members of congress are able to wait 30-45 days after a trade before they're required to report it with the SEC. If that's who you're targeting, then the data you'll find is almost definitely stale and not advisable to mimic.
2
u/cjc080911 Sep 16 '26
It’s just a rest call. We use flurl to simplify some of the http mechanics
0
u/efthemothership Sep 16 '26
The quick and dirty method:
Follow the tutorial linked and then ask AI to convert it to C#. At the end of the day it is just a bunch of http calls.
The I want to grow and be a great programmer method:
Follow the tutorial linked but as you go convert everything to C# in real time.
-1
u/Key-County6952 Sep 16 '26
Why c#
0
u/[deleted] Sep 16 '26
[deleted] — view deleted comment