雅虎财经 API 的查询限制是多少?
雅虎财经 API 的查询限制是多少?或者描述限制的文档在哪里?
对于所有 Yahoo 的 API,我只能找到所有 API 的一般文档。如果您知道 Yahoo 的 Finance API 的文档在哪里,我们将不胜感激。 (我在Google和Yahoo的API网站上搜索了几天,最后转向SO的朋友)
What is the query limit for Yahoo's Finance API? Or where is the documentation that describes the limit?
For all of Yahoo's API's I've only been able to find general documentation for all API's. If you know where the documentation is for Yahoo's Finance API that'd also be appreciated. (I've been searching for a few days on Google, and on Yahoo's API sites, finally turned to friends at SO)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
请参阅Yahoo 查询语言使用信息和限制页。这适用于所有 YQL API,而不仅仅是财务 API。
YQL 速率限制:
这意味着:
每个 IP 每小时 2,000 个请求(或每天最多总共 48,000 个请求)。
每个 IP 每小时 20,000 个请求,每个 API 密钥每天不得超过 100,000 个请求。
上述答案最初发布于这里是我的。
See the Yahoo Query Language Usage Information and Limits page. This is for all of the YQL APIs, not just the Finance API.
YQL Rate Limits:
What this means:
2,000 requests per hour per IP (or up to a total of 48,000 requests a day).
20,000 requests per hour per IP and you are limited to 100,000 requests per day per API Key.
The above answer was originally posted here by me.
更新:
YQL 中的速率限制基于您的身份验证。如果您使用基于 IP 的身份验证,则对 公共 YQL Web 服务 URL (/v1/public/) 的2,000 次调用/小时/IP 限制或 20,000 次调用/小时/IP 到需要 OAuth 授权的私有 YQL Web 服务 URL (/v1/yql/)。请参阅 YQL Web 服务 URL 以了解公共和私有 URL。应用程序(由访问密钥标识)仅限于每天/密钥 100,000 次调用*。
但是,为了确保每个人都可以使用该服务,我们要求您对 IP 身份验证用户调用 YQL 的次数不要超过 0.2 次/秒或 1,000 次/小时,以及 2.7 次/秒或 10,000 次/小时。
UPDATE:
Rate limits in YQL are based on your authentication. If you use IP-based authentication, then you are limited to 2,000 calls/hour/IP to the public YQL Web service URL (/v1/public/) or 20,000 calls/hour/IP to the private YQL Web service URL (/v1/yql/) that requires OAuth authorization. See the YQL Web Service URLs for the public and private URLs. Applications (identified by an Access Key) are limited to 100,000 calls/day/key*.
However, in order to make sure the service is available for everyone we ask that you don't call YQL more than 0.2 times/second or 1,000 times/hour for IP authenticated users and 2.7 times/second or 10,000 times/hour.
Yahoo 的 YQL 允许您查询 Yahoo!财务数据。它们的使用限制如下:
有关详细信息,请参阅 Yahoo 查询语言常见问题解答,网址为 http://developer.yahoo.com/yql/faq/
Yahoo's YQL allows you to query Yahoo! Finance data. Their usage limits are as follows:
See Yahoo's Query language FAQ for more details at http://developer.yahoo.com/yql/faq/
以下是目前有关新请求限制的详细信息:
Here are the details on new request limits as of now:
2020 年更新:
因此,问题中的旧答案不再有效。
存档有他们在前一天提到的链接的备份shutdown
你可能永远不会需要它,反正限制已经改变了
它位于https://query1.finance.yahoo.com/v7/finance (例如 https://query1.finance.yahoo.com/v7/finance/quote?symbols =AMZN)
A 2020 update:
Because of this, the older answers in the questions are no longer valid.
Archive has a backup of the link they mention from the day before the shutdown
You'll probably never need it, the limits have been changed anyway
It's located at https://query1.finance.yahoo.com/v7/finance (e.g. https://query1.finance.yahoo.com/v7/finance/quote?symbols=AMZN)