api to a stock database

i need current and historical daily, weekly, or quarterly data for the stock marketincluding all the numbers, such as p.e ratio, forward p/e, beta,eps, price, etcit would be fine if this was a paid service, does anyone know about such a thing?thanks
[277 byte] By [mkoryaka] at [2007-11-27 8:35:35]
# 1
Google knows about a wide variety of such services.Use historical stock data as keywords.
cotton.ma at 2007-7-12 20:32:15 > top of Java-index,Java Essentials,Java Programming...