Social APIs

    The Social APIs return public content from TikTok, Instagram, and Facebook. All three share the same shape: search, single item, profile, profile posts, comments, and hashtag.

    bash
    curl --request POST 'https://api.desearch.ai/desearch/tiktok/search' \ --header "Authorization: $DESEARCH_API_KEY" \ --header 'Content-Type: application/json' \ --data '{"query": "AI agents"}'
    TikTokInstagramFacebook
    SearchPOST /desearch/tiktok/searchPOST /desearch/instagram/searchPOST /desearch/facebook/search
    Single itemGET /desearch/tiktok/post/{id}GET /desearch/instagram/media/{id}GET /desearch/facebook/post/{id}
    ProfileGET /desearch/tiktok/profile/{username}GET /desearch/instagram/profile/{username}GET /desearch/facebook/profile/{profile_id}
    Profile postsGET .../profile/{username}/postsGET .../profile/{username}/postsGET .../profile/{profile_id}/posts
    CommentsGET /desearch/tiktok/comments/{video_id}GET /desearch/instagram/comments/{media_id}GET /desearch/facebook/comments/{post_id}
    HashtagGET /desearch/tiktok/hashtag/{tag}GET /desearch/instagram/hashtag/{tag}GET /desearch/facebook/hashtag/{tag}

    TikTok additionally has GET /desearch/tiktok/trending.

    Schemas for every endpoint are in the API Reference.