# IP address and associated fields

**URL:** <https://community.hubspot.com/t/ip-address-and-associated-fields/105413>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [April 22, 2024, 12:30pm UTC](https://community.hubspot.com/t/ip-address-and-associated-fields/105413 "2024-04-22T12:30:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDelamarre](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@SDelamarre](https://community.hubspot.com/u/SDelamarre)\
**Post date:** [April 22, 2024, 12:30pm UTC](https://community.hubspot.com/t/ip-address-and-associated-fields/105413/1 "2024-04-22T12:30:13Z")

</div>

Greetings,

With the removal of the ip\_address field from the API, are there other ways for fields like “ **IP country** ” or “ **IP city** ” from a contact to be automaticaly set by Hubspot ?

Or do we need to find the ip : country/city association on our side and then send the info to the API ?

Regards,

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [April 22, 2024, 3:11pm UTC](https://community.hubspot.com/t/ip-address-and-associated-fields/105413/2 "2024-04-22T15:11:37Z")

</div>

@SDelamarre -- there’s a lot of information available preset in the {{request}} variable on any page. In terms of IP location, you will find at least the following useful settings. Some of this (example country) is also captured in a conversion to the contact record.

“geoipCity” : “san diego”, “geoipCountry” : “us”, “geoipDma” : null, “geoipOrganization” : “”, “geoipRegion” : “california”

Hope this helps,

Steve

---

<div class="post-metadata">

**Author:** ![SDelamarre](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@SDelamarre](https://community.hubspot.com/u/SDelamarre)\
**Post date:** [April 23, 2024, 2:48am UTC](https://community.hubspot.com/t/ip-address-and-associated-fields/105413/3 "2024-04-23T02:48:26Z")

</div>

@SteveHTMIn my case, I’m using the curl endpoint POST/PATCH /crm/v3/objects/contacts/ to add new customers data once a day to the hubspot access of our client.

Is there any way for hubspot to fill those

geoip

fields with the help of an IP address we can procure during our API call ? According to this [page](https://knowledge.hubspot.com/properties/hubspots-default-contact-properties), it seems possible.

> * * *
> 
> **IP country:** the country reported by the contact’s IP address. This is automatically set by HubSpot and can be used for segmentation and reporting
> 
> * * *

Or do we need to set the values of those fields manualy ?

Thanks,

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [April 23, 2024, 2:54pm UTC](https://community.hubspot.com/t/ip-address-and-associated-fields/105413/4 "2024-04-23T14:54:16Z")

</div>

It looks like properties like ip\_country are read only - so I doubt that you can leverage the geo location functions used by HubSpot from your external source.
