S
$0.014
per call · USD Coin on Base
Get details for a TikTok song or sound by id.
Endpoint
GET https://api.socialfetch.dev/v1/tiktok/songs1
Calls / 30d
1
Unique payers / 30d
Aug 26
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.socialfetch.dev/v1/tiktok/songs", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://api.socialfetch.dev/v1/tiktok/songs?id=6717159721276540930" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"lookupStatus": "found",
"song": {
"album": "Different",
"author": "Micah Tyler",
"coverUrl": "https://p16-sg.tiktokcdn.com/aweme/200x200/tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb.jpeg",
"durationSec": 60,
"id": "6717159721276540930",
"isArtist": true,
"isOriginal": false,
"playUrl": "https://sf77-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/oIBIZNfxOX2Nzi1WRH4ABroDirMAuIjwsGVov9",
"shareUrl": "https://www.tiktok.com/music/Different-Acoustic-6717159721276540930",
"title": "Different (Acoustic)",
"videoCount": 358
}
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01example_tiktok_song",
"version": "v1"
}
}Payment details
Pay to
0x02c2fcafce36b4aadb39625866bc6b1699d83043Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase
Schemesexact
Is this your API?
Pin it to the top of Social & Community and the homepage with a featured placement.
More from SocialFetch & similar services
S
SocialFetch · Tiktok Search
api.socialfetch.dev
Search TikTok videos by free-text keyword (not hashtag — use tiktok.search.hashtag.list for that).
GETBaseSocial & Community
$0.014 / call77 calls / 30d
S
SocialFetch · Profiles Posts
api.socialfetch.dev
List posts from an Instagram profile by handle.
GETBaseSocial & Community
$0.014 / call60 calls / 30d
S
SocialFetch · Instagram Posts
api.socialfetch.dev
Get a single Instagram post or Reel by URL.
GETBaseSocial & Community
$0.014 / call58 calls / 30d