<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Querying Hubspot Database with SQL in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/287591#M26609</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New to Hubspot. This is definitely going to be a total n00b question but whatever, I'm stuck and could use some help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simply put I just want to query the hubspot database with SQL. It honestly doesn't matter what the program is; I have them all - I'm on a Mac. SQL Developer, MySQL, Azure Data Studio, Sequel Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I want to do is 1: Connect to my companies Hubspot Data with one of those programs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have spent 6-7 hours and it looks like there are all kinds of services that are trying to reinvent the wheel here and make us pay an extra $100-300 a month (on top of the $1200 for the pro version of Hubspot).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It cannot be this difficult, can anyone help me out?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2019 22:57:21 GMT</pubDate>
    <dc:creator>JakeRubin</dc:creator>
    <dc:date>2019-08-22T22:57:21Z</dc:date>
    <item>
      <title>Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/287591#M26609</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New to Hubspot. This is definitely going to be a total n00b question but whatever, I'm stuck and could use some help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simply put I just want to query the hubspot database with SQL. It honestly doesn't matter what the program is; I have them all - I'm on a Mac. SQL Developer, MySQL, Azure Data Studio, Sequel Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I want to do is 1: Connect to my companies Hubspot Data with one of those programs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have spent 6-7 hours and it looks like there are all kinds of services that are trying to reinvent the wheel here and make us pay an extra $100-300 a month (on top of the $1200 for the pro version of Hubspot).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It cannot be this difficult, can anyone help me out?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 22:57:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/287591#M26609</guid>
      <dc:creator>JakeRubin</dc:creator>
      <dc:date>2019-08-22T22:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/287652#M26618</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103370"&gt;@JakeRubin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've just been reviewing this now and can see that you've partnered with our Support Team in relation to this - Do you still require any assistance with your initial query?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 10:18:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/287652#M26618</guid>
      <dc:creator>Willson</dc:creator>
      <dc:date>2019-08-23T10:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/287710#M26626</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103370"&gt;@JakeRubin&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you want to&amp;nbsp;&lt;EM&gt;directly&lt;/EM&gt; query your HubSpot companies data with SQL from an application like MySQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, it isn't possible to directly interact with HubSpot tables in this way. You'll have to create your own tables and populate them with the desired data via our APIs. Services like &lt;A href="https://www.hull.io/integrations/hubspot-sql/" target="_self"&gt;Hull&lt;/A&gt; do this for you so you don't have to build tables from scratch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As my support colleague Dwi suggests in ticket&amp;nbsp;&lt;STRONG&gt;2682507&lt;/STRONG&gt;, you can pull company data from your account using the &lt;A href="https://developers.hubspot.com/docs/methods/companies/companies-overview" target="_self"&gt;Companies API&lt;/A&gt;. More specifically, the&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/companies/get-all-companies" target="_self"&gt;&lt;EM&gt;Get all companies&lt;/EM&gt;&lt;/A&gt; endpoint is probably what you'll want to use. Be sure to specify any properties you want returned with&amp;nbsp;&lt;CODE&gt;properties&lt;/CODE&gt; query parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the confusion. Please let us know if we can clarify further.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 15:57:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/287710#M26626</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-08-23T15:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/354412#M34790</link>
      <description>&lt;P&gt;I know this is an older thread, but I wanted to alert the community that there is now a HubSpot App in the marketplace for users who want to use SQL queries to pull data from their HubSpot database.&amp;nbsp; The app is called &lt;A title="MS SQL Replicator for HubSpot" href="https://app.hubspot.com/ecosystem/2756921/marketplace/apps/marketing/data-management/mssql-replicator" target="_blank" rel="noopener"&gt;MS SQL Server for HubSpot&lt;/A&gt;.&amp;nbsp; This integration pulls data out of HubSpot using a set of prebuilt API connectors. HubSpot data is then stored in an Azure SQL data warehouse, and automatically refreshed on a regularly scheduled basis.&amp;nbsp; Using this solution, you can freely query your HubSpot data without having to write any APIs or use expensive customer data platforms like Hull.&amp;nbsp; Users can connect this SQL Server data warehouse to apps like Klipfolio, BI software and more.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 15:47:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/354412#M34790</guid>
      <dc:creator>johnelmer</dc:creator>
      <dc:date>2021-03-28T15:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/354726#M34814</link>
      <description>&lt;P&gt;Thank you for sharing this information&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/10166"&gt;@johnelmer&lt;/a&gt;&amp;nbsp; this is a great resource!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pam&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 20:33:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/354726#M34814</guid>
      <dc:creator>PamCotton</dc:creator>
      <dc:date>2020-07-15T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/419173#M41527</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Good afternoon, I have a query, I hope you can help me.&lt;BR /&gt;I would like to know if there is a way to update a field in a table from lowercase to uppercase using a query or from the crm portal.&lt;BR /&gt;I'd appreciate your help..&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 16:57:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/419173#M41527</guid>
      <dc:creator>CEstrada</dc:creator>
      <dc:date>2021-03-16T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/642702#M53801</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello! You can connect to your companies HubSpot Data with Azure MySQL via &lt;A href="http://skyvia.com/data-integration/integrate-hubspot-azure-mysql" target="_blank" rel="noopener"&gt;Skyvia&lt;/A&gt;. I usually use it because that does not require coding and I can load 10000 records per month for free. With Skyvia I can easily perform bi-directional sync of Azure MySQL and HubSpot. When performing the HubSpot - Azure MySQL sync periodically, Skyvia does not load all the data each time. It tracks changes in the synchronized data sources and performs only necessary data changes. By the way, Skyvia is a partner of HubSpot. You can check it out on the &lt;A href="http://ecosystem.hubspot.com/marketplace/apps/productivity/connector/skyvia" target="_blank" rel="noopener"&gt;HubSpot&lt;/A&gt; marketplace.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 16:04:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/642702#M53801</guid>
      <dc:creator>BBrown97</dc:creator>
      <dc:date>2022-06-01T16:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/1180541#M83442</link>
      <description>&lt;P&gt;I’ve had to tackle this exact scenario. There are a few ways to approach it, but I found that trying to build a custom solution with APIs can get complicated quickly, especially when you want everything to stay in sync automatically.&lt;/P&gt;&lt;P&gt;What ended up working for me was using a dedicated integration service, like Skyvia. It connects HubSpot to PostgreSQL without much setup, and you can map the form data however you need. You can check it &lt;A href="https://skyvia.com/data-integration/integrate-hubspot-postgresql" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 14:27:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/1180541#M83442</guid>
      <dc:creator>AlbertBer</dc:creator>
      <dc:date>2025-07-24T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Hubspot Database with SQL</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/1199051#M84258</link>
      <description>&lt;P data-start="0" data-end="500"&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103370"&gt;@JakeRubin&lt;/a&gt;&amp;nbsp;, I get the frustration you’d think querying HubSpot data with SQL directly would be trivial.&lt;/P&gt;
&lt;P data-start="0" data-end="500"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="500"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="500"&gt;But HubSpot still doesn’t expose its backend tables for raw SQL access. The supported way remains pulling via the CRM APIs. Current link for 2025:&lt;/P&gt;
&lt;P data-start="0" data-end="500"&gt;(&lt;A href="https://developers.hubspot.com/docs/guides/crm/understanding-the-crm" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/guides/crm/understanding-the-crm )&lt;/A&gt;&lt;/P&gt;
&lt;P data-start="0" data-end="500"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="500"&gt;Which means creating your own tables in Postgres/MySQL/etc. and then syncing. That’s why marketplace apps and services like Skyvia or Datawarehouse.io exist: they essentially automate that pipeline for you.&lt;/P&gt;
&lt;P data-start="502" data-end="980"&gt;What’s changed since 2023 is that two-way sync platforms have matured. Instead of cobbling together API calls or batch exports, you can now mirror HubSpot objects into a database and keep them live-updated, while still being able to write back changes.&lt;/P&gt;
&lt;P data-start="502" data-end="980"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="502" data-end="980"&gt;That means you can open up Sequel Pro or Azure Data Studio, run standard SQL queries, and know they’re always reflecting the latest HubSpot state and even push updates back in without fighting API pagination or rate limits.&lt;/P&gt;
&lt;P data-start="502" data-end="980"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="982" data-end="1477" data-is-last-node="" data-is-only-node=""&gt;This is exactly the gap Stacksync was designed to fill. In 2025, teams use it to keep HubSpot, Postgres, and ERPs in bidirectional sync with millisecond latency, so you query with SQL as if HubSpot were just another table in your warehouse (&lt;A class="" href="https://stacksync.com" target="_new" rel="noopener" data-start="1223" data-end="1244"&gt;https://stacksync.com).&lt;/A&gt;&lt;/P&gt;
&lt;P data-start="982" data-end="1477" data-is-last-node="" data-is-only-node=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="982" data-end="1477" data-is-last-node="" data-is-only-node=""&gt;Instead of reinventing the wheel with custom connectors, you get real-time SQL access plus writes that flow back into HubSpot automatically. If SQL access to HubSpot is what’s holding you up, Stacksync makes that a solved problem.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 17:34:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Querying-Hubspot-Database-with-SQL/m-p/1199051#M84258</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-09-10T17:34:47Z</dc:date>
    </item>
  </channel>
</rss>

