# How to get data from API key to java

**URL:** <https://community.hubspot.com/t/how-to-get-data-from-api-key-to-java/90298>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [September 22, 2023, 5:29pm UTC](https://community.hubspot.com/t/how-to-get-data-from-api-key-to-java/90298 "2023-09-22T17:29:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OEhrenberg3](https://avatars.discourse-cdn.com/v4/letter/o/f6c823/32.png) [@OEhrenberg3](https://community.hubspot.com/u/OEhrenberg3)\
**Post date:** [September 22, 2023, 5:29pm UTC](https://community.hubspot.com/t/how-to-get-data-from-api-key-to-java/90298/1 "2023-09-22T17:29:37Z")

</div>

Hello,

I wonder how we can get info from deal stages, where customers are in our hubspot to a java program, does anyone have a code for this that we can use in java?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [September 25, 2023, 7:22pm UTC](https://community.hubspot.com/t/how-to-get-data-from-api-key-to-java/90298/2 "2023-09-25T19:22:33Z")

</div>

Hey, @OEhrenberg3 👋 Thanks for your question. The community may not be able to provide a specific custom code example. You may need to do more research before asking for help from the community.

Questions I’d have:

- Have you already researched the endpoints you’ll need?
- Have you made simple tests with these endpoints using Postman? To verify the calls themselves are working like you expect
- Can you accomplish your goal in a single call? Depending on the endpoints and what you need returned, you may need to make multiple calls

Thanks! — Jaycee
