I need to create a simple bot for buying and selling coins and the programming language needs to be Java due to some technical specifications.

These are the functions which I need from that API:

  • buy(args)
  • sell(args)
  • getCurrentPrice(args)

If you know any API-s which are reliable and suitable for Java, please let me know.

1 Answer 1


Pretty much every exchange offers their own APIs for trading. Take a look at kraken.

  • I see that they have examples for some other programming languages, but not Java. Link: kraken.com/en-us/features/api#example-api-code But, I suppose that it is also possible to use that API in Java, right?
    – Jakov
    Jan 22, 2021 at 15:11
  • 1
    Yes, APIs can be used with any language/tech stack as long as you can send out the requests in the format the API will understand. You can easily build this service using spring boot for example
    – ooomid
    Jan 22, 2021 at 16:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.