Skip to main content
TikTok API

TikTok Analytics API

Track TikTok video views, likes, comments, and shares programmatically. See exactly which videos are taking off, without scraping the TikTok app.

  • Views, likes, comments, and shares per video
  • List recent videos for any connected TikTok account
  • Look up metrics for a single video by ID
  • No TikTok developer app or audit required
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform
DF

"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"

David Flor, Founder at Darklight Interactive

Divanshu KhatterMarketing Manager at Sembark

"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."

Divanshu Khatter, Marketing Manager at Sembark

Het TikawalaFounder at Kalizzle AI Studio

"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."

Het Tikawala, Founder at Kalizzle AI Studio

How It Works

Add social media to your product in three steps.

01

Get Your API Key

Sign up and get your API key instantly — no sales calls, no complex onboarding.

02

Integrate in Minutes

A single endpoint to post, schedule, and manage content. Drop it into your product and go.

03

Your Users Post Everywhere

Your product now supports every major social platform — without you maintaining a single integration.

API Response Format

Clean, structured JSON that's easy to parse and integrate

Request

POST
curl "https://api.postpeer.dev/v1/analytics?platform=tiktok&accountId=acc_tt_321&sortBy=views&order=desc&limit=10" \
  -H "x-access-key: your-api-key"

Response

JSON
{
  "success": true,
  "total": 1,
  "page": 1,
  "limit": 10,
  "posts": [
    {
      "source": "platform",
      "postId": null,
      "content": "Quick tutorial on shipping AI features fast",
      "publishedAt": "2026-05-28T14:22:00Z",
      "aggregated": {
        "impressions": null,
        "reach": null,
        "likes": 1842,
        "comments": 73,
        "shares": 218,
        "saves": null,
        "clicks": null,
        "views": 42100,
        "engagementRate": null
      },
      "platforms": [
        {
          "platform": "tiktok",
          "platformPostId": "7123456789012345678",
          "platformPostUrl": "https://www.tiktok.com/@youruser/video/7123456789012345678",
          "metrics": {
            "impressions": null,
            "reach": null,
            "likes": 1842,
            "comments": 73,
            "shares": 218,
            "saves": null,
            "clicks": null,
            "views": 42100,
            "engagementRate": null
          }
        }
      ]
    }
  ]
}

Everything You Need for TikTok Analytics

Get TikTok video performance data without managing TikTok's API directly. Same response shape as every other PostPeer analytics endpoint.

Per-Video Metrics

Get view count, like count, comment count, and share count for every video. See exactly how each upload is performing on TikTok.

Recent Video Listing

List the most recent videos from any connected TikTok account, with inline metrics for each. Great for dashboards that show "latest performance" at a glance.

Single-Video Lookup

Pass a TikTok video ID to fetch metrics for one specific upload. Works for both PostPeer-published videos and existing ones on the connected account.

Unified Analytics Endpoint

Same endpoint, response shape, and filtering as Twitter, YouTube, Pinterest, and LinkedIn analytics. Add TikTok to your dashboard without writing a new integration.

Date Range Filtering

Filter by date range to find your best-performing videos over any window up to 366 days back. Sort by views, likes, comments, or shares.

No TikTok API Setup

Skip the TikTok developer portal, the Display API audit, and the OAuth scope wrangling. PostPeer is approved for the video.list scope so it just works.

Frequently Asked Questions

Ready to Add Social Media to Your Product?

One API. Every platform. Start building with free credits.

Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform