100 free credits. No credit card required.Start building
Logo
Utility logo
100 free credits. No credit card required

Utility Endpoint Usage Guide API

Returns a full usage guide for one endpoint: parameters with examples, credit cost, caching, paging, a sample call, and how often each field was filled in the last 7 days.

GET /v1/utility/endpoint

Last updated November 2026Maintained by the SocialCrawl team

When to use the Utility Endpoint Usage Guide API

Use it when you know which endpoint you want and need to call it correctly. Identify it by id or by path. Free to call.

From the API reference

Complete usage guide for a single endpoint: every parameter with type, description and example, the exact credit cost, cache behaviour, pagination recipe, a copy-paste example request, an example response, the response schema URL, and related endpoints. Identify the endpoint by id (tiktok/profile) or url (/v1/tiktok/profile). Free to call.

Searching 69 platforms in parallel

·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
Utility API

What can you do with the Endpoint Usage Guide API?

The Endpoint Usage Guide endpoint gives you structured Utility data with computed fields in a single request. No scraping infrastructure to build or maintain.

Example Request

# GET /v1/utility/endpoint: Free: 0 credits per call.
# --max-time 10: this endpoint's measured p99 latency x 1.5.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 10 --retry 3 -o response.json \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  "https://www.socialcrawl.dev/v1/utility/endpoint?id=tiktok%2Fprofile" && cat response.json
# GET /v1/utility/endpoint: Free: 0 credits per call.
import os
import random
import time
import uuid

import requests

API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 10  # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/utility/endpoint"


def backoff(attempt):
    # Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
    return 2 ** attempt * (0.5 + random.random() / 2)


def socialcrawl(params):
    # One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
    idempotency_key = str(uuid.uuid4())
    for attempt in range(MAX_RETRIES + 1):
        try:
            res = requests.get(
                URL,
                params=params,
                headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
                timeout=TIMEOUT_S,
            )
            body = res.json()
        except (requests.RequestException, ValueError):
            # A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
            if attempt == MAX_RETRIES:
                raise
            time.sleep(backoff(attempt))
            continue
        if body["success"]:
            return body
        error = body["error"]
        # Branch on error["type"], never on the message text.
        if error["type"] == "RESOURCE_NOT_FOUND":
            return None  # refunded: nothing to read
        retry_after = res.headers.get("Retry-After")
        # SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
        permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
        if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
            raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
        # Retry-After (seconds) wins; otherwise back off.
        time.sleep(float(retry_after) if retry_after else backoff(attempt))


params = {
    "id": "tiktok/profile",
}
body = socialcrawl(params)
if body is not None:
    print(body["data"])
// GET /v1/utility/endpoint: Free: 0 credits per call.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 10_000; // this endpoint's measured p99 latency x 1.5.
const MAX_RETRIES = 3;

type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
  | { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
  | { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };

const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);

async function socialcrawl(url: URL) {
  // One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
  const idempotencyKey = crypto.randomUUID();
  for (let attempt = 0; ; attempt++) {
    let res: Response;
    let body: SocialCrawlResponse;
    try {
      res = await fetch(url, {
        headers: {
          "x-api-key": API_KEY,
          "Idempotency-Key": idempotencyKey,
        },
        signal: AbortSignal.timeout(TIMEOUT_MS),
      });
      body = (await res.json()) as SocialCrawlResponse;
    } catch (error) {
      // A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
      if (attempt >= MAX_RETRIES) throw error;
      await sleep(backoffMs(attempt));
      continue;
    }
    if (body.success) return body;
    // Branch on error.type, never on the message text.
    if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
    const retryAfter = res.headers.get("Retry-After");
    // SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
    const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
    if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
      throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
    }
    // Retry-After (seconds) wins; otherwise back off.
    await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
  }
}

const url = new URL("https://www.socialcrawl.dev/v1/utility/endpoint");
url.searchParams.set("id", "tiktok/profile");

const body = await socialcrawl(url);
if (body) console.log(body.data);

Parameters

ParameterRequiredDescription
idNoEndpoint id as platform/resource, e.g. tiktok/profile
urlNoEndpoint path form, e.g. /v1/tiktok/profile (a full https URL also works)
methodNoDisambiguates a resource registered under more than one HTTP method, e.g. /v1/web/monitors/{monitor_id} is GET, PATCH and DELETE. Omit it and the first registered method wins (GET | POST | PATCH | DELETE)
Example Response

What does the Utility Endpoint Usage Guide API return?

This synthetic fixture shows the documented response shape and fields. Values are illustrative; this is not a live API response.

Example response
{
  "success": true,
  "platform": "utility",
  "endpoint": "/v1/utility/endpoint",
  "data": {
    "kind": "endpoint_guide",
    "id": "tiktok/profile",
    "path": "/v1/tiktok/profile",
    "method": "GET",
    "platform": "tiktok",
    "resource": "profile",
    "summary": "Get TikTok user profile",
    "description": "Returns public profile information for a TikTok user: follower count, following count, total likes, bio, avatar URL, and verification status. Pass either `handle` or `user_id`. Profiles behind TikTok's 'audience controls' (a login/age wall in the browser) and private profiles have no publicly readable profile record, so they return `404 RESOURCE_NOT_FOUND` with `error.details.reason` set to `account_private`; those accounts are still live and their posts are still readable through `/v1/tiktok/profile/videos` with the same handle. A handle the platform reports as unused returns the same status with `reason` set to `account_gone`; because TikTok numeric ids are permanent, re-running the lookup with `user_id` tells a renamed account from a removed one.",
    "credits": {
      "cost": 1,
      "label": "1 (standard)",
      "tier": "standard",
      "pricing_notes": null,
      "billing_rules": [
        "Cache hits cost 0 credits",
        "Failed calls and empty results are automatically refunded"
      ]
    },
    "params": {
      "required": [],
      "one_of": [
        {
          "options": [
            "handle",
            "user_id"
          ],
          "rule": "Provide at least one"
        }
      ],
      "optional": [
        {
          "name": "handle",
          "type": "string",
          "description": "TikTok username without the @ symbol.",
          "example": "charlidamelio",
          "requires": null
        },
        {
          "name": "user_id",
          "type": "string",
          "description": "TikTok numeric user ID. Use this for faster responses.",
          "example": null,
          "requires": null
        }
      ]
    },
    "pagination": null,
    "cache": {
      "ttl_seconds": 900,
      "note": "Identical calls within the TTL are served from cache for 0 credits"
    },
    "response": {
      "archetype": "Author",
      "schema_url": "https://socialcrawl.dev/schemas/author.json",
      "example": {
        "success": true,
        "platform": "tiktok",
        "endpoint": "/v1/tiktok/profile",
        "data": {
          "author": {
            "id": "6917704832925746181",
            "username": "duolingo",
            "display_name": "Duolingo",
            "avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/6b2beff1167b40574fcd2ea2caf1444d~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=f3757781&x-expires=1784674800&x-signature=9OCuBINSoeHVQPclR1XuqeA1j%2FE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
            "bio": "hot owl summer  🔥🦉",
            "verified": true,
            "followers": 17100000,
            "following": 310,
            "posts_count": 1129,
            "likes_count": 482200000,
            "url": null,
            "private": false,
            "joined_at": null
          },
          "computed": {
            "engagement_rate": null,
            "language": null,
            "content_category": "other",
            "estimated_reach": null
          },
          "_warnings": [
            "computed.engagement_rate: author ratio exceeded 1.0 (raw: 28.19883); returned null. A lifetime likes/followers ratio is not a real engagement rate"
          ]
        },
        "credits_used": 1,
        "credits_remaining": 9999,
        "request_id": "req_example000000",
        "cached": false
      },
      "example_source": "archetype"
    },
    "request": {
      "url": "https://www.socialcrawl.dev/v1/tiktok/profile?handle=charlidamelio",
      "curl": "curl -H \"x-api-key: $SOCIALCRAWL_API_KEY\" \"https://www.socialcrawl.dev/v1/tiktok/profile?handle=charlidamelio\""
    },
    "links": {
      "docs": "https://www.socialcrawl.dev/platforms/tiktok/profile",
      "platform_docs": "https://www.socialcrawl.dev/docs/tiktok",
      "llms": "https://www.socialcrawl.dev/llms-tiktok.txt",
      "catalog": "/v1/utility/endpoints?platform=tiktok"
    },
    "related": [
      {
        "id": "tiktok/profile/videos",
        "path": "/v1/tiktok/profile/videos",
        "summary": "List TikTok user videos",
        "how_to_use": "/v1/utility/endpoint?id=tiktok/profile/videos"
      },
      {
        "id": "tiktok/post",
        "path": "/v1/tiktok/post",
        "summary": "Get TikTok post details",
        "how_to_use": "/v1/utility/endpoint?id=tiktok/post"
      },
      {
        "id": "tiktok/post/comments",
        "path": "/v1/tiktok/post/comments",
        "summary": "List TikTok post comments",
        "how_to_use": "/v1/utility/endpoint?id=tiktok/post/comments"
      }
    ],
    "quality": {
      "measured": true,
      "window_days": 7,
      "measured_from": "2026-09-23",
      "measured_to": "2026-09-23",
      "sampled_calls": 1,
      "fill_rate": {
        "author.bio": 1,
        "author.followers": 1,
        "author.likes_count": 1,
        "author.posts_count": 1
      },
      "null_by_design": [],
      "by_rung": [],
      "freshness_hours": null,
      "method": "Production calls made with the endpoint's example inputs, bypassing the cache; fill_rate is the share of returned rows carrying a value for each field over the rolling window, fields that are null by design are listed separately and left out of it, and freshness_hours is the median age of the newest dated row per call."
    }
  },
  "credits_used": 0,
  "request_id": "req_example000000",
  "cached": false
}

Synthetic fixture for the documented response shape. Values are illustrative, not a production capture.

API Details

How does the Utility Endpoint Usage Guide API work?

Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.

Method

GET

Response

JSON

Why SocialCrawl

Why use SocialCrawl for Utility Endpoint Usage Guide data?

We handle the complexity of Utility data extraction so you can focus on building. Unified schema, AI enrichment, and zero platform logic in your code.

Developer First

How do you scrape social media data in seconds?

The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 69 platforms covering 10B+ monthly active users.

One schema, every platform

Query 69 platforms with identical response structures. Write your integration once.

Computed fields, not just scraped

When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.

See your data before you code

Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.

import requests

response = requests.get(
    'https://www.socialcrawl.dev/v1/tiktok/profile',
    params={'handle': 'charlidamelio'},
    headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json()
[ .JSON ]
{
  "success": true,
  "platform": "tiktok",
  "data": {
    "author": {
      "username": "charlidamelio",
      "followers": 152400000
    },
    "engagement": {
      "likes": 12400000000,
      "engagement_rate": 0.087
    },
    "metadata": {
      "language": "en",
      "content_category": "lifestyle"
    }
  }
}
+ 69 platforms
FAQ

Have a question? We got answers

Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.

Contact us
How do I get the usage guide for a specific endpoint?
Call GET /v1/utility/endpoint with id set to the platform/resource pair (id=tiktok/profile) or url set to the path form (url=/v1/tiktok/profile). If a resource is registered under more than one HTTP method, add method=GET or method=POST to disambiguate.
What does the endpoint usage guide include?
Everything needed to make a correct first call: every parameter with type, description, and example, the exact credit cost and billing rules, cache behaviour, the pagination recipe, a copy-paste example request, an example response with its schema URL, and a short list of related endpoints.
Does the endpoint guide cost credits?
No, it is free at 0 credits, like the catalog, quickstart, and llms endpoints. You can look up as many guides as you need while wiring an integration and only spend credits when you call the data endpoints themselves.
How does the guide stay in sync with the API?
The guide is generated from the same endpoint registry that routes and bills requests, so the parameters, costs, and examples it shows are the ones the API enforces. When an endpoint changes, its guide changes with it.
How do AI agents use the endpoint guide?
It is the second step of self-onboarding: after discovering an endpoint in /v1/utility/endpoints, an agent fetches its guide, reads the parameter list, and builds a valid request from the included example, without inventing paths or scraping documentation.

Ask AI about SocialCrawl

Ready to scrape Utility Endpoint Usage Guide data?

Get your API key and start pulling Utility data in under 60 seconds.

Start for free

🤖 AI agent or LLM? Read this page as markdown