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

Devin · Social Media

How to Use Threads top post search in Devin

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 Devin

Copy an example into Devin, 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 searchDevin
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 Devin

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

Use Spiral's MCP server

  1. Add a custom MCP

    Open Customize › MCPs. Click + and choose New MCP. Fill in:

  2. Sign in to Spiral and approve

    In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

  3. Check it

    On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

Use the Spiral skill

  1. Send Devin 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: Devin 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 Devin?

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 Devin

Can Devin use Threads top post search?

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

How much does Threads top post search cost in Devin?

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

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

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

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

Does Devin wait while Threads top post search runs?

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

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

Paste this into Devin:

Set up Devin

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