HandleHaul

v1.0.1
com.handlehaul/social-data Checked 4 days ago Published 4 days ago

Public 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).

ParameterTypeDescription
user *stringNumeric 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…
freshbooleantrue 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…

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
strict_orderbooleantrue: 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).

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
strict_orderbooleantrue: 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).

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
q *stringName or username to search for.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
sortstringOrder: 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).

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
user *stringNumeric 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…
freshbooleantrue 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).

ParameterTypeDescription
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
ids *string1 to 20 posts, comma-separated (shortcodes or ids).
freshbooleantrue 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).

ParameterTypeDescription
post *stringPost shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded).
freshbooleantrue 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).

ParameterTypeDescription
post *stringPost shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded).
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
sortstringOrder: 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).

ParameterTypeDescription
post *stringPost shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded).
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
comment *stringNumeric comment id.
post *stringThe post the comment belongs to (shortcode or id).
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
comment *stringNumeric comment id.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
story *stringNumeric story id.
freshbooleantrue 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).

ParameterTypeDescription
highlight *stringNumeric highlight id.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
q *stringWhat to search for (1 to 64 characters).
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
latnumberLatitude (with lng: places near a point).
lngnumberLongitude.
qstringWhat 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).

ParameterTypeDescription
q *stringWhat to search for (1 to 64 characters).
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
tag *stringHashtag, with or without #.
freshbooleantrue 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).

ParameterTypeDescription
tag *stringHashtag, with or without #.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
place *stringNumeric place (location) id.
freshbooleantrue 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).

ParameterTypeDescription
place *stringNumeric place (location) id.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
sortstringOrder: top or recent (default top).

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).

ParameterTypeDescription
audio *stringNumeric audio id.
freshbooleantrue 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).

ParameterTypeDescription
audio *stringNumeric audio id.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
q *stringWhat to search for (1 to 64 characters).
user *stringNumeric 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
post *stringPost shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded).
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
q *stringWhat to search for (1 to 64 characters).
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue 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).

ParameterTypeDescription
url *stringAn instagram.com post, reel or tv URL, or an instagram.com/s/ share link (URL-encoded).
freshbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
user *stringTikTok 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…
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
post *stringTikTok post id (e.g. "7300000000000000000") or a tiktok.com/@user/video/<id> URL.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
post *stringTikTok post id (e.g. "7300000000000000000") or a tiktok.com/@user/video/<id> URL.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
post *stringTikTok post id (e.g. "7300000000000000000") or a tiktok.com/@user/video/<id> URL.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
langstringOptional 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).

ParameterTypeDescription
comment *stringNumeric comment id (id from tiktok_get_comments).
post *stringThe post the comment belongs to (post id or URL).
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
music *stringNumeric sound id (music.id on a post) or a tiktok.com/music URL.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
music *stringNumeric sound id (music.id on a post) or a tiktok.com/music URL.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
tag *stringHashtag name without # (e.g. "booktok"), or for posts the numeric hashtag id from tiktok_get_hashtag.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue 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).

ParameterTypeDescription
tag *stringHashtag name without # (e.g. "booktok"), or for posts the numeric hashtag id from tiktok_get_hashtag.
cursorstringpagination.next_cursor from the previous page. Leave out for the first page.
freshbooleantrue skips the cache and fetches live data (full price). Default false.
rawbooleantrue returns TikTok's raw JSON in data instead of our fields (same price). Default false.

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.

ParameterTypeDescription
url *stringAn instagram.com URL.

get_balance HandleHaul API balance

Your HandleHaul API plan, credit balance, rate limits and this key's usage this month. Free.