HandleHaul
v1.0.1Public Instagram + TikTok data for agents: creators, videos, comments, transcripts, followers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_profile Instagram profile
Public Instagram profile for a username or numeric user id: full name, bio, external link, category, verified and private flags, follower / following / post counts, profile picture and the numeric user id. Use it first to check an account exists and is public. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_following Following, newest first
Accounts that a public Instagram account follows, in Instagram's real newest-first order: position 1 is the account they followed most recently. Use this for "who did @user recently follow", "new follows" or tracking follows over time. Up to about 200 accounts per page; meta.order is "newest_first" when the order is guaranteed. Instagram does not share follow dates, and a page can occasionally be one row short, so never treat a missing row as an unfollow. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on…
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
strict_order | boolean | true: fail with order_unavailable (free) instead of returning a page that is not newest first. Default false. |
get_followers Followers, newest first
Accounts that follow a public Instagram account, newest follower first: position 1 is the most recent follower. Use this for "who started following @user recently" or new-follower checks. Up to 25 accounts per page; meta.order is "newest_first" when the order is guaranteed. Instagram does not share follow dates. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
strict_order | boolean | true: fail with order_unavailable (free) instead of returning a page that is not newest first. Default false. |
get_posts Recent posts
Posts of a public Instagram account, newest first, about 12 per page: shortcode, URL, date, type, caption, like / comment / view counts and thumbnail. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
search_users Search accounts
Find Instagram accounts by name or username (up to about 40 results). Use it when the user gives a name rather than an exact username. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
q * | string | Name or username to search for. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_reels Reels
Reels of a public Instagram account, newest first (sort "recent") or most viewed (sort "views"), about 12 per page, with view counts and video URLs. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
sort | string | Order: recent or views (default recent). |
get_tagged_posts Tagged posts
Posts in which a public Instagram account is tagged, about 12 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_reposts Reposts
Posts a public Instagram account reposted, about 12 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_stories Live stories
Stories a public Instagram account posted in the last 24 hours, with media URLs and expiry times. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_highlights Story highlights
Story highlights of a public Instagram account (id, title, item count, cover). Use get_highlight_stories for the stories inside one. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_account_details Account details
When an Instagram account joined (month and year), its country and how many times it changed username. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_similar_accounts Similar accounts
Accounts Instagram considers similar to this one (up to about 80). Useful for competitor and influencer discovery. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_post_stats Post stats (batch)
Like, comment and view counts for 1 to 20 posts in one call. Pass shortcodes or ids, comma-separated, in ids. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
ids * | string | 1 to 20 posts, comma-separated (shortcodes or ids). |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_post One post or reel
One Instagram post or reel by shortcode, numeric id or instagram.com URL: caption, date, counts, media URLs, owner, location and audio. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
post * | string | Post shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded). |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_comments Comments
Comments on an Instagram post, top first (sort "top") or newest first (sort "newest"), about 15 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
post * | string | Post shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded). |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
sort | string | Order: top or newest (default top). |
get_post_likers Post likers
Accounts that liked an Instagram post, about 100 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
post * | string | Post shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded). |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_comment_replies Comment replies
Replies to a comment. Pass the comment id and the post it belongs to. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
comment * | string | Numeric comment id. |
post * | string | The post the comment belongs to (shortcode or id). |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_comment_likers Comment likers
Accounts that liked a comment. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
comment * | string | Numeric comment id. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_story One story
One Instagram story by numeric id. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
story * | string | Numeric story id. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_highlight_stories Highlight stories
The stories inside one story highlight (ids come from get_highlights). Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
highlight * | string | Numeric highlight id. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
search_hashtags Search hashtags
Find Instagram hashtags matching a word, with post counts. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
q * | string | What to search for (1 to 64 characters). |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
search_places Search places
Find Instagram places (locations) by name, or near a point with lat and lng. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
lat | number | Latitude (with lng: places near a point). |
lng | number | Longitude. |
q | string | What to search for (1 to 64 characters). |
search_audio Search audio
Find songs and original audio used in Reels. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
q * | string | What to search for (1 to 64 characters). |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_hashtag Hashtag
One Instagram hashtag and its post count. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
tag * | string | Hashtag, with or without #. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_hashtag_posts Hashtag posts
Top posts for an Instagram hashtag. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
tag * | string | Hashtag, with or without #. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_place Place
One Instagram place: name, category, address, city, coordinates, phone and website. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
place * | string | Numeric place (location) id. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_place_posts Place posts
Top (sort "top") or most recent (sort "recent") posts tagged at an Instagram place. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
place * | string | Numeric place (location) id. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
sort | string | Order: top or recent (default top). |
get_trending_audio Trending audio
Audio trending on Instagram Reels right now. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_audio Audio
One song or original audio: title, artist, duration and how many reels use it. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
audio * | string | Numeric audio id. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_audio_reels Reels using an audio
Reels that use a given song or original audio. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
audio * | string | Numeric audio id. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
search_following Search a following list
Search the accounts a public Instagram account follows by username or name, without paging the whole list. Use it for "does @a follow @b?": an empty list means no match. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
q * | string | What to search for (1 to 64 characters). |
user * | string | Numeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may c… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_all_post_likers All post likers
Up to about 1,000 accounts that liked an Instagram post, in one call (get_post_likers returns about 100). On posts with more likes Instagram stops near that ceiling; read counts.likes from get_post for the total. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
post * | string | Post shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded). |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
search_posts Search posts and reels
Posts and reels for a keyword, as Instagram ranks them in its top search results, about 10 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
q * | string | What to search for (1 to 64 characters). |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
get_post_embed Post embed (oEmbed)
Embed data for an instagram.com post or reel URL: author, media id, thumbnail and Instagram's embed HTML. Also tells what an instagram.com/s/ share link points to. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
url * | string | An instagram.com post, reel or tv URL, or an instagram.com/s/ share link (URL-encoded). |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
tiktok_get_profile TikTok profile
Public TikTok profile for a handle, numeric id or secUid: nickname, bio, link, region, verified and private flags, follower / following / like / video counts, avatar, the numeric id and the secUid. Use it first to check an account exists and is public. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_posts TikTok posts
Videos and photo posts of a public TikTok account, newest first, about 16 per page: caption, date, duration, cover, view / like / comment / share / save counts, music and hashtags. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_reposts TikTok reposts
Videos a public TikTok account reposted, up to 30 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_liked TikTok liked videos
Videos a TikTok account liked. Most accounts hide this list: then the page is empty and meta.list_hidden is true. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_followers TikTok followers
Accounts that follow a public TikTok account, about 30 per page, each with its follower and video counts. TikTok answered these most recent first in our checks, but the order is not guaranteed. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_following TikTok following
Accounts that a public TikTok account follows, about 30 per page. An account can hide this list: then the page is empty and meta.list_hidden is true. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_playlists TikTok playlists
Public playlists of a TikTok account: id, name, video count and cover. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_stories TikTok stories
Stories a TikTok account has up right now. Stories expire, so this is often empty. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_suggested Similar TikTok accounts
Accounts TikTok suggests alongside this one (up to about 30, one page). Useful for competitor and creator discovery. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
user * | string | TikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a ha… |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_post One TikTok post
One TikTok video or photo post by numeric id or tiktok.com URL: caption, date, duration, cover, media URL, counts, author, music, hashtags and whether it has captions. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
post * | string | TikTok post id (e.g. "7300000000000000000") or a tiktok.com/@user/video/<id> URL. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_comments TikTok comments
Top-level comments on a TikTok post, in TikTok's order, about 20 per page, with author, like count and reply count. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
post * | string | TikTok post id (e.g. "7300000000000000000") or a tiktok.com/@user/video/<id> URL. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_transcript TikTok transcript
Transcript of a TikTok video from TikTok's captions: full text plus timed segments, and the caption languages available. available is false when the video has no captions (still 1 credit). Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
post * | string | TikTok post id (e.g. "7300000000000000000") or a tiktok.com/@user/video/<id> URL. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
lang | string | Optional caption language code (e.g. "en"). Default: the video's original language. |
tiktok_get_comment_replies TikTok comment replies
Replies to a TikTok comment. Pass the comment id and the post it belongs to. About 3 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
comment * | string | Numeric comment id (id from tiktok_get_comments). |
post * | string | The post the comment belongs to (post id or URL). |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_music TikTok sound
One TikTok sound (song or original audio) by id or tiktok.com/music URL: title, artist, duration, cover and how many posts use it. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
music * | string | Numeric sound id (music.id on a post) or a tiktok.com/music URL. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_music_posts Posts using a TikTok sound
Posts that use a given TikTok sound, up to 30 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
music * | string | Numeric sound id (music.id on a post) or a tiktok.com/music URL. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_hashtag TikTok hashtag
One TikTok hashtag by name: its id, post count and view count. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
tag * | string | Hashtag name without # (e.g. "booktok"), or for posts the numeric hashtag id from tiktok_get_hashtag. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_get_hashtag_posts TikTok hashtag posts
Posts under a TikTok hashtag, up to 30 per page. Pass the name or, faster, the numeric id from tiktok_get_hashtag. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
tag * | string | Hashtag name without # (e.g. "booktok"), or for posts the numeric hashtag id from tiktok_get_hashtag. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
tiktok_search Search TikTok
Search TikTok by keyword. type: top (default: TikTok's blended video results), users (accounts), videos, photo, live or music (sounds). region is an optional 2-letter country code (default US). Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
| Parameter | Type | Description |
|---|---|---|
q * | string | What to search for. |
cursor | string | pagination.next_cursor from the previous page. Leave out for the first page. |
fresh | boolean | true skips the cache and fetches live data (full price). Default false. |
raw | boolean | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. |
region | string | Optional 2-letter country code (default US). |
type | string | Result type (default top). |
resolve_instagram_url Resolve an Instagram URL
Turn any instagram.com link (profile, post, reel, story, highlight, hashtag, place or audio) into its type, ids and the tool to call next. Parsed locally: free, no credits.
| Parameter | Type | Description |
|---|---|---|
url * | string | An instagram.com URL. |
get_balance HandleHaul API balance
Your HandleHaul API plan, credit balance, rate limits and this key's usage this month. Free.