TikTok Gift Names by IDs
https://api.sandbase.ai/v1/api/tiktok/web/gift-names-by-idsReturns gift names for a batch of TikTok gift identifiers. Provide a list of gift IDs to look up their corresponding gift labels.
- Price
- $0.04USD / call
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 0 optional
Try the model
Playground
[
{
"data": {
"found": 3,
"message": null,
"not_found": 0,
"original_count": 3,
"results": [
{
"code": 0,
"gift_id": "10001",
"gift_name": "鞭炮"
},
{
"code": 0,
"gift_id": "10002",
"gift_name": "红包"
},
{
"code": 0,
"gift_id": "10003",
"gift_name": "龙年幸运福袋"
}
],
"total": 3,
"truncated": false
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.04 / run
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- gift_ids
- array · required
Access
- Provider
- TikTok
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/tiktok/web/gift-names-by-ids
- Authentication
- Bearer API key
API README
TikTok Gift Names by IDs API
Look up gift names for multiple items using gift_ids. The endpoint resolves names for each specified gift identifier in batches.
Use cases
- Map raw TikTok gift identifiers to readable gift names.
- Enrich live stream gift event logs with display labels.
- Build a local catalog of TikTok virtual gifts.
Request
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/gift-names-by-ids" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"gift_ids": "<gift_ids>"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
gift_ids | array | Yes | Gift ID list, recommend 50/call for best value ($0.025), auto-process first 50 if more than 50 |
Notes
- Accepts a list of identifiers via
gift_idsand automatically processes the first 50 if more are provided.
Related APIs
- TikTok Video IDs from URLs (Batch): Resolves and extracts TikTok video IDs from a list of video URLs.
- TikTok User Sec User ID Extractor: Returns a list of sec_user_id identifiers corresponding to TikTok user profile URLs.
- TikTok Profile Unique IDs: Resolves a batch of TikTok user homepage links to retrieve their corresponding unique identifiers.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/tiktok/web/gift-names-by-ids" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"gift_ids": [
"10001",
"10002",
"10003"
]
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
TikTok Gift Names by IDsThis API TikTok | $0.04 per call | JSON | Jul 31, 2026 |
TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.07 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the TikTok Gift Names by IDs API?
Send a POST request to https://api.sandbase.ai/v1/api/tiktok/web/gift-names-by-ids with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the TikTok Gift Names by IDs API cost?
$0.04 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.
What parameters does the TikTok Gift Names by IDs API accept?
Required: gift_ids (array). The Parameters table and the Playground on this page list every field.
What does the TikTok Gift Names by IDs API return?
A JSON response returned in the same HTTP request (synchronous).
Do I need a TikTok developer account or API key?
No. TikTok Gift Names by IDs runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.
