Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

TikTok Gift Name by ID

API दस्तावेज़
https://api.sandbase.ai/v1/api/tiktok/web/gift-name-by-id

Returns the gift name associated with a specific TikTok gift identifier. Look up gift metadata using the required gift ID parameter.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट
Gift ID
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

TikTok Gift Name by ID API

Returns the name of one TikTok gift for a given gift ID. The only input is gift_id, passed as a string.

Use cases

  • Turn numeric gift IDs from live stream messages into readable gift names.
  • Label gift columns in a live stream analytics report.
  • Build a lookup table of gift IDs and names for a single gift you see in your data.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/gift-name-by-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"gift_id": "10001"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
gift_idstringYesGift ID

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "gift_id": "10001",
  "gift_name": "鞭炮"
}

Response fields

FieldMeaning
codeStatus code of the lookup. The sample response shows 0.
gift_idThe gift ID you sent in the request, returned as a string.
gift_nameThe name of the gift. The sample returns 鞭炮 for 10001, so names can be in Chinese.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.05 प्रति कॉलJSON

गाइड्स:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

प्रश्न

FAQ

TikTok Gift Name by ID API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/tiktok/web/gift-name-by-id पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

TikTok Gift Name by ID API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

TikTok Gift Name by ID API कौन-से parameters स्वीकार करती है?

आवश्यक: gift_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

TikTok Gift Name by ID API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक TikTok developer account या API key चाहिए?

नहीं। TikTok Gift Name by ID SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।