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

后端 未结 9 1565
礼貌的吻别
礼貌的吻别 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:28

    I am the author of ValueViz on github.

    Daily prices

    You need to be familiar with RESTFUL services.

    https://quantprice.herokuapp.com/api/v1.1/scoop/day?tickers=MSFT&date=2017-06-09

    Historical prices

    You have to provide a date range :

    https://quantprice.herokuapp.com/api/v1.1/scoop/period?tickers=MSFT&begin=2012-02-19&end=2012-02-20

    If you don't provide begin or end it will use the earliest or current date:

    https://quantprice.herokuapp.com/api/v1.1/scoop/period?tickers=MSFT&begin=2012-02-19

    Multiple tickers

    You can just comma separate tickers:

    https://quantprice.herokuapp.com/api/v1.1/scoop/period?tickers=IBM,MSFT&begin=2012-02-19

    Rate limit

    All requests are rate limited to 10 requests per hour. If you want to register for a full access API send me DM on twitter. You will receive an API key to add to the URL.

    We are setting up a paypal account for paid subscription without rates.

    List of tickers available

    https://github.com/robomotic/valueviz/blob/master/scoop_tickers.csv

    I am working also to provide fundamental data and company data from EDGAR. Cheers.

提交回复
热议问题