I'm trying to display stock prices in an iOS client app, similar to the built-in Stocks app for iOS. So far I haven't encountered any API that allows you to easily access close to real-time stock price data. A 15 minute delay would be acceptable to me.
Several other SO posts either link to Yahoo Finance (does not allow 3rd party applications to scrape data), Google Finance (deprecated) or http://dev.markitondemand.com/MODApis/#termsofuse (not for commercial use).