[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [TikTok gift name lookup](https://spiral.ai/integrations/opencode/tiktok-gift-name-lookup)

# How to Use TikTok gift name lookup in opencode

Returns the TikTok gift name associated with one gift ID. Use it to label an individual gift reference in a public broadcast report.

|  |  |
| --- | --- |
| Model | TikTok gift name lookup |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok gift name lookup in opencode

- Use TikTok gift name lookup to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok gift name lookup and tell me what changed since last week.
- Check TikTok gift name lookup and summarize what you find in three bullet points.
- Pull the newest data from TikTok gift name lookup and give me the result as a table.
- Check TikTok gift name lookup every morning and tell me only when something changed.

## How to set up TikTok gift name lookup in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run TikTok gift name lookup**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "tikhub",
    "model": "tikhub/tiktok-web-fetch-gift-name-by-id",
    "input": {
      "gift_id": "<gift_id>"
    }
  }'
```

Then paste one of the prompts above: opencode finds TikTok gift name lookup on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## TikTok gift name lookup tools and prices

- [TikTok Web · Get gift name by gift ID](https://spiral.ai/tools/tikhub/tikhub/tiktok-web-fetch-gift-name-by-id) (TikHub): $0.0013 per request.

## What can you do with TikTok gift name lookup in opencode?

Build an internal TikTok research view using discovery results, public LIVE status, messaging parameters, or gift reference data. A coding agent can work with actual responses to implement pagination, batch limits, and empty-room handling.

### Prepare a public LIVE production desk

Discover recommended broadcasts and check selected public brand rooms individually or in batches. Prepare their messaging parameters, inspect gift catalogs, and resolve gift references singly or in batches for the production team's internal view.

### Prepare a sponsor's broadcast review

Shortlist public creator broadcasts from recommendations, verify room availability, and inspect their gift references. Retrieve messaging parameters for a separately implemented observation workflow, then label gift IDs from that workflow's records.

### Validate an internal LIVE reporting application

Use recommended public rooms to exercise room selection, single and batch status checks, messaging parameter handling, gift catalog display, and gift name resolution. Include empty status responses and gift batches above 50 IDs in the application's checks.

### Maintain a public broadcast review queue

Refresh recommended public creator rooms, recheck queued rooms individually or in batches, and prepare messaging parameters for selected broadcasts. Keep gift catalogs and resolved gift names beside the queue so reviewers can interpret gift references in their own observation records.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## TikTok gift name lookup in other agents

- [Amp](https://spiral.ai/integrations/amp/tiktok-gift-name-lookup)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/tiktok-gift-name-lookup)
- [Claude](https://spiral.ai/integrations/claude-desktop/tiktok-gift-name-lookup)
- [Claude Code](https://spiral.ai/integrations/claude-code/tiktok-gift-name-lookup)
- [Cline](https://spiral.ai/integrations/cline/tiktok-gift-name-lookup)
- [Codex](https://spiral.ai/integrations/codex/tiktok-gift-name-lookup)
- [Cursor](https://spiral.ai/integrations/cursor/tiktok-gift-name-lookup)
- [Devin](https://spiral.ai/integrations/devin/tiktok-gift-name-lookup)
- [dots](https://spiral.ai/integrations/dots/tiktok-gift-name-lookup)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/tiktok-gift-name-lookup)
- [Gemini](https://spiral.ai/integrations/gemini/tiktok-gift-name-lookup)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/tiktok-gift-name-lookup)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/tiktok-gift-name-lookup)
- [goose](https://spiral.ai/integrations/goose/tiktok-gift-name-lookup)
- [Grok](https://spiral.ai/integrations/grok/tiktok-gift-name-lookup)
- [Grok Build](https://spiral.ai/integrations/grok-build/tiktok-gift-name-lookup)
- [Hermes](https://spiral.ai/integrations/hermes/tiktok-gift-name-lookup)
- [Instinct](https://spiral.ai/integrations/instinct/tiktok-gift-name-lookup)
- [Manus](https://spiral.ai/integrations/manus/tiktok-gift-name-lookup)
- [Muse](https://spiral.ai/integrations/muse/tiktok-gift-name-lookup)
- [Muse Code](https://spiral.ai/integrations/muse-code/tiktok-gift-name-lookup)
- [n8n](https://spiral.ai/integrations/n8n/tiktok-gift-name-lookup)
- [Notion](https://spiral.ai/integrations/notion/tiktok-gift-name-lookup)
- [OpenClaw](https://spiral.ai/integrations/openclaw/tiktok-gift-name-lookup)
- [Perplexity](https://spiral.ai/integrations/perplexity/tiktok-gift-name-lookup)
- [Raycast](https://spiral.ai/integrations/raycast/tiktok-gift-name-lookup)
- [VS Code](https://spiral.ai/integrations/vscode/tiktok-gift-name-lookup)
- [Windsurf](https://spiral.ai/integrations/windsurf/tiktok-gift-name-lookup)
- [Zapier](https://spiral.ai/integrations/zapier/tiktok-gift-name-lookup)

## More opencode guides

- [TikTok following search](https://spiral.ai/integrations/opencode/tiktok-following-search)
- [TikTok gift names in bulk](https://spiral.ai/integrations/opencode/tiktok-gift-names-in-bulk)
- [TikTok following list](https://spiral.ai/integrations/opencode/tiktok-following-list)
- [TikTok guest session](https://spiral.ai/integrations/opencode/tiktok-guest-session)
- [TikTok follower search](https://spiral.ai/integrations/opencode/tiktok-follower-search)
- [TikTok hashtag analytics](https://spiral.ai/integrations/opencode/tiktok-hashtag-analytics)

## Questions about TikTok gift name lookup in opencode

**Can opencode use TikTok gift name lookup?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok gift name lookup like any built-in tool.

**How much does TikTok gift name lookup cost in opencode?**

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a TikHub account to use TikTok gift name lookup in opencode?**

No. Spiral runs TikTok gift name lookup on its own TikHub account. You sign in to Spiral once and never paste a key.

**How long does it take to set up TikTok gift name lookup in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while TikTok gift name lookup runs?**

TikTok gift name lookup runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Can TikHub return private TikTok content?**

TikHub's privacy policy excludes private, restricted, and password-protected content from the platforms it supports.

**Is every TikTok response newly fetched?**

TikHub says it may cache and store publicly available data returned through its API. A response should therefore not be described as a guaranteed fresh read from TikTok.

**Does TikHub guarantee accurate, complete, or current TikTok data?**

No. TikHub's terms expressly disclaim a guarantee that delivered data is accurate, complete, or current.

**Does access include permission to reuse TikTok content?**

TikHub's terms require users to respect content creators' intellectual property rights. Retrieving content does not remove that requirement.

**Do TikTok discovery results represent all eligible content?**

TikTok describes its recommendation systems as selecting and ranking content from a larger eligible collection. Recommendation results are a selected view, so they should not be presented as a complete inventory.

