Utilities
GET /v1/analytics/compare

Compare Analytics API

Compare unified metrics across up to 10 URLs in one call — 1 credit per successfully resolved URL.

1 credit/url per request
TL;DR
Compare unified metrics across up to 10 URLs in one call — 1 credit per successfully resolved URL. The Compare Analytics API (Utilities) is a single authenticated GET request to /v1/analytics/compare that responds with clean JSON and costs 1 credit/url. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the Compare Analytics API?

Pass up to 10 comma-separated post/video/reel URLs (any mix of supported platforms) and get unified metrics for each — views, likes, comments, shares, saves, and engagement rate. Bills 1 credit per successfully resolved URL (minimum 1).

What you get

  • Bulk list of compare analytics with metadata
  • Dates, URLs, and engagement fields when available
  • Configurable result limit
  • Ideal for monitoring and content pipelines

Try it

Fill in the parameters below and copy a ready-to-run request in your language of choice.

Parameters

curl "https://api.captapi.com/v1/analytics/compare?urls=https%3A%2F%2Fwww.tiktok.com%2F%40tiktok%2Fvideo%2F7234567890123456789%2Chttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "data": {
    "total": 2,
    "items": [
      {
        "title": "Latest upload",
        "url": "https://example.com/a",
        "views": 90120,
        "publishedAt": "2025-01-12"
      },
      {
        "title": "Previous upload",
        "url": "https://example.com/b",
        "views": 75230,
        "publishedAt": "2025-01-04"
      }
    ]
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Result

  • totalNumber of items returned.

Each item

Each item in items contains:

  • titleItem title.
  • urlDirect URL to the content.
  • viewsView count.
  • publishedAtPublish date (ISO 8601).

Parameters

NameTypeRequiredDescription
urlsstringYesComma-separated post/video/reel URLs (up to 10), any mix of supported platforms.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 1 credit/url. Pass cache=true for a free 24h cache hit; default is always fresh.

Using an AI agent? This endpoint is the MCP tool analytics_compare via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/analytics/compare and parse the JSON response.

Use cases

Content Pipelines

Ingest a channel's catalog in bulk.

Monitoring

Detect new uploads automatically.

Archiving

Snapshot a creator's full library.

Analytics

Aggregate performance across many videos.

Frequently asked questions

What does the Compare Analytics API do?+

The Compare Analytics API lets you list items in bulk with metadata from a public Utilities post or video URL using one GET request to /v1/analytics/compare. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Compare Analytics API cost?+

Billing is 1 credit per successfully resolved URL (minimum 1). Failed or empty results are never charged.

Do I need a Utilities API key or OAuth?+

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Is the Compare Analytics API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.

More Utilities APIs

Ready to use the Compare Analytics API?

Sign up, grab your key, and make your first call in 60 seconds.