[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [TikTok short share link](https://spiral.ai/integrations/muse-code/tiktok-short-share-link)

# How to Use TikTok short share link in Muse Code

Returns a shortened sharing link from a longer URL. Use it to prepare compact TikTok references for campaign briefs, newsletters, or event materials.

|  |  |
| --- | --- |
| Model | TikTok short share link |
| 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 short share link in Muse Code

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

## How to set up TikTok short share link in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 short share link**: 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-app-v3-fetch-share-short-link",
    "input": {
      "url": "https://www.tiktok.com/passport/web/logout/"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds TikTok short share link on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## TikTok short share link tools and prices

- [TikTok App · Get share short link](https://spiral.ai/tools/tikhub/tikhub/tiktok-app-v3-fetch-share-short-link) (TikHub): $0.0013 per request.

## What can you do with TikTok short share link in Muse Code?

Build a TikTok reference library containing public post records, sound examples, creator suggestions, and sharing assets. A coding agent can map retrieved responses into the project's data model and display the documented outputs.

### Campaign research brief

Find candidate sounds, collect videos using them, and inspect reference posts by ID or shared link. Add similar public creator suggestions, returned video regions where available, profile QR codes, and short links for the review meeting.

### Public creator showcase kit

Prepare an event program with public creator recommendations, selected post data, and sound examples for discussion. Retrieve posts from IDs or sharing links, check country-specific availability, and prepare profile QR codes and compact links for attendees.

### Agency campaign handoff

Package researched sounds, example videos, and suggested public collaborators for a client's next production cycle. Refresh reference posts from saved IDs or links, include regional retrieval results, and supply profile QR images and short links alongside the brief.

### TikTok reference library

Build a searchable collection of sound discoveries, sound-linked video samples, individual post records, and public creator suggestions. Accept post IDs or sharing links, retain returned regions where available, and attach profile QR codes and short links for browsing.

### Profile sharing materials

Prepare QR images and shortened links for a public brand's TikTok profile to place on store signage, presentation slides, or event programs.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## TikTok short share link in other agents

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

## More Muse Code guides

- [TikTok shopping creator information](https://spiral.ai/integrations/muse-code/tiktok-shopping-creator-information)
- [TikTok similar account recommendations](https://spiral.ai/integrations/muse-code/tiktok-similar-account-recommendations)
- [TikTok search topic videos](https://spiral.ai/integrations/muse-code/tiktok-search-topic-videos)
- [TikTok similar ads](https://spiral.ai/integrations/muse-code/tiktok-similar-ads)
- [TikTok search topic trends](https://spiral.ai/integrations/muse-code/tiktok-search-topic-trends)
- [TikTok simplified account posts](https://spiral.ai/integrations/muse-code/tiktok-simplified-account-posts)

## Questions about TikTok short share link in Muse Code

**Can Muse Code use TikTok short share link?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run TikTok short share link like any built-in tool.

**How much does TikTok short share link cost in Muse Code?**

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

**Do I need a TikHub account to use TikTok short share link in Muse Code?**

No. Spiral runs TikTok short share link 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 short share link in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while TikTok short share link runs?**

TikTok short share link runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Does TikHub provide private TikTok content?**

TikHub describes its service as access to publicly available social media data. That coverage boundary does not promise access to private TikTok posts.

**How fresh are TikHub's TikTok results?**

TikHub says its API returns fresh, real-time data and never serves cached data through repeat endpoint calls. This is the provider's stated freshness behavior, rather than a measured TikTok update delay.

**Are TikTok search results a complete inventory?**

A requested page size is not a completeness guarantee: TikHub says paginated endpoints frequently return fewer items than requested. Music search also has a documented ceiling of 20 results per request.

**Is TikTok content available in every country?**

No. TikHub explicitly notes that some TikTok videos are unavailable in certain countries or regions, so a regional retrieval can produce a different availability result.

**Does retrieving TikTok content grant permission to reuse it?**

TikHub's terms say retrieved content may carry third-party intellectual property rights. TikTok also says its licenses for music outside the Commercial Music Library do not cover commercial use in content.

