SDK reference
Exhaustive SDK surface reference for tooling, agents, and power users who need exact method names, route mappings, and current typed coverage
SDK inventory
The current SocialFetchClient exposes five resource namespaces plus one top-level utility:
| Surface | Methods | Wrapped routes |
|---|---|---|
| (client) | health() | GET /health |
auth | whoami() | GET /v1/whoami |
billing | getBalance() | GET /v1/balance |
tiktok | getProfile(), getProfileLive(), getProfileVideos(), getVideo(), getVideoComments(), getVideoTranscript() | GET /v1/tiktok/profiles/{handle}, GET /v1/tiktok/profiles/{handle}/live, GET /v1/tiktok/profiles/{handle}/videos, GET /v1/tiktok/videos, GET /v1/tiktok/videos/comments, GET /v1/tiktok/videos/transcript |
twitter | getProfile(), getProfileTweets(), getTweet() | GET /v1/twitter/profiles/{handle}, GET /v1/twitter/profiles/{handle}/tweets, GET /v1/twitter/tweets |
instagram | getProfile(), getProfilePosts(), getPost() | GET /v1/instagram/profiles/{handle}, GET /v1/instagram/profiles/{handle}/posts, GET /v1/instagram/posts |
Method-by-method reference
client.health()
client.auth.whoami()
client.billing.getBalance()
client.tiktok.getProfile({ handle })
client.tiktok.getProfileLive({ handle })
client.tiktok.getProfileVideos({ handle, sortBy?, cursor?, userId?, region?, trim? })
client.tiktok.getVideo({ url, region?, trim?, downloadMedia? })
client.tiktok.getVideoComments({ url, cursor?, trim? })
client.tiktok.getVideoTranscript({ url, language?, useAiFallback? })
client.twitter.getProfile({ handle })
client.twitter.getProfileTweets({ handle, trim? })
client.twitter.getTweet({ url, trim? })
client.instagram.getProfile({ handle })
client.instagram.getProfilePosts({ handle, cursor? })
client.instagram.getPost({ url, region?, trim?, downloadMedia? })Route mapping
| SDK method | HTTP route | Main identifiers / params |
|---|---|---|
client.health() | GET /health | none |
client.auth.whoami() | GET /v1/whoami | none |
client.billing.getBalance() | GET /v1/balance | none |
client.tiktok.getProfile({ handle }) | GET /v1/tiktok/profiles/{handle} | handle |
client.tiktok.getProfileLive({ handle }) | GET /v1/tiktok/profiles/{handle}/live | handle |
client.tiktok.getProfileVideos({ handle, sortBy?, cursor?, userId?, region?, trim? }) | GET /v1/tiktok/profiles/{handle}/videos | handle, sortBy, cursor, userId, region, trim |
client.tiktok.getVideo({ url, region?, trim?, downloadMedia? }) | GET /v1/tiktok/videos | url, region, trim, downloadMedia |
client.tiktok.getVideoComments({ url, cursor?, trim? }) | GET /v1/tiktok/videos/comments | url, cursor, trim |
client.tiktok.getVideoTranscript({ url, language?, useAiFallback? }) | GET /v1/tiktok/videos/transcript | url, language, useAiFallback |
client.twitter.getProfile({ handle }) | GET /v1/twitter/profiles/{handle} | handle |
client.twitter.getProfileTweets({ handle, trim? }) | GET /v1/twitter/profiles/{handle}/tweets | handle, trim |
client.twitter.getTweet({ url, trim? }) | GET /v1/twitter/tweets | url, trim |
client.instagram.getProfile({ handle }) | GET /v1/instagram/profiles/{handle} | handle |
client.instagram.getProfilePosts({ handle, cursor? }) | GET /v1/instagram/profiles/{handle}/posts | handle, cursor |
client.instagram.getPost({ url, region?, trim?, downloadMedia? }) | GET /v1/instagram/posts | url, region, trim, downloadMedia |