APIs & Integrations

caroacosta
Member

Get all information with all the properties from contacts

Hi ! 

I'm trying to export all the data from Contacts with all the properties , but I have 1,300 properties on the Contact object. 

I'm using this code in python:  

contacts_all = client.crm.contacts.get_all(limit=100, properties=contacts_properties, archived=False)

but it is taking too much time (I have an approx of 500K contacts). I know this could take time but not more than 10 hours :S  it is impossible in terms of data engineering. I know I can also do page by page 
contacts = client.crm.contacts.basic_api.get_page(limit=100, properties=contacts_properties, archived=False

but... is there any other possibility to extract all the information in order to do a full back up and full extraction of hubspot data ? 

Thank you



0 Upvotes
2 Replies 2
Jaycee_Lewis
Community Manager
Community Manager

Get all information with all the properties from contacts

Hey, @caroacosta 👋 Thanks for your question. The other option is to use an export. You can either do this in-app or via the Exports API

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
caroacosta
Member

Get all information with all the properties from contacts

Thank you for the answer @Jaycee_Lewis , I'm looking for a solution to not be manual because I want to store it in s3 with a script , so not quite sure if the export will work . It is for data extraction in a pipeline. Or will it work ? 

0 Upvotes