SEC EDGAR API Python Tutorial - Get SEC Filing And Financial Data

preview_player
Показать описание
No more looking up SEC filings by hand through the SEC web portal. Let's dive in and see how to automate getting SEC filing data and company financial data from the SEC EDGAR API in python.

All the code from this video can be found on my Github.

0:23 open the docs
0:59 import modules
1:05 assign request header
1:28 get CIK numbers, company names, and tickers
2:14 review and parse CIK request response
3:24 get SEC filing metadata
4:58 FACTS
5:05 get company facts data
7:51 request historical financial data

- - -

Subscribe to join our community and receive value on all things finance and technology!

If you love the content, buy me a coffee!

Keep up with me!

- - -

Need some ideas for your project portfolio?

Check out how to get historical option price data in Python from the Polygon API.

Here's how to quickly get crypto data in Python from the CoinGecko API

Here's how to create a SQL database from a Pandas DataFrame in Python

- - -

Рекомендации по теме
Комментарии
Автор

bro this saved me so much time. was about to start writing this from scratch parsing excel files and wanted to die

XwitterEye
Автор

Thank you Adam for this information, its very super helpful)

ekhoobm
Автор

Nicely done! Love this video. Keep up the great work.

petterstensland
Автор

I came from another video looking for ways to fix the "403" error.

Thank you!

Your channel is a gold mine.

miguelcastillo
Автор

Thank you Adam for this information, super helpful.

alvaromejia
Автор

Hey buddy! I love your videos! Thanks a bunch!

ekaterinavolkova
Автор

Much respect, I appreciate you homie🤘🏻

mhxmikb
Автор

Are you ready to get this bag, Y/N?
THROW SOME "Y"s IN THE COMMENTS IF YOU GETTING THIS BAG.
Subscribe to join our community and receive value on all things finance and technology!

If you love the content, buy me a coffee!

Keep up with me!

damgetbags
Автор

Yo Adam great video. I don't often comment on videos but I just had to complement this, it's really good. The only thing I wish you did was maybe move through a bit slower, you were kinda rushing everything. But that's not really the most important thing I can decrease the speed when I need to.

Other than that great video. Straight to the point. Very good audio quality. Charismatic dude leading through the subject matter in consistent, linear fashion. Keep it up!

cedomirgligoric
Автор

yeah boy. well done. keep udpate new videos!

foslight
Автор

Awesome video! Great content and easy to follow along especially for a python newbie like myself. I was wondering how you were able to format the console to return the data in the format the way it did? I'm current using vs code and it doesn't look that way.

MegaChanTV
Автор

How's it going Adam. Are you doing any algo trading? It would be interesting to discuss strategies and using python/apis to do it. Great videos btw!

DepthWish
Автор

Hi Adam, love your content. It was really helpful. I just had a small question, I am pulling revenues data for a bunch of companies and even though they have reported revenues for a particular year, the api can't seem to find it. Can you please help me with this?

dhruvjani
Автор

This tutorial has me cheesing like it's picture day

quasimodo
Автор

Super helpful, what if you want it as it comes in live, do you just keep polling the API, if for example earnings is coming in at 4:00 pm EST you just keep hitting the api real time?

nattyzaddy
Автор

hi adam, this is a nice video. i'm just wondering if there is a way to pull latest filling without cik? just latest fillings by whichever company.

jervinfaderanga
Автор

I'm facing challenges in processing financial data from multiple companies at once, as each company uses its own unique tag for the same financial items. For instance, NVIDIA (NVDA) refers to its sales as 'Revenues', while Apple (AAPL) uses This variation in the naming of financial tags across different companies makes it challenging to aggregate their financial data effectively.
Is there a way to gather and use revenue data from various companies, considering that each company might refer to revenue using different terms? Can we retrieve this specific financial information (like revenue) from multiple companies in a unified manner?

ltmczrf
Автор

How do I search for specific word or phrase within filing documents for filing types 6-K and 8-K?

Many thanks for your kind support

bcollege
Автор

This was very helpful, great work
I also wanted to pull data for RSU's and PSU's granted but am unable to do it.
Is there a way to pull it using SEC Edgar API

ishaangupta
Автор

Hi Adam, Amazing work. I wonder whether we can get the narrative parts of the 10-K such as Item 1, Item 1A ... using this API?

fmxrdus