Social Media Followers Count API for SMM Panels: Read Instagram and TikTok Public Data (2026)
Last updated and prices verified: .
A social media followers count API for an SMM panel is a read only API: you send a public username or a public post URL, and it returns the current follower, like and view counts as JSON. A panel uses those reads to record the start count of an order, track delivery, detect drop and decide whether a refill claim is valid. SocialLens does this for Instagram, TikTok and 7 more networks with one request format, no login to any social account, and 250 free reads to start.
This page goes through the workflow call by call with real responses, the cost per 1,000 reads next to three alternatives, the coverage per network, and code that plugs into a standard SMM panel API v2.
What a social media followers count API does for an SMM panel
It reads public data. It does not deliver anything.
SocialLens does not sell, send or automate followers, likes, views or any other engagement, and it performs no action on any social network. It returns numbers that any visitor can already see on a public profile or a public post. The customer never shares a password, there is no session cookie to manage, and the account owner does not authorize anything. You authenticate with your own SocialLens API key and nothing else.
For a panel, a public read answers four questions that the provider's status response cannot answer independently:
- Start count. What was the public count at the moment the order was placed?
- Delivery tracking. How far has the counter actually moved since then?
- Drop detection. After the order completed, did the count fall?
- Refill check. Is a refill claim inside the guarantee window, and is the drop real?
Most panels take start_count and remains from the provider and pass them on. A public read gives you your own number for the same order, so a dispute with a customer or with a provider is settled by two timestamped counts.
SMM panel workflow: start count, delivery tracking, drop detection and refill check
Every step is the same request. Only the moment changes.
curl "https://api.sociallens.dev/v1/profile?platform=instagram&username=nasa" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Step 1. Start count: read the followers count before the order
Read the profile when the customer submits the order, before it goes to the provider. These are the fields a panel needs, from a read made on November 24, 2026:
{
"exists": true,
"username": "nasa",
"platform": "instagram",
"private": false,
"followers": 104237805,
"followers_rounded": 104237805,
"is_exact": true,
"fetched_at": "2026-11-24T19:35:58Z"
}
The follower count is the followers field, an integer. Store it together with fetched_at as the start count and start time of the order. The full response also carries the display name, verified, following, bio, avatar, the account id and a credits object with what the call cost.
The same read validates the link before you charge anyone. A handle that does not exist answers like this (real response):
{
"exists": false,
"username": "sl_no_such_profile_9x7q2k",
"platform": "instagram",
"fetched_at": "2026-11-24T19:36:04Z"
}
exists: false or private: true at this point means the order would fail or stall at the provider. Reject it at checkout with a clear message, instead of taking the payment and refunding later.
Step 2. Delivery tracking: read the count while the order runs
Call the same endpoint again and subtract. This is the second read of the same profile, five minutes after the first:
{
"exists": true,
"username": "nasa",
"platform": "instagram",
"private": false,
"followers": 104237913,
"followers_rounded": 104237913,
"is_exact": true,
"fetched_at": "2026-11-24T19:41:06Z"
}
The difference is 108. No order was running on this account: that is organic movement on a profile with 104 million followers. Two practical rules follow from it:
- Delivered so far is the current
followersminus the start count. Compare it with what the provider reports, which is the quantity minusremains. - The public counter includes organic growth and unfollows. On small and mid sized accounts, where most orders land, that noise is a handful of followers. On very large accounts, work with a tolerance.
Step 3. Drop detection: read the count after the order completes
When the provider marks the order Completed, read once more and store the result as the completed count. Read again later in the guarantee period, for example on day 7 and day 30, or only when the customer complains. The drop is simple arithmetic:
expected = start count + quantity delivered
drop = expected - current followers (when the result is positive)
drop % = drop / quantity delivered * 100
On TikTok, compare the exact count, because the profile page rounds it. A real read:
{
"exists": true,
"username": "nasa",
"platform": "tiktok",
"private": false,
"followers": 2223716,
"followers_rounded": 2200000,
"is_exact": true,
"likes": 11908201,
"fetched_at": "2026-11-24T19:36:00Z"
}
The TikTok profile page shows this account as 2.2M, which is the followers_rounded value. A drop of 500 followers, or of 20,000, changes nothing on the page. It is visible in followers, the exact integer, and that is the field to store and compare. On a TikTok profile, likes is the total of likes across all videos.
Step 4. Refill check: validate a refill guarantee claim
A refill claim is valid when three things are true: the order completed, the claim is inside the refill window of the service (30 days, for example), and the public count is below the start count plus the quantity delivered by more than your tolerance. One read at the moment of the claim answers the third point. If it holds, send the provider's refill action. If the count is at or above the expected number, your reply to the customer is the two timestamped counts.
A worked example. The JSON above is real; the numbers in this table are illustrative and only show the logic:
| Moment | Public count | What the panel concludes |
|---|---|---|
| Order placed for 1,000 followers | 4,820 | Start count is 4,820 |
| Provider reports 792 delivered, 208 remains | 5,612 | The counter moved 792, which matches the provider |
| Provider reports Completed | 5,820 | Completed count is 5,820 |
| Day 12, the customer asks for a refill | 5,650 | Drop is 170, or 17% of the order, inside a 30 day window: the refill is valid |
Instagram and TikTok likes and views: read the public counts of a post
Orders for likes and views target a post, so the read is /v1/post with the public URL of that post.
curl -G "https://api.sociallens.dev/v1/post" \
--data-urlencode "platform=instagram" \
--data-urlencode "url=https://www.instagram.com/p/DgF28H6PcXh/" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
A real response for an Instagram reel, with the caption left out:
{
"exists": true,
"id": "DgF28H6PcXh",
"url": "https://www.instagram.com/p/DgF28H6PcXh/",
"platform": "instagram",
"author": { "username": "instagram", "name": "Instagram", "verified": true },
"published_at": "2026-11-23T17:01:20Z",
"likes": 198310,
"views": 71468358,
"comments": 5919,
"shares": null,
"is_exact": true,
"likes_hidden": false,
"fetched_at": "2026-11-24T19:38:06Z"
}
The like count is likes and the view count is views. Three minutes later the same call returned 198,395 likes and 71,501,132 views, so on an active post the start count has to be taken at the moment of the order, not earlier.
For TikTok, /v1/post takes the video URL in the same way. When a customer orders views or likes for several videos of one account, /v1/profile-posts returns the recent videos with their counters in a single call:
curl "https://api.sociallens.dev/v1/profile-posts?platform=tiktok&username=nasa&limit=2" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Real response, captions left out:
{
"exists": true,
"username": "nasa",
"platform": "tiktok",
"count": 2,
"has_more": true,
"is_exact": true,
"posts": [
{
"id": "7665075736742530317",
"url": "https://www.tiktok.com/@nasa/video/7665075736742530317",
"published_at": "2026-07-21T20:09:02Z",
"likes": 113882,
"views": 1804204,
"comments": 3429,
"shares": 3451,
"likes_hidden": false
},
{
"id": "7710449624397450509",
"url": "https://www.tiktok.com/@nasa/video/7710449624397450509",
"published_at": "2026-11-21T02:42:49Z",
"likes": 2444,
"views": 67241,
"comments": 357,
"shares": 238,
"likes_hidden": false
}
],
"fetched_at": "2026-11-24T19:41:45Z"
}
Two cases to handle in code:
- Hidden likes. When the owner of an Instagram post hides the counts,
likesandviewscome asnullwithlikes_hidden: true. No reader can verify a likes order on that post, so decide at checkout whether you accept it. - A post that is not found. On Instagram and TikTok,
exists: falsefor a post is not charged, and it can be temporary: a video that is briefly unavailable or age restricted can be readable again minutes later. Retry before you mark the order as invalid.
Followers count API cost per 1,000 reads for an SMM panel
The prices below were read on each vendor's own pricing page on November 24, 2026 and normalized to US dollars per 1,000 reads. One read is one profile or one post checked.
| API | Billing unit | Smallest purchase | Cost per 1,000 reads | Free allowance |
|---|---|---|---|---|
| SocialLens | 1 credit per delivered read | $19 for 8,000 reads | $2.38 (Starter), $1.98 (Pro, $79 for 40,000), $1.66 (Scale, $299 for 180,000) | 250 reads, one time, no card |
| Apify Social Media Stats Checker | Per profile checked, plus $0.001 per run | Pay per event on your Apify plan | $2.00 (Free tier), $1.74 (Bronze), $1.36 (Silver), $1.04 (Gold) | $5 of Apify free plan credit, about 2,450 checks according to the Actor page |
| Scrape Creators | 1 credit per request on most endpoints | $47 for 25,000 credits | $1.88, or $0.99 on the $497 pack of 500,000 | 100 credits |
| Bright Data Web Scraper API | Per record delivered | Pay as you go | $1.50, or $1.30 for extra records on the $499 per month Scale plan | 5,000 records per month |
Per 1,000 reads, SocialLens is not the lowest line in this table. The right pick depends on how the panel works:
- Lowest price per read at volume. Scrape Creators at $0.99 per 1,000 on its 500,000 pack, or the Apify Actor at $1.04 if you already pay for an Apify plan on the Gold tier.
- No pack to buy. Bright Data bills per delivered record as you go, with a monthly free allowance.
- Smallest start and the widest reach in one call. SocialLens starts at $19, or at zero with the 250 free reads, the credits never expire, and the same GET request covers 9 networks.
Two details change the real cost for a panel. First, the Apify Actor covers YouTube, TikTok, X and Instagram, and its page states that Instagram checks need your own Instagram session cookie. SocialLens asks for no cookie on any network. Second, 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", and every error status (rate limit, account busy, source unavailable) costs nothing.
Example: checking 10,000 orders a month. Two reads per order, the start count and one check at completion, is 20,000 reads. Adding one drop check inside the refill window makes it 30,000.
| API and rate | 20,000 reads | 30,000 reads |
|---|---|---|
| SocialLens Pro, $79 per 40,000 | $39.50 | $59.25 |
| SocialLens Scale, $299 per 180,000 | $33.22 | $49.83 |
| Apify Stats Checker, Free tier, $2.00 per 1,000 | $40.00 | $60.00 |
| Apify Stats Checker, Gold tier, $1.04 per 1,000 | $20.80 | $31.20 |
| Scrape Creators, $1.88 per 1,000 | $37.60 | $56.40 |
| Bright Data, $1.50 per 1,000 | $30.00 | $45.00 |
At the Pro rate, two reads cost $0.00395 per order, under half a cent. One Pro pack holds 40,000 reads, so at 20,000 reads a month it lasts two months. Rates change: confirm them on each pricing page before you budget. Subscription APIs are compared per 1,000 profiles in Data365 and EnsembleData Alternatives.
Instagram, TikTok and 7 more networks: public data coverage
The same request format reads 9 networks. This is the coverage table from the API documentation, with the precision of the follower count added, because precision decides what a panel can verify.
| Network | Follower count | Precision of the count | Post likes and views | Recent posts | Comments | Follower list |
|---|---|---|---|---|---|---|
| Yes | Exact | Likes, and views on reels and videos | Yes | Yes | No | |
| TikTok | Yes | Exact. The page shows a rounded figure, returned as followers_rounded |
Likes and views | Yes | Yes | Yes |
| YouTube | Yes, subscribers | Rounded by YouTube, is_exact: false |
Likes and views | Yes | Yes | No |
| X (Twitter) | Yes | Exact | Likes and views | Yes | No | No |
| Yes | Exact | Reactions summed as likes, views on videos | Yes | Yes | No | |
| Threads | Yes | Exact | Likes, no views | Yes | No | No |
| Yes | Exact | Reactions and saves, no views | Yes, pins of a board | No | No | |
| Yes, company or person | Full number | No single post read | Yes, company posts without counters | No | No | |
| No. Weekly active users and weekly contributions of a subreddit | Not applicable | Upvote score, no views | Yes | Yes | No |
Counts read on November 24, 2026, one request each:
| Network | Account read | followers returned |
is_exact |
|---|---|---|---|
instagram |
684,751,489 | true | |
| TikTok | tiktok |
97,094,477 | true |
| YouTube | mrbeast |
528,000,000 | false |
| X | nasa |
92,128,980 | true |
microsoft |
13,271,884 | true | |
| Threads | zuck |
5,783,675 | true |
nike |
1,087,134 | true | |
| LinkedIn (company) | microsoft |
29,585,870 | full number |
technology |
no follower count, 5,573,839 weekly active users | not applicable |
The caveats that matter for order verification:
- YouTube rounds. YouTube publishes subscriber counts rounded to three significant figures for channels above 1,000 subscribers, to everyone, and the response says so with
is_exact: false. A channel at 12,300 moves in steps of 100, so a delivery or a drop smaller than the step cannot be confirmed by any reader. More in YouTube Subscriber Count API. - TikTok shows a rounded figure on the page, the API returns the exact one. Compare
followers, notfollowers_rounded. On accounts with tens of millions of followers the counter TikTok serves can vary by a few thousand between two reads, so compare day against day there, not minute against minute. See How to Track TikTok Follower Growth Programmatically. - Instagram likes can be hidden by the owner of the post. The response says so with
likes_hidden: true. - Reddit has no follower count. For a subreddit the API returns weekly active users and weekly contributions, not a member total.
- LinkedIn has no post counters and no single post read.
The per network references list every endpoint with examples in curl, Python, Node and PHP: Instagram API and TikTok API.
Plug the followers count API into a standard SMM panel API v2
Most panels resell through the standard SMM panel API v2: a POST to the provider's /api/v2 URL with your key and an action. The add action returns {"order": 23501}, status returns charge, start_count, status, remains and currency, and refill opens a refill for an order. The public read sits next to those three actions: once before add, and once next to every status you care about.
PHP
<?php
// Public count checks around a standard SMM panel API v2 provider.
const SL_BASE = 'https://api.sociallens.dev/v1';
const SL_KEY = 'sk_live_YOUR_KEY';
const PROVIDER_URL = 'https://provider.example/api/v2';
const PROVIDER_KEY = 'YOUR_PROVIDER_KEY';
/** One public read. $metric: followers (profile username), likes or views (post URL). */
function sl_count(string $platform, string $target, string $metric = 'followers'): array
{
$query = $metric === 'followers'
? '/profile?' . http_build_query(['platform' => $platform, 'username' => $target])
: '/post?' . http_build_query(['platform' => $platform, 'url' => $target]);
for ($try = 1; ; $try++) {
$ch = curl_init(SL_BASE . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . SL_KEY],
]);
$body = (string) curl_exec($ch);
$code = (int) curl_getinfo($ch, CURLINFO_HTTP_CODE);
if (!in_array($code, [409, 429, 503], true) || $try === 3) break;
sleep(5); // account busy, rate limited or source down: not charged, try again
}
$d = json_decode($body, true) ?: [];
if ($code !== 200) return ['ok' => false, 'reason' => 'unavailable']; // retry later, never reject on this
if (empty($d['exists'])) return ['ok' => false, 'reason' => 'not_found'];
if (!empty($d['private'])) return ['ok' => false, 'reason' => 'private'];
if (!isset($d[$metric])) return ['ok' => false, 'reason' => 'hidden']; // likes hidden, or views on a photo
return ['ok' => true, 'count' => (int) $d[$metric], 'exact' => !empty($d['is_exact']), 'at' => $d['fetched_at']];
}
/** One call to the provider, standard SMM panel API v2. */
function provider(array $params): array
{
$ch = curl_init(PROVIDER_URL);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query(['key' => PROVIDER_KEY] + $params),
CURLOPT_TIMEOUT => 30,
]);
return json_decode((string) curl_exec($ch), true) ?: [];
}
/** Step 1. Start count: read before the order reaches the provider. Save the returned row with the order. */
function place_order(int $service, string $platform, string $target, string $link, int $quantity, string $metric = 'followers'): array
{
$start = sl_count($platform, $target, $metric);
if (!$start['ok'] && $start['reason'] !== 'unavailable') {
return ['error' => 'Invalid link: ' . $start['reason']]; // reject before charging the customer
}
$res = provider(['action' => 'add', 'service' => $service, 'link' => $link, 'quantity' => $quantity]);
if (empty($res['order'])) {
return ['error' => $res['error'] ?? 'Provider refused the order'];
}
return [
'provider_order' => $res['order'], 'platform' => $platform, 'target' => $target, 'metric' => $metric,
'quantity' => $quantity,
'start_count' => $start['ok'] ? $start['count'] : null,
'start_at' => $start['ok'] ? $start['at'] : null,
];
}
/** Steps 2 and 3. Delivery tracking and drop detection: the provider status next to a fresh public read. */
function order_status(array $order): array
{
$status = provider(['action' => 'status', 'order' => $order['provider_order']]);
$now = sl_count($order['platform'], $order['target'], $order['metric']);
if (!$now['ok'] || $order['start_count'] === null) {
return $status + ['verified' => false];
}
$gained = $now['count'] - $order['start_count']; // what the public counter shows
$reported = $order['quantity'] - (int) ($status['remains'] ?? 0); // what the provider says it delivered
return $status + [
'verified' => true,
'current_count' => $now['count'],
'gained' => $gained,
'drop' => ($status['status'] ?? '') === 'Completed' ? max(0, $reported - $gained) : 0,
'checked_at' => $now['at'],
];
}
/** Step 4. Refill check: sends the refill action only when the claim is in the window and the drop is real. */
function refill_check(array $order, int $refillDays, int $completedAt, int $tolerance = 0): array
{
$st = order_status($order);
$inWindow = time() - $completedAt <= $refillDays * 86400;
$valid = $st['verified'] && $inWindow && $st['drop'] > $tolerance;
if ($valid) {
$st['refill'] = provider(['action' => 'refill', 'order' => $order['provider_order']]);
}
return $st + ['refill_valid' => $valid, 'in_window' => $inWindow];
}
// Usage: a followers order, then a status check, then a refill claim 12 days after completion.
$order = place_order(1, 'instagram', 'nasa', 'https://www.instagram.com/nasa/', 1000);
print_r(order_status($order));
print_r(refill_check($order, 30, time() - 12 * 86400, 10));
Python
import os
import time
import requests
SL_BASE = "https://api.sociallens.dev/v1"
SL_KEY = os.environ["SOCIALLENS_KEY"]
PROVIDER_URL = os.environ["PROVIDER_URL"] # for example https://provider.example/api/v2
PROVIDER_KEY = os.environ["PROVIDER_KEY"]
def sl_count(platform, target, metric="followers"):
"""One public read. metric: followers (profile username), likes or views (post URL)."""
if metric == "followers":
path, params = "/profile", {"platform": platform, "username": target}
else:
path, params = "/post", {"platform": platform, "url": target}
for attempt in range(3):
r = requests.get(SL_BASE + path, params=params,
headers={"Authorization": f"Bearer {SL_KEY}"}, timeout=60)
if r.status_code not in (409, 429, 503) or attempt == 2:
break
time.sleep(5) # account busy, rate limited or source down: not charged, try again
if r.status_code != 200:
return {"ok": False, "reason": "unavailable"} # retry later, never reject on this
d = r.json()
if not d.get("exists"):
return {"ok": False, "reason": "not_found"}
if d.get("private"):
return {"ok": False, "reason": "private"}
if d.get(metric) is None:
return {"ok": False, "reason": "hidden"} # likes hidden, or views on a photo
return {"ok": True, "count": int(d[metric]), "exact": bool(d.get("is_exact")), "at": d["fetched_at"]}
def provider(**params):
"""One call to the provider, standard SMM panel API v2."""
r = requests.post(PROVIDER_URL, data={"key": PROVIDER_KEY, **params}, timeout=30)
return r.json()
def place_order(service, platform, target, link, quantity, metric="followers"):
"""Step 1. Start count: read before the order reaches the provider. Save the returned row."""
start = sl_count(platform, target, metric)
if not start["ok"] and start["reason"] != "unavailable":
return {"error": "Invalid link: " + start["reason"]} # reject before charging the customer
res = provider(action="add", service=service, link=link, quantity=quantity)
if "order" not in res:
return {"error": res.get("error", "Provider refused the order")}
return {
"provider_order": res["order"], "platform": platform, "target": target, "metric": metric,
"quantity": quantity, "start_count": start.get("count"), "start_at": start.get("at"),
}
def order_status(order):
"""Steps 2 and 3. The provider status next to a fresh public read."""
status = provider(action="status", order=order["provider_order"])
now = sl_count(order["platform"], order["target"], order["metric"])
if not now["ok"] or order["start_count"] is None:
return {**status, "verified": False}
gained = now["count"] - order["start_count"] # what the public counter shows
reported = order["quantity"] - int(status.get("remains") or 0) # what the provider says it delivered
drop = max(0, reported - gained) if status.get("status") == "Completed" else 0
return {**status, "verified": True, "current_count": now["count"],
"gained": gained, "drop": drop, "checked_at": now["at"]}
def refill_check(order, refill_days, completed_at, tolerance=0):
"""Step 4. completed_at is a Unix timestamp. Sends the refill only when the drop is real."""
st = order_status(order)
in_window = time.time() - completed_at <= refill_days * 86400
valid = st["verified"] and in_window and st["drop"] > tolerance
if valid:
st["refill"] = provider(action="refill", order=order["provider_order"])
return {**st, "refill_valid": valid, "in_window": in_window}
if __name__ == "__main__":
order = place_order(1, "instagram", "nasa", "https://www.instagram.com/nasa/", 1000)
print(order_status(order))
print(refill_check(order, 30, time.time() - 12 * 86400, tolerance=10))
Three notes for production:
- Keep the reads sequential. Requests for one SocialLens account are processed one at a time, and a key allows 60 requests per minute. Run the status checks in a queue or a plain loop. Parallel calls do not finish sooner and can answer
409 account_busy. - Never reject or refund on
unavailable. It means the read could not be made at that moment (rate limit, source down, no balance). Forward the order without a verified start count or retry, but do not treat it as an invalid link. - For likes and views orders, pass the post URL as the target and
likesorviewsas the metric. The logic is the same.
Frequently asked questions
How do I detect drop on an order?
Store the public count at completion, read the same profile or post again later, and subtract. If the current count is below the start count plus the quantity delivered, the difference is the drop. Use followers for follower orders and likes or views from /v1/post for post orders. Organic growth can hide part of a drop, so the public counter gives you the net result.
Can I verify a refill guarantee with a followers count API?
Yes. A claim is valid when the order completed, the claim is inside the refill window of the service, and a read made at the moment of the claim shows the count below the expected number by more than your tolerance. The refill_check function above does exactly that before it sends the provider's refill action.
Which networks are supported?
Follower counts for Instagram, TikTok, YouTube, X, Facebook, Threads, Pinterest and LinkedIn, plus subreddit activity for Reddit: 9 networks in one request format. Single post reads work on 8 of them, all except LinkedIn, and the counters each post returns (likes, views, comments) vary by network. The full table is in the coverage section above and in the docs.
Does SocialLens deliver followers, likes or views?
No. SocialLens only reads public data. It does not sell, send or automate engagement, and it does not act on any account. A panel uses it to check orders that it fulfills elsewhere.
Do I need the customer's password or a session cookie?
No. A read needs only the public username or the public post URL, and your own SocialLens API key. No login to Instagram, TikTok or any other network is involved, on your side or the customer's.
Is the followers count exact?
On Instagram, TikTok, X, Facebook, Threads and Pinterest the API returns the exact integer and marks it with is_exact: true. YouTube publishes only a rounded subscriber count, so that one comes with is_exact: false.
How many reads does one order use, and what does it cost?
Two reads cover the start count and a check at completion. A third covers one drop check in the refill window. At the Pro pack rate ($79 for 40,000 reads) two reads cost under half a cent per order. A new account starts with 250 free reads and no card.
What happens when a read fails?
Error statuses are not charged: 429 rate_limited, 409 account_busy, 503 source_unavailable and the others cost nothing, so retries do not use your balance. A delivered answer costs 1 credit, including a private profile or a profile that does not exist.
Related guides
- Enrich a Clay table with follower counts
- 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