Enrich a Clay Table with Instagram, TikTok, YouTube and LinkedIn Follower Counts via HTTP API (2026)

Published · 15 min read

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:

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.

  1. Open the table and click Add enrichment. Search for HTTP API and select it.
  2. 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.
  3. Method: GET.
  4. Endpoint URL: https://api.sociallens.dev/v1/profile
  5. Query string parameters: add platform with the value instagram, and username with a reference to the column that holds the Instagram handle. Clay writes column references with a leading slash, for example /Instagram Handle.
  6. Headers: add Authorization with the value Bearer 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.
  7. Field paths to return: enter followers to keep only the count. The count sits at the top level of the response, so the JSON path is just followers, with no prefix. Add exists, private, is_exact and fetched_at if you want them, or leave the field empty to keep the whole response.
  8. Rate limiting: set Request limit to 1 and Duration (ms) to 5000. Use 10000 on the slower networks: Instagram, Facebook and Threads. The reason is in the notes below.
  9. Click Test to run one row, check the result, then run the column.
  10. To get the number into its own column, click a result cell to open the cell details panel, hover followers and 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:

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 Instagram TikTok YouTube LinkedIn
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:

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
Instagram Yes Yes Yes, exact
TikTok Yes Yes Yes, exact
YouTube Yes, subscribers Yes Yes, rounded by YouTube
LinkedIn No No Yes, company pages and people
X (Twitter) No No Yes, exact
Facebook No No Yes, exact
Threads No No Yes, exact
Pinterest No No Yes, exact
Reddit No No No follower count. Weekly active users of a subreddit

Three things to know before you pick a route:

One company on eight networks, read on November 25, 2026 with one request each:

Network Handle read followers returned is_exact
Instagram 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
Facebook shopify 4,563,820 true
Threads shopify 335,933 true
Pinterest shopify 647,250 true

Caveats that matter in a table:

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:

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.

Run these requests yourself

Every example on this page is a real call to the SocialLens API. A new account starts with 250 free reads, no card needed, and a read that fails is never charged.

Keep reading