Check out XChange [0] for starters. It is a Java meta-API for various exchanges and written quite nicely. I personally use it for building a bot with a friend to look for arbitrage opportunities among the exchanges. Others use it as a mean price aggregator, to conduct trades on their own UI, or use historical data to backtest trading strategies.
[0] https://github.com/timmolter/XChange