I am looking for some stock symbol look-up API. I could able to query yahoo finance with a symbol & could able to retrieve the stock price & other details.
Is there any API for stock symbol searches
Any help would be great ..
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use Python’s urllib or the mechanise library to scrape the data from a website which publishes this data. Mechanise would be a better choice if the website requires some interaction before you can get hold of the data (like logging in).
EDIT – for getting stock quote for BT from Yahoo’s UK site:
The id in the regular expression was taken by viewing the source of the page and finding the id of the tag that surrounded the data required.