Search TikTok by hashtag
Search TikTok videos by hashtag (not free-text keyword — use tiktok.search.videos.list for that).
Headers
Get your API keyAPI key (`sfk_...`)
Hashtag to search for. A leading # is optional.
min 1 chars · max 256 chars
Optional ISO 3166-1 country code for the request. This sets the proxy region and does not filter results to that country only.
Pagination cursor returned by a previous response.
min 1 chars
Whether to request a smaller response with fewer fields.
Endpoint-specific response payload.
Hashtag evaluated for this response, without a leading #.
Region applied for this response when one was requested.
TikTok videos matching the hashtag in order. Duplicate video ids may appear when the platform returns them.
TikTok video identifier.
min 1 chars
Caption text shown for the TikTok video.
ISO-8601 timestamp when the video was created, when available.
Canonical public TikTok URL for the video.
Source-platform CDN thumbnail or cover URL when available. It can expire or be rejected outside the original retrieval context; it is not a SocialFetch-hosted asset. For durable hosted copies on this list route, pass `hostMedia=true`.
Video duration in milliseconds, when available.
≥ 0
Whether the video is pinned on the profile.
Whether TikTok marks the video as an ad.
Engagement metrics for the video.
View count reported by TikTok for the video.
≥ 0
Like count reported by TikTok for the video.
≥ 0
Comment count reported by TikTok for the video.
≥ 0
Share count reported by TikTok for the video.
≥ 0
Save or collection count reported by TikTok for the video.
≥ 0
Download-related media URLs for the video.
Source-platform CDN download URL, usually with watermark, when available. It can expire or be rejected outside the original retrieval context; it is not a SocialFetch-hosted asset. For durable hosted copies on this list route, pass `hostMedia=true`.
Source-platform CDN download URL without watermark when available. It can expire or be rejected outside the original retrieval context; it is not a SocialFetch-hosted asset. For durable hosted copies on this list route, pass `hostMedia=true` (preferred over the watermarked URL when both are present).
Additional TikTok-native fields for this video (for example author, music, challenges, and full `video` and `statistics` objects). Keys that only duplicate the top-level fields are omitted.
Present only when `hostMedia=true`. Hosted copies and/or per-asset failures for this video.
Whether SocialFetch stored a durable copy of this asset.
one of: stored, failed
Normalized media kind.
one of: image, video
Which source field this asset was derived from.
one of: display, thumbnail, video
Source-platform CDN URL that was requested for hosting. Still transient; prefer `url` when status is stored.
Time-limited SocialFetch delivery URL when status is stored. Re-request hostMedia (or a future refresh route) before this expires if you still need access; object retention may outlive the delivery URL.
ISO-8601 timestamp when the returned delivery URL stops working.
ISO-8601 timestamp when the stored object is deleted from SocialFetch storage (90-day tier).
MIME type of the stored bytes when status is stored.
min 1 chars
Stored size in bytes when status is stored.
≥ 0
Pixel width when known.
≥ 0
Pixel height when known.
≥ 0
Opaque parent entity id for this asset (post, reel, photo, or video id).
min 1 chars
Legacy Instagram media id alias for `entityId`. Prefer `entityId`.
min 1 chars
Typed failure code when status is failed.
min 1 chars
Short customer-safe failure message when status is failed.
min 1 chars
Author metadata for this hashtag search result.
TikTok user id for the video author when available.
TikTok handle for the video author when available.
Display name for the video author when available.
Avatar image URL for the video author when available.
Whether the author is verified on TikTok.
Number of video rows returned in this response.
≥ 0
Pagination information for the current hashtag search page.
Cursor to pass in the next request when more videos are available.
Whether another page of videos is available.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.
Code example
curl "https://api.socialfetch.dev/v1/tiktok/search/hashtags?hashtag=fyp" \
-H "x-api-key: YOUR_API_KEY"Responses
Hashtag search results for the requested tag.