Has Yahoo finance web service disappeared? API changed? Down temporarily?

后端 未结 9 1548
礼貌的吻别
礼貌的吻别 2020-11-27 13:12

For quite some time I\'ve been using the following REST API to query Yahoo finance for current prices. It is documented in several Stack Overflow posts, e.g. Yahoo finance

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-27 13:35

    Yes, it does seem like Yahoo! has discontinued the (private, mostly-undocumented) Yahoo Finance API that many have been relying on for years for currency data. We received some notifications about it over the past 24 hours. (edit: All responses seem to be returning "Not a valid parameter". I suppose there's a chance they may switch it back on, but they don't officially support that API anywhere as far as I can tell.)

    I created Open Exchange Rates about five years ago, and our exchange rate API now supports a community of tens of thousands of developers - and their tens of millions of users - with accurate, up-to-date information.

    Please feel welcome to check out our Forever Free service at https://openexchangerates.org.

    Our API is in a simple, original JSON format, which has actually caught on as a standard method for displaying rates because it's so simple to work with (unlike the Yahoo API, which required you to parse the obscure nested objects to pull out the basic info you needed...)

    If you need assistance porting from the deprecated Yahoo! API, we'll be happy to assist via email.

    (I am the founder of Open Exchange Rates.)

提交回复
热议问题