How to Use Threads top post search in Muse Code
This endpoint previously searched popular Threads content, but TikHub now documents HTTP 400 responses and no returned data. Use its documentation to identify obsolete searches and migrate them to TikHub's search_posts endpoint.
Prompts to try with Threads top post search in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use Threads top post search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Threads top post search and tell me what changed since last week.
Check Threads top post search and summarize what you find in three bullet points.
Pull the newest data from Threads top post search and give me the result as a table.
Check Threads top post search every morning and tell me only when something changed.
How to set up Threads top post search in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Threads top post search
One request; the result comes back by polling or a webhook.
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/threads-web-search-top", "input": { "query": "bitcoin" } }'
Then paste one of the prompts above: Muse Code finds Threads top post search on Spiral, shows the price and runs it.
Threads top post search providers and prices
Spiral runs Threads top post search through TikHub. Open a card for today's price, with every fee included.
What can you do with Threads top post search in Muse Code?
Build a Threads account reference table for public brands and publishers using returned IDs, usernames, and follower counts. Your coding agent can also inspect existing post-search code for the retired endpoints that TikHub documents as returning HTTP 400.
Replace obsolete brand searches
Identify retired Nike post searches and move their keyword queries to the documented search_posts replacement.
Explain a stopped discussion report
Check whether a Threads report stopped collecting posts because its search now returns the documented HTTP 400.
Correct historical coverage claims
Review existing campaign reports against the older approximately 25-result limit before describing their samples as complete.
Prevent false zero-mention reports
Make existing brand reports flag the retired search's documented failure instead of interpreting it as zero matching posts.
More on Threads top post search and Muse Code
Overview
Threads top post search in other agents
Questions about Threads top post search in Muse Code
Can Muse Code use Threads top post search?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Threads top post search like any built-in tool.
How much does Threads top post search cost in Muse Code?
$0.0026 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 Threads top post search in Muse Code?
No. Spiral runs Threads top post search on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up Threads top post search in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while Threads top post search runs?
Threads top post search runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.
Does this include private Threads content?
TikHub describes its Threads coverage as publicly available content that anyone can see without logging in. That coverage boundary does not include private messages or restricted posts.
What can a Threads profile search tell me?
The documented profile results include usernames, full names, user IDs, profile pictures, verification status, and follower counts. These are useful for comparing public brand, publisher, and creator accounts.
Why does an older Threads post search return no data?
TikHub says Threads recent post search and Threads top post search are no longer maintained and respond with HTTP 400. Its documentation directs users to search_posts.
Does TikHub guarantee that Threads data is current and accurate?
TikHub's terms explicitly disclaim warranties for accuracy, completeness, reliability, and timeliness. They do not establish a guaranteed freshness interval for these search results.
Does public availability give me unrestricted reuse rights?
TikHub's terms require compliance with applicable laws and the originating platform's terms. Public visibility alone does not establish unrestricted reuse permission.
Start using Threads top post search in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


