Enrich a Clay Table with Instagram, TikTok, YouTube and LinkedIn Follower Counts via HTTP API (2026)
Last updated and prices verified: .
To enrich a Clay table with Instagram, TikTok, YouTube and LinkedIn follower counts, add an HTTP API enrichment column that calls GET https://api.sociallens.dev/v1/profile, with the network in platform and the handle from your table in username. The response is JSON and the follower count is the followers field, on every network. SocialLens reads public data only, for 9 networks with the same request, with no login to any social account and 250 free reads to start.
This page covers the use case, the Clay HTTP API column step by step, real responses for Instagram and LinkedIn, how the coverage compares with the creator data actions inside Clay, the cost per 1,000 rows, and the questions Clay users ask.
Clay enrichment for follower counts: the use case
You have a Clay table of companies or brands, one per row, and you want the size of each audience next to it: Instagram, TikTok, YouTube and LinkedIn followers. Teams use those numbers to score and segment accounts (a D2C brand with 2 million TikTok followers is a different lead from one with 900), to prioritize outreach and to personalize a first line.
Clay's HTTP API enrichment calls an external API once per row and writes the JSON answer into the table. SocialLens is a read only API for public social data: it returns the numbers any visitor sees on a public profile. It does not log in to any account, it does not post or message anyone, and the brand you look up does not authorize anything. You authenticate with your own SocialLens API key.
What the table needs before you start:
- One column per network with the handle. For Instagram, TikTok, YouTube, X and Threads that is the handle, with or without the
@. For LinkedIn it can be the company slug or the full company URL, which is what most Clay tables already hold. SocialLens reads a handle: it does not find the handle from a company domain. - A SocialLens API key. A new account is free, asks for no card and starts with 250 reads.
- A Clay plan with HTTP API. On Clay's current plans the HTTP API integration is part of Growth and Enterprise, not Free or Launch, according to Clay's pricing page. On legacy plans it is Explorer and above, according to Clay's legacy plans page.
Set up the Clay HTTP API column step by step
The field names below are the ones in Clay's HTTP API documentation as of November 25, 2026.
- Open the table and click Add enrichment. Search for HTTP API and select it.
- The panel opens on the Generate tab, where Clay can build the call from a description. To set it by hand, switch to the Configure tab.
- Method:
GET. - Endpoint URL:
https://api.sociallens.dev/v1/profile - Query string parameters: add
platformwith the valueinstagram, andusernamewith a reference to the column that holds the Instagram handle. Clay writes column references with a leading slash, for example/Instagram Handle. - Headers: add
Authorizationwith the valueBearer sk_live_YOUR_KEY. Clay recommends saving it once as a header account: open Select header account, click + Add account, add the key and value under API Request Headers, name the account and save. It is stored for the workspace and every HTTP API column can reuse it. - Field paths to return: enter
followersto keep only the count. The count sits at the top level of the response, so the JSON path is justfollowers, with no prefix. Addexists,private,is_exactandfetched_atif you want them, or leave the field empty to keep the whole response. - Rate limiting: set Request limit to
1and Duration (ms) to5000. Use10000on the slower networks: Instagram, Facebook and Threads. The reason is in the notes below. - Click Test to run one row, check the result, then run the column.
- To get the number into its own column, click a result cell to open the cell details panel, hover
followersand click Add as column, then Create column. This is the standard way to map a field of an enrichment in Clay, described in Clay's table columns overview.
The whole configuration in one place:
| Clay field | Value |
|---|---|
| Method | GET |
| Endpoint URL | https://api.sociallens.dev/v1/profile |
| Query string parameters | platform = instagram, username = /Instagram Handle |
| Headers | Authorization = Bearer sk_live_YOUR_KEY |
| Field paths to return | followers |
| Rate limiting | Request limit 1, Duration (ms) 5000, or 10000 for Instagram, Facebook and Threads |
If you prefer the Generate tab, paste a description like this one together with the link to the docs page of the network (for Instagram, https://sociallens.dev/docs/instagram). Then review what it built on the Configure tab against the table above.
Call GET https://api.sociallens.dev/v1/profile with the query parameters
platform=instagram and username=<the Instagram Handle column>.
Send the header Authorization: Bearer <my SocialLens API key>.
Return the field followers.
For the other networks, duplicate the setup and change two things: the value of platform and the column referenced in username.
| Column you want | platform |
What username takes |
|---|---|---|
| Instagram followers | instagram |
Handle, for example shopify |
| TikTok followers | tiktok |
Handle |
| YouTube subscribers | youtube |
Channel handle, the part after the @ |
| LinkedIn followers | linkedin |
Company slug or full company URL. For a person, the /in/ URL, or the slug with type=person |
Four notes that save runs:
- Send handles, not URLs, outside LinkedIn and Facebook. A full profile URL is accepted for LinkedIn and Facebook. For Instagram, TikTok, YouTube, X and Threads the API expects the handle and answers
400 bad_requestto a URL, which is not charged. If your table stores URLs, add a formula column that keeps only the handle. - Keep the rate limit. SocialLens processes the requests of one account one at a time, and a read takes a few seconds: about 2 to 5 on most networks and 6 or more on Instagram. Sending rows faster does not finish sooner, and requests that wait too long answer
409 account_busy. At one request every 5 seconds, 1,000 rows take about 1 hour and 23 minutes. At one every 10 seconds, about 2 hours and 47 minutes. For the same reason, run one SocialLens column at a time. - Run only where there is a handle. Clay lets you add a conditional run formula so the enrichment runs only when the input exists. Rows with an empty handle are skipped and never reach SocialLens.
- Errors are not charged by SocialLens.
429,409,503and400cost nothing, so running the failed rows again does not use your balance.
Real example: Instagram and LinkedIn follower counts in JSON
This is the request the Instagram column sends for one row, written as curl:
curl "https://api.sociallens.dev/v1/profile?platform=instagram&username=shopify" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
The response below is from a read made on November 25, 2026. Timestamps in the responses are UTC. These are the main fields: the full response also carries the avatar URL, the account id, a few fields that are empty on Instagram and a credits object with what the call cost.
{
"exists": true,
"username": "shopify",
"platform": "instagram",
"nickname": "Shopify",
"verified": true,
"private": false,
"followers": 2852044,
"followers_rounded": 2852044,
"is_exact": true,
"following": 1694,
"bio": "The entrepreneurship company",
"external_link": "https://shopify.supply/",
"fetched_at": "2026-11-26T00:36:12Z"
}
The follower count is followers, an integer. is_exact: true says it is the exact number and not a rounded display value.
The LinkedIn column sends the same request with another platform:
curl "https://api.sociallens.dev/v1/profile?platform=linkedin&username=shopify" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Real response for the company page, with the description, the logo and the cover image left out:
{
"exists": true,
"platform": "linkedin",
"type": "company",
"name": "Shopify",
"handle": "shopify",
"followers": 1123386,
"employee_count": 30452,
"location": { "city": "Ottawa", "state": "ON", "country": "CA" },
"website": "https://www.shopify.com",
"fetched_at": "2026-11-26T00:36:16Z"
}
The path is the same, followers. A company read also brings employee_count, location and website, which a B2B table usually wants in the same pass. In Field paths to return, the country is location.country.
This is what four columns return for three companies. Each cell is one request, read on November 25, 2026:
| Company | TikTok | YouTube | ||
|---|---|---|---|---|
| Shopify | 2,852,044 | 2,499,880 | 493,000 | 1,123,386 |
| Notion | 497,201 | 143,739 | 351,000 | 1,147,804 |
| Gymshark | 8,812,232 | 6,722,125 | 727,000 | 411,104 |
The YouTube figures are rounded by YouTube itself and come with is_exact: false. The other three columns are full numbers. The handles were shopify, notionhq and gymshark on Instagram and TikTok, the channel handles shopify, Notion and Gymshark on YouTube, and on LinkedIn the slugs shopify and notionhq plus the full URL https://www.linkedin.com/company/gymshark, to show that both forms work.
A handle that does not exist answers like this (real response):
{
"exists": false,
"username": "sl_no_such_brand_7q2k9x",
"platform": "tiktok",
"fetched_at": "2026-11-26T00:37:57Z"
}
exists: false is a delivered answer and costs 1 read, the same as a private profile, which answers private: true. If the handles in your table are not verified, keep exists in the field paths: with followers alone, that row simply comes back without a count.
Instagram, TikTok, YouTube and LinkedIn in one setup: coverage next to Clay's creator data actions
Clay has native creator data integrations. According to Clay's own documentation, checked on November 25, 2026:
- The Modash integration has actions for Instagram, TikTok and YouTube. Get Instagram profile, Get TikTok profile and Get YouTube channel return the follower or subscriber count.
- The Upfluence integration has Enrich influencer details, which takes an Instagram, TikTok or YouTube profile and returns the audience size as Community Size.
Neither has an action for LinkedIn, X, Facebook, Threads or Pinterest. They are built to find and vet influencers, and those three networks are where influencer programs run. A B2B table is a different job: the first number a GTM team usually wants is the LinkedIn one, next to the consumer networks.
| Follower count for | Modash actions in Clay | Upfluence action in Clay | SocialLens over HTTP API |
|---|---|---|---|
| Yes | Yes | Yes, exact | |
| TikTok | Yes | Yes | Yes, exact |
| YouTube | Yes, subscribers | Yes | Yes, rounded by YouTube |
| No | No | Yes, company pages and people | |
| X (Twitter) | No | No | Yes, exact |
| No | No | Yes, exact | |
| Threads | No | No | Yes, exact |
| No | No | Yes, exact | |
| No | No | No follower count. Weekly active users of a subreddit |
Three things to know before you pick a route:
- LinkedIn also has a native route in Clay. Clay's own Enrich Company action lists Company LinkedIn Followers among its outputs. If the LinkedIn company count is the only number you need, that is the shorter path. The HTTP API column is for when you want it together with Instagram, TikTok, YouTube, X, Facebook, Threads or Pinterest, from one provider and in one format.
- Modash and Upfluence do things SocialLens does not. Creator search, audience demographics, engagement analysis and creator contact emails are their job. SocialLens does none of that: it reads the public counts of a profile you already know. If you are building an influencer list, use them.
- What SocialLens adds is breadth. The same column setup reads 9 networks, so a company row can carry every public audience it has.
One company on eight networks, read on November 25, 2026 with one request each:
| Network | Handle read | followers returned |
is_exact |
|---|---|---|---|
shopify |
2,852,044 | true | |
| TikTok | shopify |
2,499,880 | true |
| YouTube | shopify |
493,000 | false |
| LinkedIn (company) | shopify |
1,123,386 | full number |
| X | Shopify |
457,516 | true |
shopify |
4,563,820 | true | |
| Threads | shopify |
335,933 | true |
shopify |
647,250 | true |
Caveats that matter in a table:
- YouTube rounds. YouTube publishes subscriber counts rounded to three significant figures, to everyone, and the response says so with
is_exact: false. More in YouTube Subscriber Count API. - TikTok shows a rounded figure on the page and the API returns the exact one. In the read above,
followerswas 2,499,880 andfollowers_roundedwas 2,500,000, the figure the profile page shows as 2.5M. Usefollowers. - Reddit has no follower count. For a subreddit the API returns weekly active users and weekly contributions.
- LinkedIn returns a company or a person. The company response is described field by field in LinkedIn Company Data API.
Every endpoint of each network, with examples in curl, Python, Node and PHP, is on its reference page: Instagram API, TikTok API, YouTube API, LinkedIn API, X API, Facebook API, Threads API and Pinterest API. The full network by endpoint table is in the API documentation.
Clay enrichment cost per 1,000 rows: HTTP API with SocialLens next to native creator actions
The prices below were read on each vendor's own page on November 25, 2026.
Start with what is the same on every route. On Clay's current plans every enrichment run uses 1 Action, and that includes HTTP API calls and enrichments that run on your own API key, according to Clay's Actions and Data Credits page. The Growth plan includes 40,000 Actions a month, and its Action tiers work out to $4.25 to $5.13 per 1,000 Actions on Clay's pricing page. So one row in one column is one Action, whichever provider answers it. What changes is who bills the data.
| Route | Who bills the data | Data cost per 1,000 rows | Commitment |
|---|---|---|---|
| HTTP API column with SocialLens | SocialLens, 1 credit per delivered read | $2.38 (Starter, $19 for 8,000), $1.98 (Pro, $79 for 40,000), $1.66 (Scale, $299 for 180,000) | Prepaid packs that never expire. 250 free reads, no card |
| Modash actions on Clay's account | Clay, in Data Credits | Not published on the integration pages: Clay shows the Data Credit price of an action in the enrichment panel. A Data Credit costs $0.0425 to $0.05 on monthly billing, so an action priced at 1 Data Credit is $42.50 to $50 | Your Clay plan |
| Modash actions on your own Modash account | Modash | Set by the contract. The Raw API starts at $10,000 a year and the Discovery API at $16,200 a year | Annual, through a sales call. No monthly or pay as you go plan |
| Upfluence action | Clay Data Credits, or your own Upfluence account | No public price | Upfluence plans are custom quoted, with a 12 month minimum contract |
For the Data Credit routes, Clay's credits page gives a range of 0.5 to more than 10 Data Credits per enrichment, depending on the data. Read the exact number for the action in the panel before you run a full table.
How to read this table:
- The Clay Action costs more than the SocialLens read. About half a cent per row for the Action, against about a fifth of a cent for the read. On this route the data is the small part of the bill.
- These routes do not return the same thing. The Modash and Upfluence actions return creator analytics on top of the count. If the column only needs the public follower count, a public data read is the cheaper unit. If you need audience demographics or creator emails, it is not a substitute.
- SocialLens is not the lowest price per read among public data APIs. The cost per 1,000 reads table in our SMM panel guide puts it next to Scrape Creators, Apify and Bright Data, each from its own pricing page. What it brings to a Clay table is one request format for 9 networks with LinkedIn included, a $19 entry pack and no subscription.
Know what counts as a billable read. On SocialLens a 200 response costs 1 credit, including the definitive answers "this profile does not exist" and "this profile is private". Every error status costs nothing.
Example: enriching 5,000 companies on four networks. Instagram, TikTok, YouTube and LinkedIn for 5,000 rows is 20,000 reads.
| Item | Amount |
|---|---|
| SocialLens reads | 20,000 |
| SocialLens cost at the Pro rate, $79 per 40,000 | $39.50 |
| SocialLens cost at the Scale rate, $299 per 180,000 | $33.22 |
| SocialLens cost per company at the Pro rate, four networks | $0.0079 |
| Clay Actions used | 20,000, half of the 40,000 a Growth plan includes per month |
One Pro pack holds 40,000 reads, so it covers this table twice. For scale on the other routes: an action priced at 1 Data Credit per row would use 20,000 Data Credits for the same table, against the 6,000 a Growth plan includes per month. Rates change: confirm them on each pricing page before you budget.
Frequently asked questions
Which Clay plan do I need for the HTTP API column?
On the current plans, Growth or Enterprise. Clay's pricing page lists "Integrate with any HTTP API" under Growth, and it is not part of Free or Launch. On legacy plans it is Explorer and above. Clay's plans and billing page says the 14 day free trial includes HTTP API.
Does an HTTP API enrichment use Clay credits?
It uses 1 Action per run and no Data Credits, because the data comes from your own API account. Clay's Actions and Data Credits page counts HTTP API calls and enrichments on your own keys as Action usage.
What is the JSON path for the follower count?
followers, at the top level of the response, on every network including LinkedIn. On YouTube the same field holds the subscriber count and is_exact is false, because YouTube publishes it rounded.
Can I get LinkedIn follower counts in Clay?
Yes, in two ways. Clay's own Enrich Company action lists Company LinkedIn Followers among its outputs. Or call SocialLens with platform=linkedin and the company slug or URL, which also returns employee_count, location and website, and reads a person from a /in/ URL. The Modash and Upfluence actions do not cover LinkedIn.
Can I enrich from the company domain instead of the handle?
Not directly. SocialLens needs the handle or the profile URL on each network and does not resolve a domain into social accounts. Fill the handle columns first, from your CRM, from an enrichment that returns social links or from an AI research column, and run the HTTP API column only on rows that have one.
Why do some rows answer 409 or 429?
409 account_busy means too many requests of your account were waiting at the same time. 429 rate_limited means more than 60 requests in one minute on the same key. Set the rate limit of the column as shown above and run one SocialLens column at a time. Neither status is charged, so run those rows again.
Does it work for Threads, Pinterest, X and Facebook?
Yes. It is the same column with platform set to threads, pinterest, x or facebook. Reddit has no follower count: for a subreddit the API returns weekly active users.
Is the follower count exact?
On Instagram, TikTok, X, Facebook, Threads and Pinterest it is the exact integer, marked is_exact: true. LinkedIn returns the full number. YouTube publishes only a rounded subscriber count, so that one comes with is_exact: false.
What does it cost to enrich 1,000 rows?
On the SocialLens side, $1.66 to $2.38 per 1,000 reads depending on the pack, and the first 250 reads are free. On the Clay side, each row uses 1 Action of your plan.
Does SocialLens need a login or the brand's permission?
No. A read needs only the public handle and your own SocialLens API key. No social account is logged in, on your side or on the brand's.
Related guides
- Social media followers count API for SMM panels
- Engagement rate API for indie influencer apps
- Data365 and EnsembleData alternatives
- Social media data API for academic research
- Track follower counts in Google Sheets with Apps Script
- Verify an affiliate applicant's social media followers
- n8n workflow: follower count tracker for 9 networks
- Threads API: exact follower count of any account
- Pinterest API: follower count of any profile and saves of a pin