Spiral gives your agent every tool with one account. Browse the tools →

Cursor · Social Media

How to Use Threads top post search in Cursor

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 Cursor

Copy an example into Cursor, 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.

Threads top post searchCursor
Try asking
  • 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 Cursor

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. 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: Cursor 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.

TikHubSocial Media

What can you do with Threads top post search in Cursor?

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.

Questions about Threads top post search in Cursor

Can Cursor use Threads top post search?

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Threads top post search like any built-in tool.

How much does Threads top post search cost in Cursor?

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

Do I need a TikHub account to use Threads top post search in Cursor?

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 Cursor?

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

Does Cursor wait while Threads top post search runs?

Threads top post search runs in the background. Cursor 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.

Get started

Start using Threads top post search in Cursor

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Cursor:

Set up Cursor

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options