Numbers and links
Read the public link of a published post, its likes, comments, shares, saves, views, reach and impressions, one reading per day of its life to compare posts at the same age, and the followers of each account. List, read, create, change and delete the reports of the Analytics page.
Linkpost reads the numbers of your accounts on each network for the Analytics page. The API gives you the same numbers, with the time each one was read, and the public link of each published post.
- A number the network does not give is
null, never0. A0is a real zero. - Every reading has its time.
read_atsays when Linkpost read the number, in UTC. - Linkpost reads once a day, and again right before a post turns 1, 2, 3, 7, 14 and 30 days old. Opening Analytics in the app also reads accounts that were not read that day.
What each network gives
| Network | Per post | Per account |
|---|---|---|
| Likes (unless the owner hides them) and comments. Shares, saves and views when Instagram gives them for the connection. | Followers, following and posts. | |
Reactions (as likes), comments and shares. |
Followers. | |
| TikTok | Views, likes, comments and shares, once the account allowed Linkpost to read its videos. | Followers, following, videos and total likes, with the same permission. |
| LinkedIn (personal profile) | Impressions, reach (members reached), reactions (as likes), comments, reposts (as shares) and saves, for the newest 25 posts published with Linkpost in the last 60 days. Only for accounts connected with the post analytics permission. |
Nothing yet. |
| YouTube, X, Bluesky, Telegram, LinkedIn Pages | Not read yet: stats is null. |
Not read yet. |
The TikTok and LinkedIn readings need a permission the account grants when it connects. An account connected before that permission was available has to be connected again.
The link of a published post
Every post has url: where the published post can be seen, or null when there is no public link. A post that is not published yet has none, and neither does a private TikTok video, because TikTok gives it no public id.
| Network | Link |
|---|---|
| YouTube | https://www.youtube.com/watch?v=…, or https://www.youtube.com/shorts/… for a Short. |
| X | https://x.com/i/web/status/… |
https://www.linkedin.com/feed/update/urn:li:…/ |
|
| Bluesky | https://bsky.app/profile/…/post/… |
| Telegram | https://t.me/{channel}/{message} for a public channel. A private channel's https://t.me/c/… link opens only for its members. |
| TikTok | https://www.tiktok.com/@{username}/video/… |
| Instagram, Facebook | The link the network gives, asked for right after publishing. It can take a minute to appear. |
The numbers in a post
GET /api/v1/posts, GET /api/v1/posts/{id} and every answer with a post have url and stats. stats is null until the first reading.
{
"data": {
"id": "01m6xardvrc76m2h9pfm7as4wr",
"status": "published",
"platform": "linkedin",
"provider_post_id": "urn:li:share:7262618447195271168",
"url": "https://www.linkedin.com/feed/update/urn:li:share:7262618447195271168/",
"stats": {
"likes": 95,
"comments": 12,
"shares": 4,
"saves": 7,
"views": null,
"reach": 1800,
"impressions": 4200,
"interactions": 118,
"read_at": "2026-11-20T05:31:12Z"
}
}
}
| Field | What it is |
|---|---|
likes |
Likes, or reactions on Facebook and LinkedIn. |
comments |
Comments. |
shares |
Shares, or reposts on LinkedIn. |
saves |
Saves. |
views |
Views of a video. |
reach |
People who saw the post at least once. |
impressions |
Times the post was shown. |
interactions |
likes + comments + shares + saves, counting only the ones the network gave. null when it gave none of them. |
read_at |
When Linkpost read these numbers, in UTC. |
A post's numbers day by day
GET /api/v1/posts/{id}/stats returns the post's link, its latest numbers and days: one reading per day of its life. Day 1 is the first 24 hours after the post was published, day 2 the next 24 hours, and so on until day 90. A later reading on the same day replaces the earlier one, so each day holds the numbers as close to its end as Linkpost read them.
To compare two posts at the same age, compare the same day of both. age_hours says exactly how old the post was at that reading. The extra readings before a post turns 1, 2, 3, 7, 14 and 30 days old put those days at close to 24, 48, 72, 168, 336 and 720 hours.
curl https://linkpost.app/api/v1/posts/01m6xardvrc76m2h9pfm7as4wr/stats \
-H "Authorization: Bearer $LINKPOST_KEY"
{
"data": {
"post_id": "01m6xardvrc76m2h9pfm7as4wr",
"account_id": 21,
"platform": "linkedin",
"url": "https://www.linkedin.com/feed/update/urn:li:share:7262618447195271168/",
"published_at": "2026-11-13T09:00:00Z",
"stats": { "likes": 95, "comments": 12, "shares": 4, "saves": 7, "views": null, "reach": 1800, "impressions": 4200, "interactions": 118, "read_at": "2026-11-20T08:12:40Z" },
"days": [
{ "day": 1, "age_hours": 23.2, "likes": 41, "comments": 5, "shares": 1, "saves": 2, "views": null, "reach": 900, "impressions": 2100, "interactions": 49, "read_at": "2026-11-14T08:12:02Z" },
{ "day": 2, "age_hours": 47.2, "likes": 70, "comments": 9, "shares": 3, "saves": 5, "views": null, "reach": 1400, "impressions": 3300, "interactions": 87, "read_at": "2026-11-15T08:12:10Z" },
{ "day": 7, "age_hours": 167.2, "likes": 95, "comments": 12, "shares": 4, "saves": 7, "views": null, "reach": 1800, "impressions": 4200, "interactions": 118, "read_at": "2026-11-20T08:12:40Z" }
]
}
}
A day with no reading is not in the list.
An account's followers and content
GET /api/v1/accounts has stats on each account: its latest follower reading, or null.
"stats": { "followers": 1520, "following": 310, "media_count": 87, "likes_total": null, "day": "2026-11-20", "read_at": "2026-11-20T05:30:41Z" }
likes_total is the account's lifetime likes, on TikTok only.
GET /api/v1/accounts/{id}/stats adds the follower history, one reading per day, newest first, and the numbers of the account's recent content. The content includes posts published outside Linkpost. post_id is the Linkpost post for the ones Linkpost published, and null for the others.
| Query | What it is |
|---|---|
days |
How many days back, for the history and the content. From 1 to 365. The default is 30. |
limit |
At most this many pieces of content, newest first. From 1 to 100. The default is 30. |
curl "https://linkpost.app/api/v1/accounts/12/stats?days=7&limit=2" \
-H "Authorization: Bearer $LINKPOST_KEY"
{
"data": {
"account_id": 12,
"platform": "instagram",
"followers": { "followers": 1520, "following": 310, "media_count": 87, "likes_total": null, "day": "2026-11-20", "read_at": "2026-11-20T05:30:41Z" },
"history": [
{ "followers": 1520, "following": 310, "media_count": 87, "likes_total": null, "day": "2026-11-20", "read_at": "2026-11-20T05:30:41Z" },
{ "followers": 1508, "following": 309, "media_count": 86, "likes_total": null, "day": "2026-11-19", "read_at": "2026-11-19T05:30:37Z" }
],
"content": [
{
"post_id": "01m6xag75ghras1sek74sdmft8",
"provider_media_id": "17999000000000001",
"format": "reel",
"caption": "Three ways to wear one scarf",
"url": "https://www.instagram.com/reel/C1a2b3c4d5e/",
"published_at": "2026-11-19T18:00:00Z",
"stats": { "likes": 120, "comments": 8, "shares": null, "saves": null, "views": null, "reach": null, "impressions": null, "interactions": 128, "read_at": "2026-11-20T05:30:42Z" }
}
]
}
}
Another user's account answers 404. A days or limit out of range answers 422.
Reports
The reports of the Analytics page are also in the API: list them, read one with its numbers computed, and create, change or delete them. A report has a name, a period, the accounts it covers and its widgets, in order. Each widget shows one metric in one view.
| Method | Path | What it does |
|---|---|---|
GET |
/api/v1/reports |
Lists your reports, in their order on the page. |
GET |
/api/v1/reports/catalog |
Lists what a report can show. |
POST |
/api/v1/reports |
Creates a report. |
GET |
/api/v1/reports/{id} |
Reads a report with the numbers of each widget. |
PATCH |
/api/v1/reports/{id} |
Changes a report. |
DELETE |
/api/v1/reports/{id} |
Deletes a report. The numbers behind it stay. |
Creating, changing and deleting take up to 30 requests a minute. Another user's report answers 404.
What a report can show
GET /api/v1/reports/catalog lists every metric, the views it takes, its unit and the accounts that cannot show it yet, with the reason. It also lists the sizes, the periods, the most widgets a report takes and the templates to start from.
curl https://linkpost.app/api/v1/reports/catalog \
-H "Authorization: Bearer $LINKPOST_KEY"
Part of the response:
{
"data": {
"metrics": [
{
"metric": "reach",
"label": "Reach",
"answers": "How many people saw your posts?",
"views": ["line", "number"],
"unit": "people",
"unavailable_for": [{ "account_id": 7, "reason": "TikTok does not share reach with other apps." }]
}
],
"sizes": ["third", "half", "full"],
"periods": ["7d", "30d", "90d"],
"max_widgets": 12,
"templates": [
{ "template": "audience", "name": "Audience", "summary": "Followers on each account and how fast they grow.", "metrics": ["followers", "follower_change", "engagement_rate"] }
]
}
}
metric |
What it shows | Views |
|---|---|---|
followers |
Followers of each account, over time. | line, number |
follower_change |
Followers gained or lost. | number, bars |
reach |
People who saw your posts. | line, number |
views |
Views of your videos. | bars, line, number |
interactions |
Likes, comments and shares. | bars, line, number |
engagement_rate |
How much each audience reacts to a post. | number, line |
top_posts |
The posts that worked best. | table |
formats |
Interactions by format. | bars |
best_times |
When your posts get the most reactions. | heatmap |
posts_published |
What you published with Linkpost. | bars, line, number |
delivery |
Whether your Linkpost posts went out or failed. | number, bars |
The templates are audience, reach, engagement, content and publishing, as in the app.
List your reports
GET /api/v1/reports returns your reports without their numbers. url opens the report in the app.
{
"data": [
{
"id": 4,
"name": "Audience",
"period": "30d",
"template": "audience",
"account_ids": [12, 21],
"widgets": [
{ "id": "k3v9x2ma", "metric": "followers", "view": "line", "size": "full", "accounts": null },
{ "id": "p2x8c4vb", "metric": "follower_change", "view": "bars", "size": "half", "accounts": null },
{ "id": "z7n1m3qe", "metric": "engagement_rate", "view": "number", "size": "half", "accounts": null }
],
"url": "https://linkpost.app/analytics/reports/4"
}
]
}
| Field | What it is |
|---|---|
period |
The days the report looks back: 7d, 30d or 90d. |
template |
The template it started from, or null. |
account_ids |
The accounts the report covers. |
widgets |
Each widget: its id, metric, view, size (third, half or full) and accounts, the accounts of this widget only, or null for the report's. |
Read a report with its numbers
GET /api/v1/reports/{id} adds what each widget shows, computed for the report's period in your timezone. Add period to look at another period without changing the report.
curl "https://linkpost.app/api/v1/reports/4?period=7d" \
-H "Authorization: Bearer $LINKPOST_KEY"
Part of the response:
{
"data": {
"id": 4,
"name": "Audience",
"period": "30d",
"showing": { "period": "7d", "from": "2026-11-21", "to": "2026-11-27", "timezone": "Europe/Madrid" },
"updated_at": "2026-11-27T05:30:41Z",
"data": [
{
"id": "z7n1m3qe",
"metric": "followers",
"view": "number",
"size": "half",
"title": "Followers",
"state": "ok",
"tiles": [
{ "label": "maracosta", "network": "instagram", "value": 1520, "display": "1,520", "delta": "+12 in this period", "hint": null }
]
},
{
"id": "r4t6y8u0",
"metric": "reach",
"view": "line",
"size": "full",
"title": "Reach",
"state": "locked",
"message": "TikTok does not share reach with other apps."
}
]
}
}
showing says the days the numbers cover, and updated_at when Linkpost last read your accounts. data has one entry per widget, in order, with its state:
state |
What it means |
|---|---|
ok |
The widget has numbers: tiles (one number per account) for the number view, chart (with its type) for the charts, or table for top_posts. |
collecting |
Linkpost is still taking the first readings. message says when they arrive. |
locked |
No account of the widget shares this metric yet. message says why. |
empty |
There is nothing to show yet, for example no posts in the period. message says so. |
A number a network does not share is never shown as a zero. When only some accounts of a widget cannot show it, blocked lists them with the reason. A period other than 7d, 30d or 90d answers 422.
Create a report
POST /api/v1/reports creates a report from a name, the accounts and the widgets, or from a template. The answer is 201 with the report.
| Field | What it is |
|---|---|
template |
Optional. A template from the catalog. Without account_ids it covers every account, and the fields you send replace the template's. |
name |
Up to 80 characters. Required without a template. |
period |
7d, 30d or 90d. The default is 30d. |
account_ids |
The accounts to cover. Required without a template. |
widgets |
Up to 12, in order. Each takes metric, and optionally view (one the metric takes, or its first), size (half by default) and accounts. Required without a template. |
curl https://linkpost.app/api/v1/reports \
-H "Authorization: Bearer $LINKPOST_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "Reach", "account_ids": [12], "widgets": [{ "metric": "reach" }, { "metric": "top_posts", "size": "full" }] }'
{
"data": {
"id": 5,
"name": "Reach",
"period": "30d",
"template": null,
"account_ids": [12],
"widgets": [
{ "id": "q8w2e4r6", "metric": "reach", "view": "line", "size": "half", "accounts": null },
{ "id": "t1y3u5i7", "metric": "top_posts", "view": "table", "size": "full", "accounts": null }
],
"url": "https://linkpost.app/analytics/reports/5"
}
}
To start from a template, send only { "template": "audience" }.
Change or delete a report
PATCH /api/v1/reports/{id} changes only the fields you send. widgets, when you send it, replaces the widgets of the report whole: send the ones to keep too. DELETE /api/v1/reports/{id} deletes the report and answers { "data": { "id": 4, "deleted": true } }.
curl -X PATCH https://linkpost.app/api/v1/reports/4 \
-H "Authorization: Bearer $LINKPOST_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "Followers only", "widgets": [{ "metric": "followers", "view": "number" }] }'
A report needs a name, at least one of your accounts and at least one widget. Without them the answer is 422 with Give the report a name., Choose at least one account for this report. or Add at least one widget. Accounts that are not yours and metrics that do not exist are left out, so a report with only those answers the same.
From the MCP server
The MCP server gives the same numbers. get_post_status, list_posts and list_accounts carry url and stats, get_post_stats gives a post's days, and get_account_stats gives an account's history and content. See MCP tools. The reports have their own tools: list_reports, get_report_catalog, get_report, create_report, update_report and delete_report. See Reports.