如何通过其股票代码获取有关公司财务,资产负债表,现金流等的数据

时间:2021-08-18 12:38:02

Are there any good, free (or cheap) sources to get information about a company's financials that I can access via an API or XML feed or anything besides screen-scraping? Specifically I'm looking for things like total assets, liabilities, revenue, etc.

是否有任何好的,免费的(或廉价的)来源获取有关公司财务的信息,我可以通过API或XML Feed或除了屏幕抓取之外的任何内容访问这些信息?具体来说,我正在寻找总资产,负债,收入等等。

6 个解决方案

#1


19  

Yahoo! finance has a really simple API which returns results in CSV format. As well as stock price it can also return Dividend Yield, EBITDA, Annualized Gains etc. Here's an example:

雅虎finance有一个非常简单的API,它以CSV格式返回结果。除了股票价格,它还可以返回股息收益率,EBITDA,年化收益等。这是一个例子:

http://finance.yahoo.com/d/quotes.csv?s=MSFT+AAPL+f=j4g3y

A really good explanation of what it can return is available here

这里有一个非常好的解释,它可以返回什么

[Edit] I just tried to use the explanation page, but it has been the subject of a Yahoo takedown notice. WayBack Machine solves that problem: http://web.archive.org/web/20140503202125/http://www.gummy-stuff.org/Yahoo-data.htm

[编辑]我只是试图使用解释页面,但它一直是雅虎删除通知的主题。 WayBack Machine解决了这个问题:http://web.archive.org/web/20140503202125/http://www.gummy-stuff.org/Yahoo-data.htm

#2


9  

Have you tried wolframalpha.com? for example if you enter MSFT it gives incredible information regarding microsoft. And here is their api information http://www.wolframalpha.com/WolframAlphaAPI.pdf

你试过wolframalpha.com吗?例如,如果您输入MSFT,它会提供有关Microsoft的令人难以置信的信息。这是他们的api信息http://www.wolframalpha.com/WolframAlphaAPI.pdf

#3


2  

Xignite has a pretty cheap $50 a month or so api and it seems to be actually useful.

Xignite有一个相当便宜的50美元左右api,它似乎实际上很有用。

If you are going to be scraping web pages I'd recommend you just grab a useful library like hpricot.

如果您要抓取网页,我建议您只需抓住像hpricot这样的有用库。

#4


-1  

I doubt it. Getting sanitized and cleaned up financial information is hard. It usually takes me a whole day just cleaning up the price data I scrape off the web whenever I update my data on chartgame.com

我对此表示怀疑。清理和清理财务信息很难。每当我在chartgame.com上更新我的数据时,通常需要一整天的时间来清理掉网上的价格数据

#5


-1  

Likely not for free (at least for full details), but I could stand corrected. Reuters has some form of API that gives in-depth details on businesses. If stock details are sufficient you could get those for free from Google Finance API, but as far as I can tell they don't offer all of the other details.

可能不是免费的(至少是完整的细节),但我可以站得更正。路透社有某种形式的API,可以提供有关企业的详细信息。如果股票详细信息足够,您可以从Google Finance API免费获得这些信息,但据我所知,他们不提供所有其他详细信息。

#6


-2  

Try the Mergent Company Fundamentals API at http://www.mergent.com/servius/ - lots of very detailed financial statement data (balance sheets / income statements / cashflow statements / ratios), standardized across companies, going back more than 20 years

在http://www.mergent.com/servius/上试用Mergent Company Fundamentals API - 许多非常详细的财务报表数据(资产负债表/损益表/现金流量表/比率),跨公司标准化,可追溯到20多年前

#1


19  

Yahoo! finance has a really simple API which returns results in CSV format. As well as stock price it can also return Dividend Yield, EBITDA, Annualized Gains etc. Here's an example:

雅虎finance有一个非常简单的API,它以CSV格式返回结果。除了股票价格,它还可以返回股息收益率,EBITDA,年化收益等。这是一个例子:

http://finance.yahoo.com/d/quotes.csv?s=MSFT+AAPL+f=j4g3y

A really good explanation of what it can return is available here

这里有一个非常好的解释,它可以返回什么

[Edit] I just tried to use the explanation page, but it has been the subject of a Yahoo takedown notice. WayBack Machine solves that problem: http://web.archive.org/web/20140503202125/http://www.gummy-stuff.org/Yahoo-data.htm

[编辑]我只是试图使用解释页面,但它一直是雅虎删除通知的主题。 WayBack Machine解决了这个问题:http://web.archive.org/web/20140503202125/http://www.gummy-stuff.org/Yahoo-data.htm

#2


9  

Have you tried wolframalpha.com? for example if you enter MSFT it gives incredible information regarding microsoft. And here is their api information http://www.wolframalpha.com/WolframAlphaAPI.pdf

你试过wolframalpha.com吗?例如,如果您输入MSFT,它会提供有关Microsoft的令人难以置信的信息。这是他们的api信息http://www.wolframalpha.com/WolframAlphaAPI.pdf

#3


2  

Xignite has a pretty cheap $50 a month or so api and it seems to be actually useful.

Xignite有一个相当便宜的50美元左右api,它似乎实际上很有用。

If you are going to be scraping web pages I'd recommend you just grab a useful library like hpricot.

如果您要抓取网页,我建议您只需抓住像hpricot这样的有用库。

#4


-1  

I doubt it. Getting sanitized and cleaned up financial information is hard. It usually takes me a whole day just cleaning up the price data I scrape off the web whenever I update my data on chartgame.com

我对此表示怀疑。清理和清理财务信息很难。每当我在chartgame.com上更新我的数据时,通常需要一整天的时间来清理掉网上的价格数据

#5


-1  

Likely not for free (at least for full details), but I could stand corrected. Reuters has some form of API that gives in-depth details on businesses. If stock details are sufficient you could get those for free from Google Finance API, but as far as I can tell they don't offer all of the other details.

可能不是免费的(至少是完整的细节),但我可以站得更正。路透社有某种形式的API,可以提供有关企业的详细信息。如果股票详细信息足够,您可以从Google Finance API免费获得这些信息,但据我所知,他们不提供所有其他详细信息。

#6


-2  

Try the Mergent Company Fundamentals API at http://www.mergent.com/servius/ - lots of very detailed financial statement data (balance sheets / income statements / cashflow statements / ratios), standardized across companies, going back more than 20 years

在http://www.mergent.com/servius/上试用Mergent Company Fundamentals API - 许多非常详细的财务报表数据(资产负债表/损益表/现金流量表/比率),跨公司标准化,可追溯到20多年前