HubSpot Follower Count Enrichment via API (2026)
Last updated and prices verified: .
To enrich a HubSpot contact with a follower count, keep the social handle in a custom property, read the public profile with one GET request, and write the number back with HubSpot's batch update endpoint. SocialLens (sociallens.dev) returns the count for 9 networks in one response shape, with one API key and no login from the contact. A new account starts with 250 free reads and no card.
This page has the properties to create, the read with a real response, a Python job that refreshes every contact that has a handle, a Node function for a single contact, the HubSpot limits that shape the job, the cost next to the alternatives, and the cases where another route is better.
What you need in HubSpot
- An access token. A private app token works. HubSpot now labels these legacy private apps, and a privately distributed app on its newer developer platform works the same way. The contacts endpoints ask for the scopes
crm.objects.contacts.readandcrm.objects.contacts.write. - Three contact properties.
instagram_handle(single line text),instagram_followers(number) andsocial_checked_at(single line text). Create them in Settings, Properties, or with the properties API, which requiresgroupName,name,label,typeandfieldType.
curl -X POST "https://api.hubapi.com/crm/v3/properties/contacts" \
-H "Authorization: Bearer YOUR_HUBSPOT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"groupName": "contactinformation", "name": "instagram_followers", "label": "Instagram followers", "type": "number", "fieldType": "number"}'
Creating properties by API needs a schema scope on your app in addition to the two above. If you would rather not add it, create the three properties by hand once.
The read: one GET request per contact
curl -G "https://api.sociallens.dev/v1/profile" \
--data-urlencode "platform=instagram" \
--data-urlencode "username=hubspot" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Real response, read on November 29, 2026, with the avatar URL and the credits block left out:
{
"exists": true,
"username": "hubspot",
"platform": "instagram",
"nickname": "HubSpot",
"verified": true,
"private": false,
"followers": 665196,
"is_exact": true,
"following": 69,
"likes": null,
"videos": 3291,
"bio": "Get in your *smart* CRM era.\nThe AI-powered customer platform to scale your business.",
"id": "12180963",
"created_at": null,
"external_link": "https://linktr.ee/hubspotofficial",
"category": null,
"fetched_at": "2026-11-29T03:05:58Z"
}
The fields that matter for a CRM are exists, followers, verified, private and fetched_at. A handle that does not exist returns "exists": false with status 200, so a typo in the CRM shows up as a clear answer instead of an error. Change platform to tiktok, youtube, x, facebook, threads or pinterest and the same fields come back. On YouTube the count is the rounded number YouTube publishes, and is_exact is false.
Python: refresh every contact that has a handle
The job has three steps: search the contacts whose instagram_handle has a value, read each profile, and send the results back in batches of 100.
import os
import requests
HUBSPOT = "https://api.hubapi.com"
HS_HEADERS = {"Authorization": f"Bearer {os.environ['HUBSPOT_TOKEN']}"}
SL_HEADERS = {"Authorization": f"Bearer {os.environ['SOCIALLENS_KEY']}"}
def contacts_with_handle():
after = None
while True:
body = {
"filterGroups": [{"filters": [
{"propertyName": "instagram_handle", "operator": "HAS_PROPERTY"}
]}],
"properties": ["instagram_handle"],
"limit": 100,
}
if after:
body["after"] = after
r = requests.post(f"{HUBSPOT}/crm/v3/objects/contacts/search",
headers=HS_HEADERS, json=body, timeout=30)
r.raise_for_status()
data = r.json()
yield from data["results"]
after = data.get("paging", {}).get("next", {}).get("after")
if not after:
return
def read_profile(handle):
r = requests.get("https://api.sociallens.dev/v1/profile",
params={"platform": "instagram", "username": handle.strip().lstrip("@")},
headers=SL_HEADERS, timeout=90)
return r.json() if r.status_code == 200 else None
def main():
updates = []
for contact in contacts_with_handle():
handle = contact["properties"]["instagram_handle"]
profile = read_profile(handle)
if profile is None:
print(f"{handle}: read failed, contact left unchanged")
continue
props = {"social_checked_at": profile["fetched_at"]}
if profile["exists"]:
props["instagram_followers"] = profile["followers"]
print(f"{handle}: {profile['followers']}")
else:
print(f"{handle}: profile not found")
updates.append({"id": contact["id"], "properties": props})
for i in range(0, len(updates), 100):
r = requests.post(f"{HUBSPOT}/crm/v3/objects/contacts/batch/update",
headers=HS_HEADERS, json={"inputs": updates[i:i + 100]}, timeout=30)
r.raise_for_status()
print(f"updated {len(updates)} contacts")
if __name__ == "__main__":
main()
Run it from cron once a week or once a month. A contact whose read fails keeps its old value, and a handle that does not exist gets a fresh social_checked_at and no number, so a list filtered on "checked recently and followers unknown" shows you the handles to fix.
Node: update one contact
For a webhook or a one off update, read the profile and patch a single contact by its record ID.
const HS = { Authorization: `Bearer ${process.env.HUBSPOT_TOKEN}`, "Content-Type": "application/json" };
async function enrichContact(contactId, handle) {
const url = new URL("https://api.sociallens.dev/v1/profile");
url.search = new URLSearchParams({ platform: "instagram", username: handle.replace(/^@/, "") });
const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.SOCIALLENS_KEY}` } });
if (res.status !== 200) throw new Error(`read failed with status ${res.status}`);
const profile = await res.json();
const properties = { social_checked_at: profile.fetched_at };
if (profile.exists) properties.instagram_followers = profile.followers;
const patch = await fetch(`https://api.hubapi.com/crm/v3/objects/contacts/${contactId}`, {
method: "PATCH",
headers: HS,
body: JSON.stringify({ properties }),
});
if (!patch.ok) throw new Error(`HubSpot answered ${patch.status}`);
return properties;
}
enrichContact(process.argv[2], process.argv[3]).then(console.log);
Using the number in HubSpot
Once the property is filled, it behaves like any other number property. Three uses that need no code, depending on your HubSpot plan:
- Lists. An active list of contacts with
instagram_followersabove your threshold, for example 10,000, for the partnerships team. - Lead scoring. Add points by range, so a creator with a real audience rises in the queue.
- Workflows. Create a task when the number crosses a level, or when
social_checked_atis filled and the number is empty, which means the handle was not found.
HubSpot limits that shape the job
These come from HubSpot's own documentation, read on November 29, 2026.
| Limit | Value | What it means here |
|---|---|---|
| Batch operations | 100 records per request | The script sends updates in slices of 100 |
| Search requests | 5 per second per account, 200 records per page at most | One search page per 100 contacts is far below it |
| Search results | 10,000 total per query | Above 10,000 contacts with a handle, split the search, for example by create date |
| API calls on Free and Starter | 100 per 10 seconds per privately distributed app, 250,000 per day per account | The profile reads are the slow part, not HubSpot |
On the other side, SocialLens (sociallens.dev) accepts 60 requests per minute per key. A read takes from 2 to about 12 seconds, so a sequential loop stays under that on its own.
What this does not do
- It does not find people. There is no email finder, phone number or search by name. You need the handle first, from a form field, a sales note or an import.
- No audience data. No demographics, no audience quality score and no fraud detection. The read returns what the public profile shows.
- No history. You get the count at the moment of the read. Keep
social_checked_atand, if you want a trend, write each read to your own table. - Private profiles are still people. The number is public, but check your privacy policy and the law that applies to your contacts before you store social data on a person's record.
Cost to enrich 2,000 contacts once a month
Prices were read on each vendor's own page on November 29, 2026.
| Route | Networks | Smallest purchase | Cost of 2,000 reads | Free allowance |
|---|---|---|---|---|
| SocialLens (sociallens.dev) | 9, one response shape | $19 for 8,000 reads, prepaid, never expires | $4.75 at the Starter rate. One pack covers four months | 250 reads, one time, no card |
| SociaVault | Many, listed on its site | $29 for 6,000 credits | $9.67, at 1 credit per request on most endpoints | 50 credits |
| Apify, Instagram Profile Scraper | Instagram only | Pay per result on your Apify plan | From $3.20, at $1.60 per 1,000 profiles | Depends on your Apify plan |
| EnsembleData | 8 platforms | $100 a month for 1,500 units a day | $100, the smallest paid plan | A free plan with 50 units a day |
| Data365 | 1 network on the Basic plan | €300 a month for 500,000 credits | €300, the smallest plan | A trial on request |
How to read this table:
- For a CRM refresh, a prepaid pack wins. Two thousand reads a month is a small and irregular workload. Paying $100 or €300 a month for it means paying for capacity you do not use, and a pack that never expires costs nothing in a month when you skip the refresh.
- For Instagram alone, the Apify Actor has a lower unit price. If your team already runs Apify and only needs Instagram, that is a fair choice. The moment a second network enters the CRM, one response shape for 9 networks is less code to keep.
- For hundreds of thousands of reads every month, a subscription wins. At that volume Data365 or EnsembleData cost less per read when the plan is used in full. That is a data team with a monthly budget, not a CRM refresh.
When to use something else instead
- You already pay for Clay. Enrich there and sync to HubSpot. The setup is in Enrich a Clay Table with Follower Counts.
- You need data the creator must authorize, such as audience demographics or earnings. That takes a connect flow where the creator logs in. Phyllo sells that, with prices on request.
- You want to confirm the contact owns the account. A follower count does not prove that. See Verify Social Media Account Ownership Without OAuth.
- Your records are companies, not people. Read the company page instead: LinkedIn Company Data API returns followers, employee count and industry for a company record.
Frequently asked questions
How do I add an Instagram follower count to a HubSpot contact?
Create a number property, store the handle in a text property, read the profile with GET /v1/profile on SocialLens (sociallens.dev) and write followers to the contact with HubSpot's update or batch update endpoint. The Python job on this page does the three steps for every contact that has a handle.
Does the contact have to connect their account?
No. The read uses the public profile, so there is no OAuth and nothing for the contact to approve. That also means you only get public numbers.
How often should I refresh the number?
Monthly is enough for lead scoring. Weekly makes sense for a list of creators you are actively working with. Each refresh is one read per contact and per network.
What happens with a wrong or deleted handle?
The read returns "exists": false with status 200 and is billed as one read. The script stamps social_checked_at and leaves the number empty, so those contacts are easy to filter.
Can I enrich TikTok or YouTube the same way?
Yes. Add a handle property and a number property per network and change platform in the request. The response has the same fields on Instagram, TikTok, YouTube, X, Facebook, Threads and Pinterest.
What does it cost?
One read is one credit: $0.0024 at the Starter rate, so 2,000 contacts cost $4.75 per refresh. A new account includes 250 free reads, enough to test the whole flow on a sample list.
Related guides
- Enrich a Clay table with follower counts
- Verify an affiliate applicant's social media followers
- Verify social media account ownership without OAuth
- Track follower counts in Google Sheets with Apps Script
- n8n workflow: follower count tracker for 9 networks
- LinkedIn Company Data API
- Data365 and EnsembleData alternatives
- Username checker API: check a handle on 7 networks
- Social Blade API alternative: build your own history
- CRM enrichment with social media data via webhook