How to track HubSpot contact list member count changes through API

I’m working on a project where I need to monitor how many contacts are in specific HubSpot lists over different time periods. My goal is to get daily snapshots of contact list membership counts for the past month using the HubSpot API.

I’ve been looking through the API documentation but I’m not sure if there’s a direct endpoint that provides historical data about list sizes. Does anyone know if HubSpot’s API offers a way to retrieve contact list member counts for specific dates? I need to track these numbers on a daily basis to analyze growth patterns.

Any suggestions on the best approach to accomplish this would be really helpful. Thanks in advance!

Unfortunately, HubSpot’s API doesn’t let you pull historical list membership data. I hit this wall about eight months ago when building quarterly reports for our sales team. The API only shows current state - you can’t get past membership counts for dates that already happened. Your best bet is setting up automated scripts to capture daily snapshots going forward. I’d use the GET /contacts/v1/lists/{list-id} endpoint in a scheduled process and store the results in your own database. If you’re tracking multiple lists, stagger your API calls so you don’t hit rate limits. Once you’ve got several weeks of consistent data, the historical tracking becomes super valuable for trend analysis.

yeah man, i think ur right. hubspot’s api isn’t great for that. what i did was use a script that runs daily, pulling list sizes and saves them to a file. that way, u can see all the changes over time, super helpful!

same issue here last month. hubspot’s api doesn’t give you historical data directly - it’s frustrating. i ended up creating a cron job that hits their lists endpoint every day and dumps the counts into mysql. it’s working great now, but setting up the tracking logic was a bit of a pain.

HubSpot doesn’t give you historical list size data through their API - just current membership counts when you query. I hit this same problem six months back building analytics dashboards for our marketing team. Here’s what worked: I set up a scheduled task that hits the Lists API endpoint every night at midnight, grabs the current member count, and dumps it into our database with timestamps. You can use GET /contacts/v1/lists/{list-id} for the current count, but you’ll need to build your own tracking system. Watch out for API rate limits since you’re hitting it repeatedly. The data gets really useful once you’ve got a few weeks of snapshots built up.

HubSpot’s API doesn’t provide historical contact list size data; it only shows current membership counts. I encountered this issue last year while developing reporting tools for client campaigns. To address this, you’ll need to establish a system that regularly polls the API to collect and store data. Utilize the GET /contacts/v1/lists/{list-id}/contacts/all endpoint, along with count parameters, to retrieve membership totals. It’s advisable to run this daily and save each count with a timestamp in your database. Be mindful of HubSpot’s rate limits, as they restrict you to 100 requests per 10 seconds for most endpoints. Over a few weeks of data collection, you’ll accumulate enough information to analyze growth trends effectively.