← Back to Fiber AI
Fetch popular TikTok songs
Fetches popular TikTok songs.
Fiber AI·$0.04 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "fiber",
path: "/v1/tiktok/popular-songs"
});
console.log(output);Response
output.songs.0.id
null
output.songs.0.title
string
output.songs.0.artist
string
output.songs.0.videoCount
null
output.songs.0.coverImageUrl
null
output.songs.0.durationSeconds
number
chargeInfo.method
string
chargeInfo.creditsCharged
number