Endpoints
    GET/desearch/social/post

    Post Engagement by Link

    Read one public TikTok, Instagram, Facebook or YouTube post by its link and get its engagement in one shape: views, likes, reactions (Facebook, with a split by type), comments, shares and saves, plus interactions and engagement rate. The platform is detected from the link. A metric is null when the platform does not show it for that post. Set `author=true` to also read the author's follower count and get the engagement rate by followers. Billed one unit per request, two with `author=true`. A 404, a 422 and a 5xx are not charged. Billing metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.

    Base URL

    https://api.desearch.ai

    Implementation guidance

    Use Post Engagement by Link when your application needs search-grounded AI results without maintaining its own crawler, social-data pipeline, or retrieval infrastructure. The endpoint returns structured data that can be consumed by agents, research tools, dashboards, and retrieval-augmented generation workflows. Keep the request focused on the minimum fields your workflow needs so responses remain fast and easy to validate.

    Send requests to GET /desearch/social/post with your Desearch API key in the authorization header. Treat the key as a server-side secret, validate all required parameters before sending the request, and handle non-2xx responses explicitly. Production integrations should use sensible timeouts, retry only transient failures with backoff, and record the response status and request identifier for troubleshooting.

    Test the example request below before integrating it into a larger workflow. Confirm that the returned fields, links, and timestamps meet your freshness requirements, then add schema validation at the application boundary. For agentic systems, preserve source URLs with the generated answer so users can inspect evidence and your application can avoid presenting unsupported claims.

    Query Parameters

    urlstringrequired

    Public post link: a TikTok video, Instagram post or Reel, Facebook post, Reel or video, or YouTube video or Short. URL-encode it; an unencoded link also works when `url` comes first.

    authorboolean

    Also read the author's profile for the follower count and the engagement rate by followers. Bills one more unit.

    Default: false

    Responses

    200The post and its public engagement metrics.
    301Moved Permanently
    304Not Modified
    401Unauthorized
    404The post is not public or does not exist. Not charged.
    422Not a TikTok, Instagram, Facebook or YouTube link. Not charged.
    429Too Many Requests
    500Internal Server Error
    Authorization

    Your API key is sent in the Authorization header.

    Request
    curl -X GET "https://api.desearch.ai/desearch/social/post?url=https%3A%2F%2Fwww.tiktok.com%2F%40glontikalya%2Fvideo%2F7623378442750266631" \
      -H "Authorization: YOUR_API_KEY" \
      -H "Content-Type: application/json"
    ResponseSchema
    {
      "platform": "tiktok",
      "id": "7623378442750266631",
      "url": "https://www.tiktok.com/@glontikalya/video/7623378442750266631",
      "type": "video",
      "text": "string",
      "publishedAt": "2026-03-31T10:41:55.000Z",
      "author": {
        "id": "7462799227673674759",
        "username": "glontikalya",
        "name": "Albina's life",
        "url": "https://www.tiktok.com/@glontikalya",
        "followers": 54800
      },
      "metrics": {
        "views": 47451,
        "likes": 1796,
        "reactions": 0,
        "reactionsByType": {},
        "comments": 33,
        "shares": 96,
        "saves": 128
      },
      "interactions": 2053,
      "engagementRateByViews": 0.0433,
      "engagementRateByFollowers": 0.0375
    }

    Possible status codes:

    200401422429500