Get Google or Yahoo API live option price

3.7k Views Asked by At

Is there a way to get the live options information from Yahoo or Google's API. By options information I mean: call, ask volume. I basically need the information on this page

thanks for your help!

2

There are 2 best solutions below

3
On

I don't know of a way to do it other than scraping the HTML. The getOptionChain.yahoo function in the quantmod R package does that. You can get the source on CRAN.

0
On

Not sure what language you are looking to use, but you can use the java parser found here and modify the Yahoo Finance API link + special tags as shown here and you should be able to get the options information.

As far as I remember there is a 20mins delay in the quotes. I'm not sure if it works the same way for options.