REST · JSON · Bearer auth

The SocialLens API

LLM docs

Public profile data from every major social network as JSON, with one schema for all of them. You send a username, you get back the public numbers and a bill you can predict.

250 free reads to get started. No card required.
1schema, 3 platforms
60requests / min / key
0credits on a failed read
Nevercredit expiry

Endpoints

Seven endpoints, all live and real, covering nine networks (Instagram, TikTok, X, Reddit, YouTube, Facebook, LinkedIn, Threads and Pinterest) with one JSON schema. Every data endpoint has a fixed cost in credits, returned in credits.charged on each response. Base URL https://api.sociallens.dev.

GET
/v1/profilePublic profile: username, nickname, verified, private, followers (exact on most networks), followers_rounded, is_exact, following, likes, videos, bio, avatar. All nine networks; YouTube only exposes rounded subscribers, so is_exact is false there.
1 credit
GET
/v1/postPublic metrics of a single post or video: likes, views, comments, shares, author. Eight networks (all except LinkedIn).
1 credit
GET
/v1/profile-postsRecent posts of a profile, one page per credit. All nine networks.
1 credit
GET
/v1/post-commentsComments of a single post: text, author, likes, replies. Five networks (TikTok, Instagram, YouTube, Facebook, Reddit).
1 credit
GET
/v1/followersThe list of accounts that follow a profile, paginated by cursor. TikTok only. For the follower count on any network, use /v1/profile.
1 credit
GET
/v1/followingThe list of accounts a profile follows, paginated by cursor. TikTok only.
1 credit
GET
/v1/pingChecks that your key works. Counts nowhere.
free

Per-network guides, each with the endpoints that network supports and ready to run examples:

Instagram API TikTok API X (Twitter) API Reddit API YouTube API Facebook API LinkedIn API Threads API Pinterest API

Use case guide. Social media followers count API for SMM panels: start count, delivery tracking, drop detection and refill checks with public Instagram and TikTok data.

Use case guide. Enrich a Clay table with follower counts via HTTP API: the Clay HTTP API column step by step, with Instagram, TikTok, YouTube and LinkedIn follower counts as JSON.

Use case guide. Engagement rate API for indie influencer apps: the formula from two calls, with live Instagram, TikTok and YouTube metrics and the cost of vetting 2,000 creators.

Use case guide. Data365 and EnsembleData alternatives: cost per 1,000 profiles, signup and credit expiry, subscription against pay as you go.

Use case guide. Social media data for academic research after CrowdTangle: what this route can and cannot do, a methods paragraph and a collection script.

One call, one answer

Send the key in the Authorization header. Parameters go in the query string. The response is the same shape whatever the platform.

request
curl "https://api.sociallens.dev/v1/profile?username=tiktok&platform=tiktok" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
response · 200
{
  "username":   "tiktok",
  "platform":   "tiktok",
  "nickname":   "TikTok",
  "verified":   true,
  "private":    false,
  "followers":  96643368,
  "followers_rounded": 96600000,
  "is_exact":   true,
  "following":  2,
  "likes":      467312316,
  "videos":     1515,
  "bio":        "Your next discovery is waiting on TikTok.",
  "avatar":     "https://...",
  "fetched_at": "2026-11-08T00:04:24Z",
  "credits":    { "source": "paid", "charged": 1, "balance": 8011 }
}

Errors are JSON too, always {"error": "code", "message": "..."}: 400 bad_request, 401 invalid_token, 402 no_credits, 429 rate_limited with Retry-After, 503 source_unavailable with the credit refunded. The full list is in the docs.

Why SocialLens

One schema for nine networks

followers is always a number, platform is always a parameter. You write the parser once.

You never pay for a failed read

If the platform is down or blocks the read you get a 503 and the credit is put back in the same transaction. Only a 200 is charged.

Credits do not expire

Buy a pack when you need it, use it when you need it. No subscription, no daily cap on paid credits.

Prices you can read

Starter US$ 19 for 8,000, Pro US$ 79 for 40,000, Scale US$ 299 for 180,000. The cost of every endpoint is on this page and in every response.

Start with 250 free reads.

Create an account, generate a key, make your first call in two minutes.