# A Java API for Alpaca

**URL:** <https://forum.alpaca.markets/t/a-java-api-for-alpaca/44>\
**Category:** Alpaca Integration Applications\
**Created:** [July 26, 2019, 6:03pm UTC](https://forum.alpaca.markets/t/a-java-api-for-alpaca/44 "2019-07-26T18:03:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petersoj](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/petersoj/32/8490_2.png) [@Petersoj](https://forum.alpaca.markets/u/Petersoj)\
**Post date:** [July 26, 2019, 6:03pm UTC](https://forum.alpaca.markets/t/a-java-api-for-alpaca/44/1 "2019-07-26T18:03:13Z")

</div>

For all those who love to program in Java and want a Java API for Alpaca, look no further! You can find it here: [https://github.com/mainstringargs/alpaca-java](https://github.com/mainstringargs/alpaca-java).  
If you want to backtest your strategies in Java using Polygon Data, I’m currently working on a project available here: [https://github.com/Petersoj/AlpacaJavaBacktest](https://github.com/Petersoj/AlpacaJavaBacktest). Feel free to contribute!  
I’m am also currently working on a momentum based strategy for the Alpaca Java API.

First post 😇

---

<div class="post-metadata">

**Author:** ![gamesover](https://avatars.discourse-cdn.com/v4/letter/g/a88e4f/32.png) [@gamesover](https://forum.alpaca.markets/u/gamesover)\
**Post date:** [July 31, 2019, 4:42am UTC](https://forum.alpaca.markets/t/a-java-api-for-alpaca/44/2 "2019-07-31T04:42:21Z")

</div>

I love Java or Go implementation.

Since python or ruby is too slow.

> **[Java is one of the most energy-efficient languages, Python among least energy...](https://jaxenter.com/energy-efficient-programming-languages-137264.html)**
>
> Energy efficient isn’t just a hardware problem, but also question of software choices. We dive deep into what makes a programming language energy efficient.
