# Is it possible to grab the values from custom fields using the API?

**URL:** <https://community.hubspot.com/t/is-it-possible-to-grab-the-values-from-custom-fields-using-the-api/12041>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [April 27, 2018, 6:47pm UTC](https://community.hubspot.com/t/is-it-possible-to-grab-the-values-from-custom-fields-using-the-api/12041 "2018-04-27T18:47:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricky23](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ricky23/32/101739_2.png) [@ricky23](https://community.hubspot.com/u/ricky23)\
**Post date:** [April 27, 2018, 6:47pm UTC](https://community.hubspot.com/t/is-it-possible-to-grab-the-values-from-custom-fields-using-the-api/12041/1 "2018-04-27T18:47:12Z")

</div>

We have created some custom fields under Deals. Is it possible to grab the values from these fields using the API?

---

<div class="post-metadata">

**Author:** ![Derek\_Gervais](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derek_gervais/32/17429_2.png) [@Derek\_Gervais](https://community.hubspot.com/u/Derek_Gervais)\
**Post date:** [April 30, 2018, 9:37pm UTC](https://community.hubspot.com/t/is-it-possible-to-grab-the-values-from-custom-fields-using-the-api/12041/2 "2018-04-30T21:37:00Z")

</div>

Hi @ricky23,

Yes:

- If you’re looking to get the property definitions, you’ll want the Deal Properties API:
  - [https://developers.hubspot.com/docs/methods/deals/get\_deal\_properties](https://developers.hubspot.com/docs/methods/deals/get_deal_properties)

- If you’re looking to get the value of these properties for particular deal records, you’ll want the Deals API:
  - [https://developers.hubspot.com/docs/methods/deals/get\_deal](https://developers.hubspot.com/docs/methods/deals/get_deal)

---

<div class="post-metadata">

**Author:** ![colinlongworth](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/colinlongworth/32/44643_2.png) [@colinlongworth](https://community.hubspot.com/u/colinlongworth)\
**Post date:** [August 11, 2020, 3:36pm UTC](https://community.hubspot.com/t/is-it-possible-to-grab-the-values-from-custom-fields-using-the-api/12041/3 "2020-08-11T15:36:13Z")

</div>

Late to the party on this one, but is there a way to determine if the field was created by a user and is a custom field? We may not know in advance the name of the fields they created.

Is it safe to assume that if createdUserId is not null, then it’s a custom, user created field?

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 7, 2018, 5:05pm UTC](https://community.hubspot.com/t/is-it-possible-to-grab-the-values-from-custom-fields-using-the-api/12041/4 "2018-11-07T17:05:48Z")

</div>

Hi [@Derek\_Gervais](https://community.hubspot.com/u/derek_gervais), is there a similiar way to get custom contact properties?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 7, 2018, 5:21pm UTC](https://community.hubspot.com/t/is-it-possible-to-grab-the-values-from-custom-fields-using-the-api/12041/5 "2018-11-07T17:21:31Z")

</div>

Hi [@a\_hubspot\_api\_user](https://community.hubspot.com/u/a_hubspot_api_user),

Yes, you would use [this Contacts API endpoint](https://developers.hubspot.com/docs/methods/contacts/get_contact) (or the [email version](https://developers.hubspot.com/docs/methods/contacts/get_contact_by_email)) and include `&property=your_custom_property's_internal_name` as a query parameter.
