Hello @PChalasani,
If you want to fetch all the properties of a company from HubSpot, then you can do it with this API https://legacydocs.hubspot.com/docs/methods/companies/get_company. In this API, you have to enter the company ID then API will fetch all the properties in response and then you can parse the response and pick the properties according to your requirement.
Hope this will help your out,