Yahoo Finance

Text14 Nov 2009 5:33 PM
Hi
I need to write a method that searches a ticker in Yahoo Finance, and inserts all the results (URL's) into an ArrayList.
I've looked for Yahoo Finance API, but as far as I understood there it doesn't exist.

Is there a simple way doing this?

Thanks
Jonathan LeBlanc1 Dec 2009 7:24 AM
YQL might be the best method for you to be able to do this. You can make a request to a specific HTML page and capture page data via the xpath. Here's an example of what I mean: http://developer.yahoo.com/yql/console/?q=...Ful%2Fli%2Fa%27

You can just make a cURL or file_get_contents request to the REST query provided in the console after you hit test.

Jonathan LeBlanc
Technology Evangelist
Yahoo! Developer Network
Twitter: jcleblanc
lokesh10 Dec 2009 11:26 AM
hi do you provide yahoo finance api.
where can i find the documentation that a developer can see to use your api. i have been searching for that from so much of time and till now i dint got the clear documentation of full api available

1>see using this link i know i can get quotes

http://download.finance.yahoo.com/d/quotes.csv?s=
i came to know about flags then
2>but how to look up the stock symbols. i dont find any api for that.

is there is no any api for that
Dustin Whittle22 Dec 2009 1:30 PM
QUOTE (lokesh @ Dec 10 2009, 11:26 AM) <{POST_SNAPBACK}>
hi do you provide yahoo finance api.
where can i find the documentation that a developer can see to use your api. i have been searching for that from so much of time and till now i dint got the clear documentation of full api available

1>see using this link i know i can get quotes

http://download.finance.yahoo.com/d/quotes.csv?s=
i came to know about flags then
2>but how to look up the stock symbols. i dont find any api for that.

is there is no any api for that


Lokesh,

YQL provides that api here: http://query.yahooapis.com/v1/public/yql?q...&format=xml